From 461394a4c4fc2aa869e6075def46612d808c514a Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Mon, 5 Oct 2026 07:41:39 +0000 Subject: [PATCH 1/3] chore: Upgrade JanePHP to 8.0, require PHP >= 8.4 and preload fetch mode * composer: jane-php/open-api-runtime & jane-php/open-api-2 ^8.0, symfony/http-client ^6.4|^7.0|^8.0; drop psr/*, php-http/*, nyholm/psr7 * .jane-openapi.php: default-fetch-mode => preload; generated/ rebuilt with JanePHP 8.0 (public typed model properties, no $fetch param, getFetchMode()/getTargetClass()) * src: HTTPlug plugins replaced by Symfony HttpClient decorators (SlackAuthentication + AuthenticationRegistry, SlackErrorHttpClient preserving SlackErrorResponse on {"ok": false} payloads); serve URL handled by Jane's ServerUrlHttpClient * ClientFactory::create() expects a Symfony Contracts HttpClientInterface; iterate()/filesUploadV2() reworked accordingly; guards for uninitialized typed properties * CI: test matrix on PHP 8.4/8.5 with prefer-lowest on 8.4 (deprecations helper disabled), setup-php for the check-spec job * docs: quick-start, usage & changelog (5.0.0) updated --- .github/workflows/ci.yml | 13 +- .jane-openapi.php | 1 + CHANGELOG.md | 9 + README.md | 12 +- composer.json | 23 +- docs/1-get-started.md | 14 +- docs/2-usage.md | 25 +- docs/3-troubleshoots.md | 2 +- docs/examples/retrieve-users.php | 2 +- generated/Client.php | 4286 +++++++---------- generated/Endpoint/AdminAppsApprove.php | 37 +- generated/Endpoint/AdminAppsApprovedList.php | 33 +- generated/Endpoint/AdminAppsRequestsList.php | 31 +- generated/Endpoint/AdminAppsRestrict.php | 37 +- .../Endpoint/AdminAppsRestrictedList.php | 33 +- .../Endpoint/AdminConversationsArchive.php | 35 +- .../AdminConversationsConvertToPrivate.php | 35 +- .../Endpoint/AdminConversationsCreate.php | 43 +- .../Endpoint/AdminConversationsDelete.php | 35 +- .../AdminConversationsDisconnectShared.php | 37 +- ...onsEkmListOriginalConnectedChannelInfo.php | 33 +- ...AdminConversationsGetConversationPrefs.php | 35 +- .../Endpoint/AdminConversationsGetTeams.php | 39 +- .../Endpoint/AdminConversationsInvite.php | 37 +- .../Endpoint/AdminConversationsRename.php | 37 +- ...minConversationsRestrictAccessAddGroup.php | 33 +- ...nConversationsRestrictAccessListGroups.php | 31 +- ...ConversationsRestrictAccessRemoveGroup.php | 33 +- .../Endpoint/AdminConversationsSearch.php | 45 +- ...AdminConversationsSetConversationPrefs.php | 37 +- .../Endpoint/AdminConversationsSetTeams.php | 41 +- .../Endpoint/AdminConversationsUnarchive.php | 35 +- generated/Endpoint/AdminEmojiAdd.php | 31 +- generated/Endpoint/AdminEmojiAddAlias.php | 31 +- generated/Endpoint/AdminEmojiList.php | 29 +- generated/Endpoint/AdminEmojiRemove.php | 29 +- generated/Endpoint/AdminEmojiRename.php | 31 +- .../Endpoint/AdminInviteRequestsApprove.php | 37 +- .../AdminInviteRequestsApprovedList.php | 37 +- .../AdminInviteRequestsDeniedList.php | 37 +- .../Endpoint/AdminInviteRequestsDeny.php | 37 +- .../Endpoint/AdminInviteRequestsList.php | 37 +- generated/Endpoint/AdminTeamsAdminsList.php | 33 +- generated/Endpoint/AdminTeamsCreate.php | 41 +- generated/Endpoint/AdminTeamsList.php | 35 +- generated/Endpoint/AdminTeamsOwnersList.php | 33 +- generated/Endpoint/AdminTeamsSettingsInfo.php | 35 +- .../AdminTeamsSettingsSetDefaultChannels.php | 31 +- .../AdminTeamsSettingsSetDescription.php | 37 +- .../AdminTeamsSettingsSetDiscoverability.php | 37 +- .../Endpoint/AdminTeamsSettingsSetIcon.php | 31 +- .../Endpoint/AdminTeamsSettingsSetName.php | 37 +- .../Endpoint/AdminUsergroupsAddChannels.php | 39 +- .../Endpoint/AdminUsergroupsAddTeams.php | 39 +- .../Endpoint/AdminUsergroupsListChannels.php | 39 +- .../AdminUsergroupsRemoveChannels.php | 37 +- generated/Endpoint/AdminUsersAssign.php | 43 +- generated/Endpoint/AdminUsersInvite.php | 51 +- generated/Endpoint/AdminUsersList.php | 39 +- generated/Endpoint/AdminUsersRemove.php | 37 +- .../Endpoint/AdminUsersSessionInvalidate.php | 37 +- generated/Endpoint/AdminUsersSessionReset.php | 39 +- generated/Endpoint/AdminUsersSetAdmin.php | 37 +- .../Endpoint/AdminUsersSetExpiration.php | 39 +- generated/Endpoint/AdminUsersSetOwner.php | 37 +- generated/Endpoint/AdminUsersSetRegular.php | 37 +- generated/Endpoint/ApiTest.php | 27 +- .../Endpoint/AppsEventAuthorizationsList.php | 39 +- generated/Endpoint/AppsPermissionsInfo.php | 25 +- generated/Endpoint/AppsPermissionsRequest.php | 31 +- .../Endpoint/AppsPermissionsResourcesList.php | 29 +- .../Endpoint/AppsPermissionsScopesList.php | 25 +- .../Endpoint/AppsPermissionsUsersList.php | 29 +- .../Endpoint/AppsPermissionsUsersRequest.php | 33 +- generated/Endpoint/AppsUninstall.php | 29 +- generated/Endpoint/AuthRevoke.php | 27 +- generated/Endpoint/AuthTest.php | 25 +- generated/Endpoint/BotsInfo.php | 27 +- generated/Endpoint/CallsAdd.php | 49 +- generated/Endpoint/CallsEnd.php | 37 +- generated/Endpoint/CallsInfo.php | 35 +- generated/Endpoint/CallsParticipantsAdd.php | 37 +- .../Endpoint/CallsParticipantsRemove.php | 37 +- generated/Endpoint/CallsUpdate.php | 41 +- generated/Endpoint/ChatDelete.php | 37 +- .../Endpoint/ChatDeleteScheduledMessage.php | 39 +- generated/Endpoint/ChatGetPermalink.php | 31 +- generated/Endpoint/ChatMeMessage.php | 35 +- generated/Endpoint/ChatPostEphemeral.php | 57 +- generated/Endpoint/ChatPostMessage.php | 65 +- generated/Endpoint/ChatScheduleMessage.php | 55 +- .../Endpoint/ChatScheduledMessagesList.php | 41 +- generated/Endpoint/ChatUnfurl.php | 45 +- generated/Endpoint/ChatUpdate.php | 49 +- generated/Endpoint/ConversationsArchive.php | 33 +- generated/Endpoint/ConversationsClose.php | 33 +- generated/Endpoint/ConversationsCreate.php | 35 +- generated/Endpoint/ConversationsHistory.php | 39 +- generated/Endpoint/ConversationsInfo.php | 31 +- generated/Endpoint/ConversationsInvite.php | 35 +- generated/Endpoint/ConversationsJoin.php | 33 +- generated/Endpoint/ConversationsKick.php | 35 +- generated/Endpoint/ConversationsLeave.php | 33 +- generated/Endpoint/ConversationsList.php | 35 +- generated/Endpoint/ConversationsMark.php | 35 +- generated/Endpoint/ConversationsMembers.php | 31 +- generated/Endpoint/ConversationsOpen.php | 37 +- generated/Endpoint/ConversationsRename.php | 35 +- generated/Endpoint/ConversationsReplies.php | 39 +- .../Endpoint/ConversationsSetPurpose.php | 35 +- generated/Endpoint/ConversationsSetTopic.php | 35 +- generated/Endpoint/ConversationsUnarchive.php | 33 +- generated/Endpoint/DialogOpen.php | 37 +- generated/Endpoint/DndEndDnd.php | 25 +- generated/Endpoint/DndEndSnooze.php | 25 +- generated/Endpoint/DndInfo.php | 27 +- generated/Endpoint/DndSetSnooze.php | 29 +- generated/Endpoint/DndTeamInfo.php | 27 +- generated/Endpoint/EmojiList.php | 25 +- generated/Endpoint/FilesCommentsDelete.php | 35 +- .../Endpoint/FilesCompleteUploadExternal.php | 45 +- generated/Endpoint/FilesDelete.php | 33 +- .../Endpoint/FilesGetUploadUrlExternal.php | 41 +- generated/Endpoint/FilesInfo.php | 35 +- generated/Endpoint/FilesList.php | 41 +- generated/Endpoint/FilesRemoteAdd.php | 37 +- generated/Endpoint/FilesRemoteInfo.php | 29 +- generated/Endpoint/FilesRemoteList.php | 35 +- generated/Endpoint/FilesRemoteRemove.php | 29 +- generated/Endpoint/FilesRemoteShare.php | 31 +- generated/Endpoint/FilesRemoteUpdate.php | 39 +- generated/Endpoint/FilesRevokePublicURL.php | 33 +- generated/Endpoint/FilesSharedPublicURL.php | 33 +- generated/Endpoint/FilesUpload.php | 45 +- generated/Endpoint/MigrationExchange.php | 33 +- generated/Endpoint/OauthAccess.php | 33 +- generated/Endpoint/OauthToken.php | 33 +- generated/Endpoint/OauthV2Access.php | 33 +- generated/Endpoint/PinsAdd.php | 35 +- generated/Endpoint/PinsList.php | 25 +- generated/Endpoint/PinsRemove.php | 37 +- generated/Endpoint/ReactionsAdd.php | 39 +- generated/Endpoint/ReactionsGet.php | 33 +- generated/Endpoint/ReactionsList.php | 37 +- generated/Endpoint/ReactionsRemove.php | 43 +- generated/Endpoint/RemindersAdd.php | 39 +- generated/Endpoint/RemindersComplete.php | 33 +- generated/Endpoint/RemindersDelete.php | 33 +- generated/Endpoint/RemindersInfo.php | 27 +- generated/Endpoint/RemindersList.php | 25 +- generated/Endpoint/RtmConnect.php | 29 +- generated/Endpoint/SearchMessages.php | 39 +- generated/Endpoint/StarsAdd.php | 39 +- generated/Endpoint/StarsList.php | 33 +- generated/Endpoint/StarsRemove.php | 39 +- generated/Endpoint/TeamAccessLogs.php | 31 +- generated/Endpoint/TeamBillableInfo.php | 27 +- generated/Endpoint/TeamInfo.php | 27 +- generated/Endpoint/TeamIntegrationLogs.php | 37 +- generated/Endpoint/TeamProfileGet.php | 27 +- generated/Endpoint/UsergroupsCreate.php | 43 +- generated/Endpoint/UsergroupsDisable.php | 37 +- generated/Endpoint/UsergroupsEnable.php | 37 +- generated/Endpoint/UsergroupsList.php | 33 +- generated/Endpoint/UsergroupsUpdate.php | 45 +- generated/Endpoint/UsergroupsUsersList.php | 33 +- generated/Endpoint/UsergroupsUsersUpdate.php | 39 +- generated/Endpoint/UsersConversations.php | 35 +- generated/Endpoint/UsersDeletePhoto.php | 25 +- generated/Endpoint/UsersGetPresence.php | 27 +- generated/Endpoint/UsersIdentity.php | 23 +- generated/Endpoint/UsersInfo.php | 29 +- generated/Endpoint/UsersList.php | 33 +- generated/Endpoint/UsersLookupByEmail.php | 27 +- generated/Endpoint/UsersProfileGet.php | 29 +- generated/Endpoint/UsersProfileSet.php | 39 +- generated/Endpoint/UsersSetActive.php | 25 +- generated/Endpoint/UsersSetPhoto.php | 33 +- generated/Endpoint/UsersSetPresence.php | 35 +- generated/Endpoint/ViewsOpen.php | 37 +- generated/Endpoint/ViewsPublish.php | 39 +- generated/Endpoint/ViewsPush.php | 37 +- generated/Endpoint/ViewsUpdate.php | 39 +- generated/Endpoint/WorkflowsStepCompleted.php | 37 +- generated/Endpoint/WorkflowsStepFailed.php | 37 +- generated/Endpoint/WorkflowsUpdateStep.php | 43 +- generated/Exception/ApiException.php | 18 + generated/Exception/BadResponseException.php | 22 + generated/Exception/ClientException.php | 18 + generated/Exception/ServerException.php | 18 + .../UnexpectedStatusCodeException.php | 33 + generated/Exception/WithResponseInterface.php | 19 + .../Model/AdminAppsApprovePostResponse200.php | 29 +- .../AdminAppsApprovePostResponsedefault.php | 29 +- .../AdminAppsApprovedListGetResponse200.php | 29 +- ...dminAppsApprovedListGetResponsedefault.php | 29 +- .../AdminAppsRequestsListGetResponse200.php | 29 +- ...dminAppsRequestsListGetResponsedefault.php | 29 +- .../AdminAppsRestrictPostResponse200.php | 29 +- .../AdminAppsRestrictPostResponsedefault.php | 29 +- .../AdminAppsRestrictedListGetResponse200.php | 29 +- ...inAppsRestrictedListGetResponsedefault.php | 29 +- ...minConversationsArchivePostResponse200.php | 27 +- ...onversationsArchivePostResponsedefault.php | 45 +- ...sationsConvertToPrivatePostResponse200.php | 27 +- ...onsConvertToPrivatePostResponsedefault.php | 45 +- ...dminConversationsCreatePostResponse200.php | 45 +- ...ConversationsCreatePostResponsedefault.php | 45 +- ...dminConversationsDeletePostResponse200.php | 27 +- ...ConversationsDeletePostResponsedefault.php | 45 +- ...sationsDisconnectSharedPostResponse200.php | 27 +- ...onsDisconnectSharedPostResponsedefault.php | 45 +- ...inalConnectedChannelInfoGetResponse200.php | 29 +- ...ConnectedChannelInfoGetResponsedefault.php | 29 +- ...ionsGetConversationPrefsGetResponse200.php | 45 +- ...etConversationPrefsGetResponse200Prefs.php | 45 +- ...ationPrefsGetResponse200PrefsCanThread.php | 51 +- ...tionPrefsGetResponse200PrefsWhoCanPost.php | 51 +- ...GetConversationPrefsGetResponsedefault.php | 45 +- ...minConversationsGetTeamsGetResponse200.php | 66 +- ...GetTeamsGetResponse200ResponseMetadata.php | 27 +- ...onversationsGetTeamsGetResponsedefault.php | 45 +- ...dminConversationsInvitePostResponse200.php | 27 +- ...ConversationsInvitePostResponsedefault.php | 47 +- ...dminConversationsRenamePostResponse200.php | 27 +- ...ConversationsRenamePostResponsedefault.php | 45 +- ...sRestrictAccessAddGroupPostResponse200.php | 29 +- ...trictAccessAddGroupPostResponsedefault.php | 29 +- ...RestrictAccessListGroupsGetResponse200.php | 29 +- ...rictAccessListGroupsGetResponsedefault.php | 29 +- ...strictAccessRemoveGroupPostResponse200.php | 29 +- ...ctAccessRemoveGroupPostResponsedefault.php | 29 +- ...AdminConversationsSearchGetResponse200.php | 48 +- ...nConversationsSearchGetResponsedefault.php | 45 +- ...onsSetConversationPrefsPostResponse200.php | 27 +- ...etConversationPrefsPostResponsedefault.php | 45 +- ...inConversationsSetTeamsPostResponse200.php | 29 +- ...nversationsSetTeamsPostResponsedefault.php | 29 +- ...nConversationsUnarchivePostResponse200.php | 27 +- ...versationsUnarchivePostResponsedefault.php | 45 +- .../AdminEmojiAddAliasPostResponse200.php | 29 +- .../AdminEmojiAddAliasPostResponsedefault.php | 29 +- .../Model/AdminEmojiAddPostResponse200.php | 29 +- .../AdminEmojiAddPostResponsedefault.php | 29 +- .../Model/AdminEmojiListGetResponse200.php | 29 +- .../AdminEmojiListGetResponsedefault.php | 29 +- .../Model/AdminEmojiRemovePostResponse200.php | 29 +- .../AdminEmojiRemovePostResponsedefault.php | 29 +- .../Model/AdminEmojiRenamePostResponse200.php | 29 +- .../AdminEmojiRenamePostResponsedefault.php | 29 +- ...inInviteRequestsApprovePostResponse200.php | 29 +- ...viteRequestsApprovePostResponsedefault.php | 29 +- ...viteRequestsApprovedListGetResponse200.php | 29 +- ...RequestsApprovedListGetResponsedefault.php | 29 +- ...InviteRequestsDeniedListGetResponse200.php | 29 +- ...teRequestsDeniedListGetResponsedefault.php | 29 +- ...AdminInviteRequestsDenyPostResponse200.php | 29 +- ...nInviteRequestsDenyPostResponsedefault.php | 29 +- .../AdminInviteRequestsListGetResponse200.php | 29 +- ...inInviteRequestsListGetResponsedefault.php | 29 +- .../AdminTeamsAdminsListGetResponse200.php | 29 +- ...AdminTeamsAdminsListGetResponsedefault.php | 29 +- .../Model/AdminTeamsCreatePostResponse200.php | 29 +- .../AdminTeamsCreatePostResponsedefault.php | 29 +- .../Model/AdminTeamsListGetResponse200.php | 29 +- .../AdminTeamsListGetResponsedefault.php | 29 +- .../AdminTeamsOwnersListGetResponse200.php | 29 +- ...AdminTeamsOwnersListGetResponsedefault.php | 29 +- .../AdminTeamsSettingsInfoGetResponse200.php | 29 +- ...minTeamsSettingsInfoGetResponsedefault.php | 29 +- ...tingsSetDefaultChannelsPostResponse200.php | 29 +- ...sSetDefaultChannelsPostResponsedefault.php | 29 +- ...sSettingsSetDescriptionPostResponse200.php | 29 +- ...tingsSetDescriptionPostResponsedefault.php | 29 +- ...tingsSetDiscoverabilityPostResponse200.php | 29 +- ...sSetDiscoverabilityPostResponsedefault.php | 29 +- ...minTeamsSettingsSetIconPostResponse200.php | 29 +- ...eamsSettingsSetIconPostResponsedefault.php | 29 +- ...minTeamsSettingsSetNamePostResponse200.php | 29 +- ...eamsSettingsSetNamePostResponsedefault.php | 29 +- ...inUsergroupsAddChannelsPostResponse200.php | 29 +- ...ergroupsAddChannelsPostResponsedefault.php | 29 +- ...AdminUsergroupsAddTeamsPostResponse200.php | 29 +- ...nUsergroupsAddTeamsPostResponsedefault.php | 29 +- ...inUsergroupsListChannelsGetResponse200.php | 29 +- ...ergroupsListChannelsGetResponsedefault.php | 29 +- ...sergroupsRemoveChannelsPostResponse200.php | 29 +- ...roupsRemoveChannelsPostResponsedefault.php | 29 +- .../Model/AdminUsersAssignPostResponse200.php | 29 +- .../AdminUsersAssignPostResponsedefault.php | 29 +- .../Model/AdminUsersInvitePostResponse200.php | 29 +- .../AdminUsersInvitePostResponsedefault.php | 29 +- .../Model/AdminUsersListGetResponse200.php | 29 +- .../AdminUsersListGetResponsedefault.php | 29 +- .../Model/AdminUsersRemovePostResponse200.php | 29 +- .../AdminUsersRemovePostResponsedefault.php | 29 +- ...nUsersSessionInvalidatePostResponse200.php | 29 +- ...rsSessionInvalidatePostResponsedefault.php | 29 +- .../AdminUsersSessionResetPostResponse200.php | 29 +- ...inUsersSessionResetPostResponsedefault.php | 29 +- .../AdminUsersSetAdminPostResponse200.php | 29 +- .../AdminUsersSetAdminPostResponsedefault.php | 29 +- ...AdminUsersSetExpirationPostResponse200.php | 29 +- ...nUsersSetExpirationPostResponsedefault.php | 29 +- .../AdminUsersSetOwnerPostResponse200.php | 29 +- .../AdminUsersSetOwnerPostResponsedefault.php | 29 +- .../AdminUsersSetRegularPostResponse200.php | 29 +- ...dminUsersSetRegularPostResponsedefault.php | 29 +- generated/Model/ApiTestGetResponse200.php | 44 +- generated/Model/ApiTestGetResponsedefault.php | 62 +- ...sEventAuthorizationsListGetResponse200.php | 29 +- ...ntAuthorizationsListGetResponsedefault.php | 29 +- .../AppsPermissionsInfoGetResponse200.php | 45 +- .../AppsPermissionsInfoGetResponse200Info.php | 117 +- ...rmissionsInfoGetResponse200InfoAppHome.php | 48 +- ...rmissionsInfoGetResponse200InfoChannel.php | 48 +- ...PermissionsInfoGetResponse200InfoGroup.php | 48 +- ...ppsPermissionsInfoGetResponse200InfoIm.php | 48 +- ...sPermissionsInfoGetResponse200InfoMpim.php | 48 +- ...sPermissionsInfoGetResponse200InfoTeam.php | 48 +- .../AppsPermissionsInfoGetResponsedefault.php | 68 +- .../AppsPermissionsRequestGetResponse200.php | 27 +- ...psPermissionsRequestGetResponsedefault.php | 68 +- ...PermissionsResourcesListGetResponse200.php | 68 +- ...sourcesListGetResponse200ResourcesItem.php | 45 +- ...rcesListGetResponse200ResponseMetadata.php | 27 +- ...issionsResourcesListGetResponsedefault.php | 68 +- ...ppsPermissionsScopesListGetResponse200.php | 47 +- ...missionsScopesListGetResponse200Scopes.php | 158 +- ...ermissionsScopesListGetResponsedefault.php | 68 +- ...AppsPermissionsUsersListGetResponse200.php | 29 +- ...PermissionsUsersListGetResponsedefault.php | 29 +- ...sPermissionsUsersRequestGetResponse200.php | 29 +- ...missionsUsersRequestGetResponsedefault.php | 29 +- .../Model/AppsUninstallGetResponse200.php | 27 +- .../Model/AppsUninstallGetResponsedefault.php | 68 +- generated/Model/AuthRevokeGetResponse200.php | 45 +- .../Model/AuthRevokeGetResponsedefault.php | 68 +- generated/Model/AuthTestGetResponse200.php | 153 +- .../Model/AuthTestGetResponsedefault.php | 68 +- generated/Model/BlocksItem.php | 29 +- generated/Model/BotsInfoGetResponse200.php | 45 +- generated/Model/BotsInfoGetResponse200Bot.php | 135 +- .../Model/BotsInfoGetResponse200BotIcons.php | 63 +- .../Model/BotsInfoGetResponsedefault.php | 68 +- generated/Model/CallsAddPostResponse200.php | 29 +- .../Model/CallsAddPostResponsedefault.php | 29 +- generated/Model/CallsEndPostResponse200.php | 29 +- .../Model/CallsEndPostResponsedefault.php | 29 +- generated/Model/CallsInfoGetResponse200.php | 29 +- .../Model/CallsInfoGetResponsedefault.php | 29 +- .../CallsParticipantsAddPostResponse200.php | 29 +- ...allsParticipantsAddPostResponsedefault.php | 29 +- ...CallsParticipantsRemovePostResponse200.php | 29 +- ...sParticipantsRemovePostResponsedefault.php | 29 +- .../Model/CallsUpdatePostResponse200.php | 29 +- .../Model/CallsUpdatePostResponsedefault.php | 29 +- generated/Model/ChatDeletePostResponse200.php | 63 +- .../Model/ChatDeletePostResponsedefault.php | 68 +- ...tDeleteScheduledMessagePostResponse200.php | 27 +- ...eteScheduledMessagePostResponsedefault.php | 68 +- .../Model/ChatGetPermalinkGetResponse200.php | 63 +- .../ChatGetPermalinkGetResponsedefault.php | 68 +- .../Model/ChatMeMessagePostResponse200.php | 63 +- .../ChatMeMessagePostResponsedefault.php | 68 +- .../ChatPostEphemeralPostResponse200.php | 45 +- .../ChatPostEphemeralPostResponsedefault.php | 68 +- .../Model/ChatPostMessagePostResponse200.php | 81 +- .../ChatPostMessagePostResponsedefault.php | 68 +- .../ChatScheduleMessagePostResponse200.php | 102 +- ...tScheduleMessagePostResponse200Message.php | 174 +- ...ePostResponse200MessageAttachmentsItem.php | 63 +- ...ChatScheduleMessagePostResponsedefault.php | 68 +- ...hatScheduledMessagesListGetResponse200.php | 66 +- ...agesListGetResponse200ResponseMetadata.php | 27 +- ...istGetResponse200ScheduledMessagesItem.php | 102 +- ...cheduledMessagesListGetResponsedefault.php | 68 +- generated/Model/ChatUnfurlPostResponse200.php | 27 +- .../Model/ChatUnfurlPostResponsedefault.php | 68 +- generated/Model/ChatUpdatePostResponse200.php | 99 +- .../ChatUpdatePostResponse200Message.php | 63 +- .../Model/ChatUpdatePostResponsedefault.php | 68 +- .../ConversationsArchivePostResponse200.php | 27 +- ...onversationsArchivePostResponsedefault.php | 104 +- .../ConversationsClosePostResponse200.php | 63 +- .../ConversationsClosePostResponsedefault.php | 104 +- .../ConversationsCreatePostResponse200.php | 45 +- ...ConversationsCreatePostResponsedefault.php | 122 +- .../ConversationsHistoryGetResponse200.php | 135 +- ...sHistoryGetResponse200ResponseMetadata.php | 27 +- ...ConversationsHistoryGetResponsedefault.php | 104 +- .../Model/ConversationsInfoGetResponse200.php | 45 +- .../ConversationsInfoGetResponsedefault.php | 104 +- .../ConversationsInvitePostResponse200.php | 45 +- ...ConversationsInvitePostResponsedefault.php | 125 +- ...onsInvitePostResponsedefaultErrorsItem.php | 63 +- .../ConversationsJoinPostResponse200.php | 81 +- ...onsJoinPostResponse200ResponseMetadata.php | 30 +- .../ConversationsJoinPostResponsedefault.php | 104 +- .../ConversationsKickPostResponse200.php | 27 +- .../ConversationsKickPostResponsedefault.php | 104 +- .../ConversationsLeavePostResponse200.php | 45 +- .../ConversationsLeavePostResponsedefault.php | 104 +- .../Model/ConversationsListGetResponse200.php | 66 +- ...ionsListGetResponse200ResponseMetadata.php | 27 +- .../ConversationsListGetResponsedefault.php | 104 +- .../ConversationsMarkPostResponse200.php | 27 +- .../ConversationsMarkPostResponsedefault.php | 104 +- .../ConversationsMembersGetResponse200.php | 66 +- ...sMembersGetResponse200ResponseMetadata.php | 27 +- ...ConversationsMembersGetResponsedefault.php | 68 +- .../ConversationsOpenPostResponse200.php | 78 +- ...sationsOpenPostResponse200ChannelItem1.php | 171 +- .../ConversationsOpenPostResponsedefault.php | 68 +- .../ConversationsRenamePostResponse200.php | 45 +- ...ConversationsRenamePostResponsedefault.php | 104 +- .../ConversationsRepliesGetResponse200.php | 84 +- ...RepliesGetResponse200MessagesItemItem0.php | 300 +- ...RepliesGetResponse200MessagesItemItem1.php | 207 +- ...sRepliesGetResponse200ResponseMetadata.php | 27 +- ...ConversationsRepliesGetResponsedefault.php | 104 +- ...ConversationsSetPurposePostResponse200.php | 45 +- ...ersationsSetPurposePostResponsedefault.php | 104 +- .../ConversationsSetTopicPostResponse200.php | 45 +- ...nversationsSetTopicPostResponsedefault.php | 104 +- .../ConversationsUnarchivePostResponse200.php | 27 +- ...versationsUnarchivePostResponsedefault.php | 104 +- generated/Model/DialogOpenGetResponse200.php | 27 +- .../Model/DialogOpenGetResponsedefault.php | 68 +- generated/Model/DndEndDndPostResponse200.php | 27 +- .../Model/DndEndDndPostResponsedefault.php | 68 +- .../Model/DndEndSnoozePostResponse200.php | 99 +- .../Model/DndEndSnoozePostResponsedefault.php | 68 +- generated/Model/DndInfoGetResponse200.php | 135 +- generated/Model/DndInfoGetResponsedefault.php | 68 +- .../Model/DndSetSnoozePostResponse200.php | 81 +- .../Model/DndSetSnoozePostResponsedefault.php | 68 +- generated/Model/DndTeamInfoGetResponse200.php | 29 +- .../Model/DndTeamInfoGetResponsedefault.php | 29 +- generated/Model/EmojiListGetResponse200.php | 29 +- .../Model/EmojiListGetResponsedefault.php | 29 +- .../FilesCommentsDeletePostResponse200.php | 27 +- ...FilesCommentsDeletePostResponsedefault.php | 68 +- ...sCompleteUploadExternalPostResponse200.php | 48 +- ...UploadExternalPostResponse200FilesItem.php | 45 +- ...pleteUploadExternalPostResponsedefault.php | 68 +- .../Model/FilesDeletePostResponse200.php | 27 +- .../Model/FilesDeletePostResponsedefault.php | 68 +- ...lesGetUploadURLExternalPostResponse200.php | 68 +- ...etUploadURLExternalPostResponsedefault.php | 68 +- generated/Model/FilesInfoGetResponse200.php | 135 +- .../Model/FilesInfoGetResponsedefault.php | 68 +- generated/Model/FilesListGetResponse200.php | 66 +- .../Model/FilesListGetResponsedefault.php | 68 +- .../Model/FilesRemoteAddPostResponse200.php | 29 +- .../FilesRemoteAddPostResponsedefault.php | 29 +- .../Model/FilesRemoteInfoGetResponse200.php | 29 +- .../FilesRemoteInfoGetResponsedefault.php | 29 +- .../Model/FilesRemoteListGetResponse200.php | 29 +- .../FilesRemoteListGetResponsedefault.php | 29 +- .../FilesRemoteRemovePostResponse200.php | 29 +- .../FilesRemoteRemovePostResponsedefault.php | 29 +- .../Model/FilesRemoteShareGetResponse200.php | 29 +- .../FilesRemoteShareGetResponsedefault.php | 29 +- .../FilesRemoteUpdatePostResponse200.php | 29 +- .../FilesRemoteUpdatePostResponsedefault.php | 29 +- .../FilesRevokePublicURLPostResponse200.php | 45 +- ...ilesRevokePublicURLPostResponsedefault.php | 68 +- .../FilesSharedPublicURLPostResponse200.php | 45 +- ...ilesSharedPublicURLPostResponsedefault.php | 68 +- .../Model/FilesUploadPostResponse200.php | 45 +- .../Model/FilesUploadPostResponsedefault.php | 68 +- .../Model/MigrationExchangeGetResponse200.php | 109 +- .../MigrationExchangeGetResponsedefault.php | 68 +- generated/Model/OauthAccessGetResponse200.php | 29 +- .../Model/OauthAccessGetResponsedefault.php | 29 +- generated/Model/OauthTokenGetResponse200.php | 29 +- .../Model/OauthTokenGetResponsedefault.php | 29 +- .../Model/OauthV2AccessGetResponse200.php | 29 +- .../Model/OauthV2AccessGetResponsedefault.php | 29 +- generated/Model/ObjsBotProfile.php | 135 +- generated/Model/ObjsBotProfileIcons.php | 63 +- generated/Model/ObjsChannel.php | 591 +-- generated/Model/ObjsChannelPurpose.php | 63 +- generated/Model/ObjsChannelTopic.php | 63 +- generated/Model/ObjsComment.php | 213 +- generated/Model/ObjsConversation.php | 1053 +--- .../Model/ObjsConversationDisplayCounts.php | 45 +- generated/Model/ObjsConversationPurpose.php | 63 +- .../Model/ObjsConversationSharesItem.php | 135 +- generated/Model/ObjsConversationTopic.php | 63 +- generated/Model/ObjsEnterpriseUser.php | 120 +- generated/Model/ObjsExternalOrgMigrations.php | 48 +- .../ObjsExternalOrgMigrationsCurrentItem.php | 45 +- generated/Model/ObjsFile.php | 1338 +---- generated/Model/ObjsFileShares.php | 39 +- generated/Model/ObjsIcon.php | 153 +- generated/Model/ObjsMessage.php | 784 +-- .../Model/ObjsMessageAttachmentsItem.php | 398 +- .../ObjsMessageAttachmentsItemActionsItem.php | 117 +- .../ObjsMessageAttachmentsItemFieldsItem.php | 63 +- generated/Model/ObjsMessageIcons.php | 45 +- generated/Model/ObjsMetadata.php | 42 +- generated/Model/ObjsPaging.php | 117 +- generated/Model/ObjsPrimaryOwner.php | 45 +- generated/Model/ObjsReaction.php | 68 +- generated/Model/ObjsReminder.php | 135 +- generated/Model/ObjsResources.php | 69 +- generated/Model/ObjsResponseMetadata.php | 69 +- generated/Model/ObjsSubteam.php | 384 +- generated/Model/ObjsSubteamPrefs.php | 51 +- generated/Model/ObjsTeam.php | 531 +- generated/Model/ObjsTeamProfileField.php | 174 +- .../Model/ObjsTeamProfileFieldOption.php | 81 +- generated/Model/ObjsTeamSsoProvider.php | 63 +- generated/Model/ObjsUser.php | 554 +-- generated/Model/ObjsUserProfile.php | 804 +--- generated/Model/ObjsUserProfileShort.php | 207 +- generated/Model/ObjsUserTeamProfile.php | 30 +- generated/Model/PinsAddPostResponse200.php | 27 +- .../Model/PinsAddPostResponsedefault.php | 68 +- .../Model/PinsListGetResponse200Item0.php | 48 +- .../PinsListGetResponse200Item0ItemsItem0.php | 81 +- .../PinsListGetResponse200Item0ItemsItem1.php | 99 +- .../Model/PinsListGetResponse200Item1.php | 45 +- .../Model/PinsListGetResponsedefault.php | 68 +- generated/Model/PinsRemovePostResponse200.php | 27 +- .../Model/PinsRemovePostResponsedefault.php | 68 +- .../Model/ReactionsAddPostResponse200.php | 27 +- .../Model/ReactionsAddPostResponsedefault.php | 68 +- .../Model/ReactionsGetGetResponsedefault.php | 68 +- .../Model/ReactionsListGetResponse200.php | 84 +- ...ctionsListGetResponse200ItemsItemItem0.php | 63 +- ...ctionsListGetResponse200ItemsItemItem1.php | 45 +- ...ctionsListGetResponse200ItemsItemItem2.php | 63 +- .../Model/ReactionsListGetResponsedefault.php | 68 +- .../Model/ReactionsRemovePostResponse200.php | 27 +- .../ReactionsRemovePostResponsedefault.php | 68 +- .../Model/RemindersAddPostResponse200.php | 45 +- .../Model/RemindersAddPostResponsedefault.php | 68 +- .../RemindersCompletePostResponse200.php | 27 +- .../RemindersCompletePostResponsedefault.php | 68 +- .../Model/RemindersDeletePostResponse200.php | 27 +- .../RemindersDeletePostResponsedefault.php | 68 +- .../Model/RemindersInfoGetResponse200.php | 45 +- .../Model/RemindersInfoGetResponsedefault.php | 68 +- .../Model/RemindersListGetResponse200.php | 48 +- .../Model/RemindersListGetResponsedefault.php | 68 +- generated/Model/RtmConnectGetResponse200.php | 81 +- .../Model/RtmConnectGetResponse200Self.php | 45 +- .../Model/RtmConnectGetResponse200Team.php | 63 +- .../Model/RtmConnectGetResponsedefault.php | 68 +- .../Model/SearchMessagesGetResponse200.php | 29 +- .../SearchMessagesGetResponsedefault.php | 29 +- generated/Model/StarsAddPostResponse200.php | 27 +- .../Model/StarsAddPostResponsedefault.php | 68 +- generated/Model/StarsListGetResponse200.php | 66 +- .../StarsListGetResponse200ItemsItemItem0.php | 81 +- .../StarsListGetResponse200ItemsItemItem1.php | 63 +- .../StarsListGetResponse200ItemsItemItem2.php | 81 +- .../StarsListGetResponse200ItemsItemItem3.php | 63 +- .../StarsListGetResponse200ItemsItemItem4.php | 63 +- .../StarsListGetResponse200ItemsItemItem5.php | 63 +- .../Model/StarsListGetResponsedefault.php | 68 +- .../Model/StarsRemovePostResponse200.php | 27 +- .../Model/StarsRemovePostResponsedefault.php | 68 +- .../Model/TeamAccessLogsGetResponse200.php | 66 +- ...TeamAccessLogsGetResponse200LoginsItem.php | 189 +- .../TeamAccessLogsGetResponsedefault.php | 68 +- .../Model/TeamBillableInfoGetResponse200.php | 29 +- .../TeamBillableInfoGetResponsedefault.php | 29 +- generated/Model/TeamInfoGetResponse200.php | 45 +- .../Model/TeamInfoGetResponsedefault.php | 68 +- .../TeamIntegrationLogsGetResponse200.php | 66 +- ...mIntegrationLogsGetResponse200LogsItem.php | 207 +- .../TeamIntegrationLogsGetResponsedefault.php | 68 +- .../Model/TeamProfileGetGetResponse200.php | 45 +- .../TeamProfileGetGetResponse200Profile.php | 30 +- .../TeamProfileGetGetResponsedefault.php | 68 +- .../Model/UsergroupsCreatePostResponse200.php | 45 +- .../UsergroupsCreatePostResponsedefault.php | 68 +- .../UsergroupsDisablePostResponse200.php | 45 +- .../UsergroupsDisablePostResponsedefault.php | 68 +- .../Model/UsergroupsEnablePostResponse200.php | 45 +- .../UsergroupsEnablePostResponsedefault.php | 68 +- .../Model/UsergroupsListGetResponse200.php | 48 +- .../UsergroupsListGetResponsedefault.php | 68 +- .../Model/UsergroupsUpdatePostResponse200.php | 45 +- .../UsergroupsUpdatePostResponsedefault.php | 68 +- .../UsergroupsUsersListGetResponse200.php | 48 +- .../UsergroupsUsersListGetResponsedefault.php | 68 +- .../UsergroupsUsersUpdatePostResponse200.php | 45 +- ...ergroupsUsersUpdatePostResponsedefault.php | 68 +- .../UsersConversationsGetResponse200.php | 68 +- ...rsationsGetResponse200ResponseMetadata.php | 27 +- .../UsersConversationsGetResponsedefault.php | 68 +- .../Model/UsersDeletePhotoPostResponse200.php | 27 +- .../UsersDeletePhotoPostResponsedefault.php | 68 +- .../Model/UsersGetPresenceGetResponse200.php | 137 +- .../UsersGetPresenceGetResponsedefault.php | 47 +- .../UsersIdentityGetResponse200Item0.php | 63 +- .../UsersIdentityGetResponse200Item0Team.php | 27 +- .../UsersIdentityGetResponse200Item0User.php | 45 +- .../UsersIdentityGetResponse200Item1.php | 63 +- .../UsersIdentityGetResponse200Item1Team.php | 27 +- .../UsersIdentityGetResponse200Item1User.php | 63 +- .../UsersIdentityGetResponse200Item2.php | 63 +- .../UsersIdentityGetResponse200Item2Team.php | 27 +- .../UsersIdentityGetResponse200Item2User.php | 153 +- .../UsersIdentityGetResponse200Item3.php | 63 +- .../UsersIdentityGetResponse200Item3Team.php | 207 +- .../UsersIdentityGetResponse200Item3User.php | 45 +- .../Model/UsersIdentityGetResponsedefault.php | 68 +- generated/Model/UsersInfoGetResponse200.php | 52 +- .../Model/UsersInfoGetResponsedefault.php | 63 +- generated/Model/UsersListGetResponse200.php | 84 +- .../Model/UsersListGetResponsedefault.php | 68 +- .../UsersLookupByEmailGetResponse200.php | 52 +- .../UsersLookupByEmailGetResponsedefault.php | 68 +- .../Model/UsersProfileGetGetResponse200.php | 45 +- .../UsersProfileGetGetResponsedefault.php | 68 +- .../Model/UsersProfileSetPostResponse200.php | 81 +- .../UsersProfileSetPostResponsedefault.php | 68 +- .../Model/UsersSetActivePostResponse200.php | 27 +- .../UsersSetActivePostResponsedefault.php | 68 +- .../Model/UsersSetPhotoPostResponse200.php | 45 +- .../UsersSetPhotoPostResponse200Profile.php | 171 +- .../UsersSetPhotoPostResponsedefault.php | 137 +- .../Model/UsersSetPresencePostResponse200.php | 27 +- .../UsersSetPresencePostResponsedefault.php | 68 +- generated/Model/ViewsOpenPostResponse200.php | 29 +- .../Model/ViewsOpenPostResponsedefault.php | 29 +- .../Model/ViewsPublishPostResponse200.php | 29 +- .../Model/ViewsPublishPostResponsedefault.php | 29 +- generated/Model/ViewsPushPostResponse200.php | 29 +- .../Model/ViewsPushPostResponsedefault.php | 29 +- .../Model/ViewsUpdatePostResponse200.php | 29 +- .../Model/ViewsUpdatePostResponsedefault.php | 29 +- .../WorkflowsStepCompletedPostResponse200.php | 29 +- ...kflowsStepCompletedPostResponsedefault.php | 29 +- .../WorkflowsStepFailedPostResponse200.php | 29 +- ...WorkflowsStepFailedPostResponsedefault.php | 29 +- .../WorkflowsUpdateStepPostResponse200.php | 29 +- ...WorkflowsUpdateStepPostResponsedefault.php | 29 +- ...inAppsApprovePostResponse200Normalizer.php | 8 +- ...psApprovePostResponsedefaultNormalizer.php | 8 +- ...psApprovedListGetResponse200Normalizer.php | 8 +- ...provedListGetResponsedefaultNormalizer.php | 8 +- ...psRequestsListGetResponse200Normalizer.php | 8 +- ...questsListGetResponsedefaultNormalizer.php | 8 +- ...nAppsRestrictPostResponse200Normalizer.php | 8 +- ...sRestrictPostResponsedefaultNormalizer.php | 8 +- ...RestrictedListGetResponse200Normalizer.php | 8 +- ...rictedListGetResponsedefaultNormalizer.php | 8 +- ...ationsArchivePostResponse200Normalizer.php | 8 +- ...nsArchivePostResponsedefaultNormalizer.php | 16 +- ...vertToPrivatePostResponse200Normalizer.php | 8 +- ...ToPrivatePostResponsedefaultNormalizer.php | 16 +- ...sationsCreatePostResponse200Normalizer.php | 18 +- ...onsCreatePostResponsedefaultNormalizer.php | 16 +- ...sationsDeletePostResponse200Normalizer.php | 8 +- ...onsDeletePostResponsedefaultNormalizer.php | 16 +- ...connectSharedPostResponse200Normalizer.php | 8 +- ...ectSharedPostResponsedefaultNormalizer.php | 16 +- ...tedChannelInfoGetResponse200Normalizer.php | 8 +- ...hannelInfoGetResponsedefaultNormalizer.php | 8 +- ...versationPrefsGetResponse200Normalizer.php | 19 +- ...GetResponse200PrefsCanThreadNormalizer.php | 20 +- ...tionPrefsGetResponse200PrefsNormalizer.php | 22 +- ...etResponse200PrefsWhoCanPostNormalizer.php | 20 +- ...ationPrefsGetResponsedefaultNormalizer.php | 16 +- ...ationsGetTeamsGetResponse200Normalizer.php | 27 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...nsGetTeamsGetResponsedefaultNormalizer.php | 16 +- ...sationsInvitePostResponse200Normalizer.php | 8 +- ...onsInvitePostResponsedefaultNormalizer.php | 16 +- ...sationsRenamePostResponse200Normalizer.php | 8 +- ...onsRenamePostResponsedefaultNormalizer.php | 16 +- ...ccessAddGroupPostResponse200Normalizer.php | 8 +- ...sAddGroupPostResponsedefaultNormalizer.php | 8 +- ...cessListGroupsGetResponse200Normalizer.php | 8 +- ...ListGroupsGetResponsedefaultNormalizer.php | 8 +- ...ssRemoveGroupPostResponse200Normalizer.php | 8 +- ...moveGroupPostResponsedefaultNormalizer.php | 8 +- ...rsationsSearchGetResponse200Normalizer.php | 19 +- ...ionsSearchGetResponsedefaultNormalizer.php | 16 +- ...ersationPrefsPostResponse200Normalizer.php | 8 +- ...tionPrefsPostResponsedefaultNormalizer.php | 16 +- ...tionsSetTeamsPostResponse200Normalizer.php | 8 +- ...sSetTeamsPostResponsedefaultNormalizer.php | 8 +- ...ionsUnarchivePostResponse200Normalizer.php | 8 +- ...UnarchivePostResponsedefaultNormalizer.php | 16 +- ...EmojiAddAliasPostResponse200Normalizer.php | 8 +- ...iAddAliasPostResponsedefaultNormalizer.php | 8 +- ...AdminEmojiAddPostResponse200Normalizer.php | 8 +- ...nEmojiAddPostResponsedefaultNormalizer.php | 8 +- ...AdminEmojiListGetResponse200Normalizer.php | 8 +- ...nEmojiListGetResponsedefaultNormalizer.php | 8 +- ...inEmojiRemovePostResponse200Normalizer.php | 8 +- ...ojiRemovePostResponsedefaultNormalizer.php | 8 +- ...inEmojiRenamePostResponse200Normalizer.php | 8 +- ...ojiRenamePostResponsedefaultNormalizer.php | 8 +- ...questsApprovePostResponse200Normalizer.php | 8 +- ...tsApprovePostResponsedefaultNormalizer.php | 8 +- ...tsApprovedListGetResponse200Normalizer.php | 8 +- ...provedListGetResponsedefaultNormalizer.php | 8 +- ...estsDeniedListGetResponse200Normalizer.php | 8 +- ...DeniedListGetResponsedefaultNormalizer.php | 8 +- ...eRequestsDenyPostResponse200Normalizer.php | 8 +- ...uestsDenyPostResponsedefaultNormalizer.php | 8 +- ...teRequestsListGetResponse200Normalizer.php | 8 +- ...questsListGetResponsedefaultNormalizer.php | 8 +- ...eamsAdminsListGetResponse200Normalizer.php | 8 +- ...AdminsListGetResponsedefaultNormalizer.php | 8 +- ...inTeamsCreatePostResponse200Normalizer.php | 8 +- ...amsCreatePostResponsedefaultNormalizer.php | 8 +- ...AdminTeamsListGetResponse200Normalizer.php | 8 +- ...nTeamsListGetResponsedefaultNormalizer.php | 8 +- ...eamsOwnersListGetResponse200Normalizer.php | 8 +- ...OwnersListGetResponsedefaultNormalizer.php | 8 +- ...msSettingsInfoGetResponse200Normalizer.php | 8 +- ...ttingsInfoGetResponsedefaultNormalizer.php | 8 +- ...faultChannelsPostResponse200Normalizer.php | 8 +- ...tChannelsPostResponsedefaultNormalizer.php | 8 +- ...etDescriptionPostResponse200Normalizer.php | 8 +- ...scriptionPostResponsedefaultNormalizer.php | 8 +- ...scoverabilityPostResponse200Normalizer.php | 8 +- ...erabilityPostResponsedefaultNormalizer.php | 8 +- ...ttingsSetIconPostResponse200Normalizer.php | 8 +- ...gsSetIconPostResponsedefaultNormalizer.php | 8 +- ...ttingsSetNamePostResponse200Normalizer.php | 8 +- ...gsSetNamePostResponsedefaultNormalizer.php | 8 +- ...psAddChannelsPostResponse200Normalizer.php | 8 +- ...dChannelsPostResponsedefaultNormalizer.php | 8 +- ...roupsAddTeamsPostResponse200Normalizer.php | 8 +- ...sAddTeamsPostResponsedefaultNormalizer.php | 8 +- ...psListChannelsGetResponse200Normalizer.php | 8 +- ...stChannelsGetResponsedefaultNormalizer.php | 8 +- ...emoveChannelsPostResponse200Normalizer.php | 8 +- ...eChannelsPostResponsedefaultNormalizer.php | 8 +- ...inUsersAssignPostResponse200Normalizer.php | 8 +- ...ersAssignPostResponsedefaultNormalizer.php | 8 +- ...inUsersInvitePostResponse200Normalizer.php | 8 +- ...ersInvitePostResponsedefaultNormalizer.php | 8 +- ...AdminUsersListGetResponse200Normalizer.php | 8 +- ...nUsersListGetResponsedefaultNormalizer.php | 8 +- ...inUsersRemovePostResponse200Normalizer.php | 8 +- ...ersRemovePostResponsedefaultNormalizer.php | 8 +- ...ionInvalidatePostResponse200Normalizer.php | 8 +- ...nvalidatePostResponsedefaultNormalizer.php | 8 +- ...sSessionResetPostResponse200Normalizer.php | 8 +- ...sionResetPostResponsedefaultNormalizer.php | 8 +- ...UsersSetAdminPostResponse200Normalizer.php | 8 +- ...sSetAdminPostResponsedefaultNormalizer.php | 8 +- ...SetExpirationPostResponse200Normalizer.php | 8 +- ...xpirationPostResponsedefaultNormalizer.php | 8 +- ...UsersSetOwnerPostResponse200Normalizer.php | 8 +- ...sSetOwnerPostResponsedefaultNormalizer.php | 8 +- ...ersSetRegularPostResponse200Normalizer.php | 8 +- ...etRegularPostResponsedefaultNormalizer.php | 8 +- .../ApiTestGetResponse200Normalizer.php | 18 +- .../ApiTestGetResponsedefaultNormalizer.php | 26 +- ...orizationsListGetResponse200Normalizer.php | 8 +- ...ationsListGetResponsedefaultNormalizer.php | 8 +- ...nfoGetResponse200InfoAppHomeNormalizer.php | 21 +- ...nfoGetResponse200InfoChannelNormalizer.php | 21 +- ...sInfoGetResponse200InfoGroupNormalizer.php | 21 +- ...ionsInfoGetResponse200InfoImNormalizer.php | 21 +- ...nsInfoGetResponse200InfoMpimNormalizer.php | 21 +- ...ssionsInfoGetResponse200InfoNormalizer.php | 54 +- ...nsInfoGetResponse200InfoTeamNormalizer.php | 17 +- ...ermissionsInfoGetResponse200Normalizer.php | 17 +- ...ssionsInfoGetResponsedefaultNormalizer.php | 26 +- ...issionsRequestGetResponse200Normalizer.php | 8 +- ...onsRequestGetResponsedefaultNormalizer.php | 26 +- ...sResourcesListGetResponse200Normalizer.php | 30 +- ...tGetResponse200ResourcesItemNormalizer.php | 20 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...ourcesListGetResponsedefaultNormalizer.php | 26 +- ...ionsScopesListGetResponse200Normalizer.php | 17 +- ...opesListGetResponse200ScopesNormalizer.php | 70 +- ...ScopesListGetResponsedefaultNormalizer.php | 26 +- ...sionsUsersListGetResponse200Normalizer.php | 8 +- ...sUsersListGetResponsedefaultNormalizer.php | 8 +- ...nsUsersRequestGetResponse200Normalizer.php | 8 +- ...ersRequestGetResponsedefaultNormalizer.php | 8 +- .../AppsUninstallGetResponse200Normalizer.php | 8 +- ...sUninstallGetResponsedefaultNormalizer.php | 26 +- .../AuthRevokeGetResponse200Normalizer.php | 16 +- ...AuthRevokeGetResponsedefaultNormalizer.php | 26 +- .../AuthTestGetResponse200Normalizer.php | 68 +- .../AuthTestGetResponsedefaultNormalizer.php | 26 +- generated/Normalizer/BlocksItemNormalizer.php | 8 +- ...tsInfoGetResponse200BotIconsNormalizer.php | 24 +- .../BotsInfoGetResponse200BotNormalizer.php | 59 +- .../BotsInfoGetResponse200Normalizer.php | 17 +- .../BotsInfoGetResponsedefaultNormalizer.php | 26 +- .../CallsAddPostResponse200Normalizer.php | 8 +- .../CallsAddPostResponsedefaultNormalizer.php | 8 +- .../CallsEndPostResponse200Normalizer.php | 8 +- .../CallsEndPostResponsedefaultNormalizer.php | 8 +- .../CallsInfoGetResponse200Normalizer.php | 8 +- .../CallsInfoGetResponsedefaultNormalizer.php | 8 +- ...rticipantsAddPostResponse200Normalizer.php | 8 +- ...ipantsAddPostResponsedefaultNormalizer.php | 8 +- ...cipantsRemovePostResponse200Normalizer.php | 8 +- ...ntsRemovePostResponsedefaultNormalizer.php | 8 +- .../CallsUpdatePostResponse200Normalizer.php | 8 +- ...llsUpdatePostResponsedefaultNormalizer.php | 8 +- .../ChatDeletePostResponse200Normalizer.php | 24 +- ...hatDeletePostResponsedefaultNormalizer.php | 26 +- ...eduledMessagePostResponse200Normalizer.php | 8 +- ...edMessagePostResponsedefaultNormalizer.php | 26 +- ...atGetPermalinkGetResponse200Normalizer.php | 24 +- ...tPermalinkGetResponsedefaultNormalizer.php | 26 +- ...ChatMeMessagePostResponse200Normalizer.php | 28 +- ...MeMessagePostResponsedefaultNormalizer.php | 26 +- ...PostEphemeralPostResponse200Normalizer.php | 16 +- ...EphemeralPostResponsedefaultNormalizer.php | 26 +- ...atPostMessagePostResponse200Normalizer.php | 33 +- ...stMessagePostResponsedefaultNormalizer.php | 26 +- ...nse200MessageAttachmentsItemNormalizer.php | 30 +- ...essagePostResponse200MessageNormalizer.php | 84 +- ...heduleMessagePostResponse200Normalizer.php | 49 +- ...leMessagePostResponsedefaultNormalizer.php | 26 +- ...edMessagesListGetResponse200Normalizer.php | 28 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...onse200ScheduledMessagesItemNormalizer.php | 50 +- ...ssagesListGetResponsedefaultNormalizer.php | 26 +- .../ChatUnfurlPostResponse200Normalizer.php | 8 +- ...hatUnfurlPostResponsedefaultNormalizer.php | 26 +- ...UpdatePostResponse200MessageNormalizer.php | 28 +- .../ChatUpdatePostResponse200Normalizer.php | 41 +- ...hatUpdatePostResponsedefaultNormalizer.php | 26 +- ...ationsArchivePostResponse200Normalizer.php | 8 +- ...nsArchivePostResponsedefaultNormalizer.php | 46 +- ...rsationsClosePostResponse200Normalizer.php | 28 +- ...ionsClosePostResponsedefaultNormalizer.php | 46 +- ...sationsCreatePostResponse200Normalizer.php | 17 +- ...onsCreatePostResponsedefaultNormalizer.php | 56 +- ...sationsHistoryGetResponse200Normalizer.php | 62 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...onsHistoryGetResponsedefaultNormalizer.php | 46 +- ...versationsInfoGetResponse200Normalizer.php | 17 +- ...ationsInfoGetResponsedefaultNormalizer.php | 46 +- ...sationsInvitePostResponse200Normalizer.php | 17 +- ...ostResponsedefaultErrorsItemNormalizer.php | 26 +- ...onsInvitePostResponsedefaultNormalizer.php | 61 +- ...ersationsJoinPostResponse200Normalizer.php | 38 +- ...tResponse200ResponseMetadataNormalizer.php | 10 +- ...tionsJoinPostResponsedefaultNormalizer.php | 46 +- ...ersationsKickPostResponse200Normalizer.php | 8 +- ...tionsKickPostResponsedefaultNormalizer.php | 46 +- ...rsationsLeavePostResponse200Normalizer.php | 18 +- ...ionsLeavePostResponsedefaultNormalizer.php | 46 +- ...versationsListGetResponse200Normalizer.php | 30 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...ationsListGetResponsedefaultNormalizer.php | 46 +- ...ersationsMarkPostResponse200Normalizer.php | 8 +- ...tionsMarkPostResponsedefaultNormalizer.php | 46 +- ...sationsMembersGetResponse200Normalizer.php | 25 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...onsMembersGetResponsedefaultNormalizer.php | 26 +- ...nPostResponse200ChannelItem1Normalizer.php | 89 +- ...ersationsOpenPostResponse200Normalizer.php | 36 +- ...tionsOpenPostResponsedefaultNormalizer.php | 26 +- ...sationsRenamePostResponse200Normalizer.php | 17 +- ...onsRenamePostResponsedefaultNormalizer.php | 46 +- ...Response200MessagesItemItem0Normalizer.php | 147 +- ...Response200MessagesItemItem1Normalizer.php | 107 +- ...sationsRepliesGetResponse200Normalizer.php | 37 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...onsRepliesGetResponsedefaultNormalizer.php | 46 +- ...onsSetPurposePostResponse200Normalizer.php | 17 +- ...etPurposePostResponsedefaultNormalizer.php | 46 +- ...tionsSetTopicPostResponse200Normalizer.php | 17 +- ...sSetTopicPostResponsedefaultNormalizer.php | 46 +- ...ionsUnarchivePostResponse200Normalizer.php | 8 +- ...UnarchivePostResponsedefaultNormalizer.php | 46 +- .../DialogOpenGetResponse200Normalizer.php | 8 +- ...DialogOpenGetResponsedefaultNormalizer.php | 26 +- .../DndEndDndPostResponse200Normalizer.php | 8 +- ...DndEndDndPostResponsedefaultNormalizer.php | 26 +- .../DndEndSnoozePostResponse200Normalizer.php | 40 +- ...EndSnoozePostResponsedefaultNormalizer.php | 26 +- .../DndInfoGetResponse200Normalizer.php | 66 +- .../DndInfoGetResponsedefaultNormalizer.php | 26 +- .../DndSetSnoozePostResponse200Normalizer.php | 32 +- ...SetSnoozePostResponsedefaultNormalizer.php | 26 +- .../DndTeamInfoGetResponse200Normalizer.php | 8 +- ...ndTeamInfoGetResponsedefaultNormalizer.php | 8 +- .../EmojiListGetResponse200Normalizer.php | 8 +- .../EmojiListGetResponsedefaultNormalizer.php | 8 +- ...ommentsDeletePostResponse200Normalizer.php | 8 +- ...ntsDeletePostResponsedefaultNormalizer.php | 26 +- ...rnalPostResponse200FilesItemNormalizer.php | 20 +- ...ploadExternalPostResponse200Normalizer.php | 19 +- ...dExternalPostResponsedefaultNormalizer.php | 26 +- .../FilesDeletePostResponse200Normalizer.php | 8 +- ...lesDeletePostResponsedefaultNormalizer.php | 26 +- ...adURLExternalPostResponse200Normalizer.php | 24 +- ...LExternalPostResponsedefaultNormalizer.php | 26 +- .../FilesInfoGetResponse200Normalizer.php | 73 +- .../FilesInfoGetResponsedefaultNormalizer.php | 26 +- .../FilesListGetResponse200Normalizer.php | 28 +- .../FilesListGetResponsedefaultNormalizer.php | 26 +- ...ilesRemoteAddPostResponse200Normalizer.php | 8 +- ...RemoteAddPostResponsedefaultNormalizer.php | 8 +- ...ilesRemoteInfoGetResponse200Normalizer.php | 8 +- ...RemoteInfoGetResponsedefaultNormalizer.php | 8 +- ...ilesRemoteListGetResponse200Normalizer.php | 8 +- ...RemoteListGetResponsedefaultNormalizer.php | 8 +- ...sRemoteRemovePostResponse200Normalizer.php | 8 +- ...oteRemovePostResponsedefaultNormalizer.php | 8 +- ...lesRemoteShareGetResponse200Normalizer.php | 8 +- ...emoteShareGetResponsedefaultNormalizer.php | 8 +- ...sRemoteUpdatePostResponse200Normalizer.php | 8 +- ...oteUpdatePostResponsedefaultNormalizer.php | 8 +- ...vokePublicURLPostResponse200Normalizer.php | 17 +- ...PublicURLPostResponsedefaultNormalizer.php | 26 +- ...aredPublicURLPostResponse200Normalizer.php | 17 +- ...PublicURLPostResponsedefaultNormalizer.php | 26 +- .../FilesUploadPostResponse200Normalizer.php | 17 +- ...lesUploadPostResponsedefaultNormalizer.php | 26 +- generated/Normalizer/JaneObjectNormalizer.php | 465 +- ...rationExchangeGetResponse200Normalizer.php | 44 +- ...onExchangeGetResponsedefaultNormalizer.php | 26 +- .../OauthAccessGetResponse200Normalizer.php | 8 +- ...authAccessGetResponsedefaultNormalizer.php | 8 +- .../OauthTokenGetResponse200Normalizer.php | 8 +- ...OauthTokenGetResponsedefaultNormalizer.php | 8 +- .../OauthV2AccessGetResponse200Normalizer.php | 8 +- ...thV2AccessGetResponsedefaultNormalizer.php | 8 +- .../ObjsBotProfileIconsNormalizer.php | 24 +- .../Normalizer/ObjsBotProfileNormalizer.php | 57 +- .../Normalizer/ObjsChannelNormalizer.php | 296 +- .../ObjsChannelPurposeNormalizer.php | 24 +- .../Normalizer/ObjsChannelTopicNormalizer.php | 24 +- .../Normalizer/ObjsCommentNormalizer.php | 109 +- ...bjsConversationDisplayCountsNormalizer.php | 16 +- .../Normalizer/ObjsConversationNormalizer.php | 568 +-- .../ObjsConversationPurposeNormalizer.php | 24 +- .../ObjsConversationSharesItemNormalizer.php | 61 +- .../ObjsConversationTopicNormalizer.php | 24 +- .../ObjsEnterpriseUserNormalizer.php | 48 +- ...rnalOrgMigrationsCurrentItemNormalizer.php | 16 +- .../ObjsExternalOrgMigrationsNormalizer.php | 19 +- generated/Normalizer/ObjsFileNormalizer.php | 742 +-- .../Normalizer/ObjsFileSharesNormalizer.php | 20 +- generated/Normalizer/ObjsIconNormalizer.php | 80 +- ...geAttachmentsItemActionsItemNormalizer.php | 60 +- ...ageAttachmentsItemFieldsItemNormalizer.php | 30 +- .../ObjsMessageAttachmentsItemNormalizer.php | 222 +- .../Normalizer/ObjsMessageIconsNormalizer.php | 20 +- .../Normalizer/ObjsMessageNormalizer.php | 432 +- .../Normalizer/ObjsMetadataNormalizer.php | 16 +- generated/Normalizer/ObjsPagingNormalizer.php | 56 +- .../Normalizer/ObjsPrimaryOwnerNormalizer.php | 16 +- .../Normalizer/ObjsReactionNormalizer.php | 24 +- .../Normalizer/ObjsReminderNormalizer.php | 60 +- .../Normalizer/ObjsResourcesNormalizer.php | 28 +- .../ObjsResponseMetadataNormalizer.php | 28 +- .../Normalizer/ObjsSubteamNormalizer.php | 179 +- .../Normalizer/ObjsSubteamPrefsNormalizer.php | 16 +- generated/Normalizer/ObjsTeamNormalizer.php | 288 +- .../ObjsTeamProfileFieldNormalizer.php | 85 +- .../ObjsTeamProfileFieldOptionNormalizer.php | 56 +- .../ObjsTeamSsoProviderNormalizer.php | 30 +- generated/Normalizer/ObjsUserNormalizer.php | 291 +- .../Normalizer/ObjsUserProfileNormalizer.php | 494 +- .../ObjsUserProfileShortNormalizer.php | 98 +- .../ObjsUserTeamProfileNormalizer.php | 11 +- .../PinsAddPostResponse200Normalizer.php | 8 +- .../PinsAddPostResponsedefaultNormalizer.php | 26 +- ...etResponse200Item0ItemsItem0Normalizer.php | 41 +- ...etResponse200Item0ItemsItem1Normalizer.php | 51 +- .../PinsListGetResponse200Item0Normalizer.php | 30 +- .../PinsListGetResponse200Item1Normalizer.php | 16 +- .../PinsListGetResponsedefaultNormalizer.php | 26 +- .../PinsRemovePostResponse200Normalizer.php | 8 +- ...insRemovePostResponsedefaultNormalizer.php | 26 +- .../ReactionsAddPostResponse200Normalizer.php | 8 +- ...ctionsAddPostResponsedefaultNormalizer.php | 26 +- ...actionsGetGetResponsedefaultNormalizer.php | 26 +- ...GetResponse200ItemsItemItem0Normalizer.php | 25 +- ...GetResponse200ItemsItemItem1Normalizer.php | 17 +- ...GetResponse200ItemsItemItem2Normalizer.php | 26 +- .../ReactionsListGetResponse200Normalizer.php | 38 +- ...ctionsListGetResponsedefaultNormalizer.php | 26 +- ...actionsRemovePostResponse200Normalizer.php | 8 +- ...onsRemovePostResponsedefaultNormalizer.php | 26 +- .../RemindersAddPostResponse200Normalizer.php | 17 +- ...indersAddPostResponsedefaultNormalizer.php | 26 +- ...ndersCompletePostResponse200Normalizer.php | 8 +- ...sCompletePostResponsedefaultNormalizer.php | 26 +- ...mindersDeletePostResponse200Normalizer.php | 8 +- ...ersDeletePostResponsedefaultNormalizer.php | 26 +- .../RemindersInfoGetResponse200Normalizer.php | 17 +- ...indersInfoGetResponsedefaultNormalizer.php | 26 +- .../RemindersListGetResponse200Normalizer.php | 19 +- ...indersListGetResponsedefaultNormalizer.php | 26 +- .../RtmConnectGetResponse200Normalizer.php | 34 +- ...RtmConnectGetResponse200SelfNormalizer.php | 16 +- ...RtmConnectGetResponse200TeamNormalizer.php | 24 +- ...RtmConnectGetResponsedefaultNormalizer.php | 26 +- ...SearchMessagesGetResponse200Normalizer.php | 8 +- ...chMessagesGetResponsedefaultNormalizer.php | 8 +- .../StarsAddPostResponse200Normalizer.php | 8 +- .../StarsAddPostResponsedefaultNormalizer.php | 26 +- ...GetResponse200ItemsItemItem0Normalizer.php | 33 +- ...GetResponse200ItemsItemItem1Normalizer.php | 25 +- ...GetResponse200ItemsItemItem2Normalizer.php | 34 +- ...GetResponse200ItemsItemItem3Normalizer.php | 24 +- ...GetResponse200ItemsItemItem4Normalizer.php | 24 +- ...GetResponse200ItemsItemItem5Normalizer.php | 24 +- .../StarsListGetResponse200Normalizer.php | 27 +- .../StarsListGetResponsedefaultNormalizer.php | 26 +- .../StarsRemovePostResponse200Normalizer.php | 8 +- ...arsRemovePostResponsedefaultNormalizer.php | 26 +- ...LogsGetResponse200LoginsItemNormalizer.php | 96 +- ...TeamAccessLogsGetResponse200Normalizer.php | 28 +- ...AccessLogsGetResponsedefaultNormalizer.php | 26 +- ...amBillableInfoGetResponse200Normalizer.php | 8 +- ...llableInfoGetResponsedefaultNormalizer.php | 8 +- .../TeamInfoGetResponse200Normalizer.php | 17 +- .../TeamInfoGetResponsedefaultNormalizer.php | 26 +- ...onLogsGetResponse200LogsItemNormalizer.php | 96 +- ...ntegrationLogsGetResponse200Normalizer.php | 28 +- ...rationLogsGetResponsedefaultNormalizer.php | 26 +- ...TeamProfileGetGetResponse200Normalizer.php | 17 +- ...fileGetGetResponse200ProfileNormalizer.php | 11 +- ...ProfileGetGetResponsedefaultNormalizer.php | 26 +- ...rgroupsCreatePostResponse200Normalizer.php | 17 +- ...upsCreatePostResponsedefaultNormalizer.php | 26 +- ...groupsDisablePostResponse200Normalizer.php | 17 +- ...psDisablePostResponsedefaultNormalizer.php | 26 +- ...rgroupsEnablePostResponse200Normalizer.php | 17 +- ...upsEnablePostResponsedefaultNormalizer.php | 26 +- ...UsergroupsListGetResponse200Normalizer.php | 19 +- ...groupsListGetResponsedefaultNormalizer.php | 26 +- ...rgroupsUpdatePostResponse200Normalizer.php | 17 +- ...upsUpdatePostResponsedefaultNormalizer.php | 26 +- ...roupsUsersListGetResponse200Normalizer.php | 16 +- ...sUsersListGetResponsedefaultNormalizer.php | 26 +- ...psUsersUpdatePostResponse200Normalizer.php | 17 +- ...ersUpdatePostResponsedefaultNormalizer.php | 26 +- ...sConversationsGetResponse200Normalizer.php | 30 +- ...tResponse200ResponseMetadataNormalizer.php | 8 +- ...versationsGetResponsedefaultNormalizer.php | 26 +- ...rsDeletePhotoPostResponse200Normalizer.php | 8 +- ...letePhotoPostResponsedefaultNormalizer.php | 26 +- ...ersGetPresenceGetResponse200Normalizer.php | 66 +- ...etPresenceGetResponsedefaultNormalizer.php | 16 +- ...sIdentityGetResponse200Item0Normalizer.php | 26 +- ...ntityGetResponse200Item0TeamNormalizer.php | 8 +- ...ntityGetResponse200Item0UserNormalizer.php | 16 +- ...sIdentityGetResponse200Item1Normalizer.php | 26 +- ...ntityGetResponse200Item1TeamNormalizer.php | 8 +- ...ntityGetResponse200Item1UserNormalizer.php | 24 +- ...sIdentityGetResponse200Item2Normalizer.php | 26 +- ...ntityGetResponse200Item2TeamNormalizer.php | 8 +- ...ntityGetResponse200Item2UserNormalizer.php | 64 +- ...sIdentityGetResponse200Item3Normalizer.php | 26 +- ...ntityGetResponse200Item3TeamNormalizer.php | 88 +- ...ntityGetResponse200Item3UserNormalizer.php | 16 +- ...rsIdentityGetResponsedefaultNormalizer.php | 26 +- .../UsersInfoGetResponse200Normalizer.php | 17 +- .../UsersInfoGetResponsedefaultNormalizer.php | 26 +- .../UsersListGetResponse200Normalizer.php | 38 +- .../UsersListGetResponsedefaultNormalizer.php | 26 +- ...sLookupByEmailGetResponse200Normalizer.php | 17 +- ...kupByEmailGetResponsedefaultNormalizer.php | 26 +- ...sersProfileGetGetResponse200Normalizer.php | 17 +- ...ProfileGetGetResponsedefaultNormalizer.php | 26 +- ...ersProfileSetPostResponse200Normalizer.php | 35 +- ...rofileSetPostResponsedefaultNormalizer.php | 26 +- ...sersSetActivePostResponse200Normalizer.php | 8 +- ...SetActivePostResponsedefaultNormalizer.php | 26 +- ...UsersSetPhotoPostResponse200Normalizer.php | 17 +- ...tPhotoPostResponse200ProfileNormalizer.php | 72 +- ...sSetPhotoPostResponsedefaultNormalizer.php | 56 +- ...rsSetPresencePostResponse200Normalizer.php | 8 +- ...tPresencePostResponsedefaultNormalizer.php | 26 +- .../ViewsOpenPostResponse200Normalizer.php | 8 +- ...ViewsOpenPostResponsedefaultNormalizer.php | 8 +- .../ViewsPublishPostResponse200Normalizer.php | 8 +- ...wsPublishPostResponsedefaultNormalizer.php | 8 +- .../ViewsPushPostResponse200Normalizer.php | 8 +- ...ViewsPushPostResponsedefaultNormalizer.php | 8 +- .../ViewsUpdatePostResponse200Normalizer.php | 8 +- ...ewsUpdatePostResponsedefaultNormalizer.php | 8 +- ...StepCompletedPostResponse200Normalizer.php | 8 +- ...CompletedPostResponsedefaultNormalizer.php | 8 +- ...owsStepFailedPostResponse200Normalizer.php | 8 +- ...tepFailedPostResponsedefaultNormalizer.php | 8 +- ...owsUpdateStepPostResponse200Normalizer.php | 8 +- ...pdateStepPostResponsedefaultNormalizer.php | 8 +- .../AdditionalAndPatternProperties.php | 42 +- generated/Runtime/Client/BaseEndpoint.php | 55 +- generated/Runtime/Client/Client.php | 122 +- generated/Runtime/Client/Endpoint.php | 24 +- generated/Runtime/Client/EndpointTrait.php | 9 +- generated/Runtime/Client/FormEncoder.php | 1 + generated/Runtime/Normalizer/CheckArray.php | 4 +- src/Checker/SchemaChecker.php | 2 +- src/Client.php | 52 +- src/ClientFactory.php | 42 +- src/Http/SlackAuthentication.php | 40 + src/Http/SlackErrorAwareResponse.php | 95 + src/Http/SlackErrorHttpClient.php | 62 + src/HttpPlugin/AddSlackPathAndHostPlugin.php | 61 - src/HttpPlugin/SlackErrorPlugin.php | 44 - tests/ApiTest.php | 2 +- tests/ClientTest.php | 20 +- tests/ReadingTest.php | 30 +- tests/UserInfoTest.php | 6 +- tests/WritingTest.php | 63 +- 1117 files changed, 14850 insertions(+), 40889 deletions(-) create mode 100644 generated/Exception/ApiException.php create mode 100644 generated/Exception/BadResponseException.php create mode 100644 generated/Exception/ClientException.php create mode 100644 generated/Exception/ServerException.php create mode 100644 generated/Exception/UnexpectedStatusCodeException.php create mode 100644 generated/Exception/WithResponseInterface.php create mode 100644 src/Http/SlackAuthentication.php create mode 100644 src/Http/SlackErrorAwareResponse.php create mode 100644 src/Http/SlackErrorHttpClient.php delete mode 100644 src/HttpPlugin/AddSlackPathAndHostPlugin.php delete mode 100644 src/HttpPlugin/SlackErrorPlugin.php diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16336251..269559cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.4' + extensions: mbstring, xml + - name: Install dependencies run: composer update --no-interaction @@ -45,13 +51,15 @@ jobs: fail-fast: false max-parallel: 1 # Avoid rate-limit issue on Slack API matrix: - php-version: [ '8.1', '8.2', '8.3', '8.4', '8.5' ] + php-version: [ '8.4', '8.5' ] composer-flags: [ '' ] name: [ '' ] + deprecations-helper: [ '' ] include: - - php-version: 8.1 + - php-version: 8.4 composer-flags: '--prefer-lowest' name: '(prefer lowest dependencies)' + deprecations-helper: 'disabled' steps: - uses: actions/checkout@v2 @@ -70,4 +78,5 @@ jobs: env: SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} SLACK_TEST_CHANNEL: ${{ secrets.SLACK_TEST_CHANNEL }} + SYMFONY_DEPRECATIONS_HELPER: ${{ matrix.deprecations-helper }} CI: true diff --git a/.jane-openapi.php b/.jane-openapi.php index 2776438e..cea2f5ea 100644 --- a/.jane-openapi.php +++ b/.jane-openapi.php @@ -9,4 +9,5 @@ 'clean-generated' => true, 'use-fixer' => true, 'fixer-config-file' => __DIR__ . '/.php-cs-fixer.php', + 'default-fetch-mode' => 'preload', ]; diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fa13b7c..37fddd0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changes between versions +## 5.0.0 (2026-10-02) +* Upgrade JanePHP to 8.0.0 +* Require PHP >= 8.4 +* Generated models now expose public typed properties instead of getters: use `$user->name` instead of `$user->getName()` +* The HTTP layer is now built on Symfony HttpClient (`HttpClientInterface`) instead of PSR-7 / PSR-18 / HTTPlug +* `ClientFactory::create()` now expects a `Symfony\Contracts\HttpClient\HttpClientInterface` instead of a PSR-18 client +* GET and HEAD operations are now generated with the `preload` fetch mode (`default-fetch-mode` generation option) +* New `JoliCode\Slack\Http\SlackAuthentication` & `JoliCode\Slack\Http\SlackErrorHttpClient` decorator factories replacing the HTTPlug plugins + ## 4.10.0 (2026-09-25) * Upgrade JanePHP generated code diff --git a/README.md b/README.md index 8352be61..01ef09ff 100644 --- a/README.md +++ b/README.md @@ -25,15 +25,15 @@ requests, and responses of the Slack Web API. ## Installation -This library is built atop of [PSR-7](https://www.php-fig.org/psr/psr-7/) and -[PSR-18](https://www.php-fig.org/psr/psr-18/). So you will need to install some -implementations for those standard interfaces. +This library is built on [Symfony HttpClient](https://symfony.com/doc/current/http_client.html) +(`HttpClientInterface`). Any HTTP client implementing that interface may be +provided to the `ClientFactory`. -If no PSR-18 client or PSR-7 message factory is available yet in your project -or you don't know or don't care which one to use, just install some default: +If no HTTP client is available yet in your project or you don't know or don't +care which one to use, just install the default one: ```bash -composer require symfony/http-client nyholm/psr7 +composer require symfony/http-client ``` You can now install the Slack client: diff --git a/composer.json b/composer.json index 12c3141a..989eac3f 100644 --- a/composer.json +++ b/composer.json @@ -26,30 +26,19 @@ } }, "require": { + "php": ">=8.4", "ext-curl": "*", - "php": ">=8.1", - "jane-php/open-api-runtime": "^7.10", - "psr/http-client-implementation": "*", - "php-http/client-common": "^1.9 || ^2.0", - "php-http/discovery": "^1.11", - "php-http/multipart-stream-builder": "^1.1" + "jane-php/open-api-runtime": "^8.0", + "symfony/http-client": "^6.4 || ^7.0 || ^8.0" }, "require-dev": { - "jane-php/open-api-2": "^7.10", - "symfony/http-client": "^6.0 || ^7.0 || ^8.0", - "nyholm/psr7": "^1.2", + "jane-php/open-api-2": "^8.0", + "symfony/http-client": "^6.4 || ^7.0 || ^8.0", "friendsofphp/php-cs-fixer": "^3.2.2", "symfony/phpunit-bridge": "^6.0 || ^7.0 || ^8.0", "opis/json-schema": "^1.0", "symfony/console": "^6.0 || ^7.0 || ^8.0", "symfony/process": "^6.0 || ^7.0 || ^8.0" }, - "conflict": { - "php-http/httplug": "< 2.0" - }, - "config": { - "allow-plugins": { - "php-http/discovery": true - } - } + "config": {} } diff --git a/docs/1-get-started.md b/docs/1-get-started.md index 80ad000b..380c1f0e 100644 --- a/docs/1-get-started.md +++ b/docs/1-get-started.md @@ -2,15 +2,15 @@ ## Installation -This library is built atop of [PSR-7](https://www.php-fig.org/psr/psr-7/) and -[PSR-18](https://www.php-fig.org/psr/psr-18/). So you will need to install some -implementations for those standard interfaces. +This library is built on [Symfony HttpClient](https://symfony.com/doc/current/http_client.html) +(`HttpClientInterface`). Any HTTP client implementing that interface may be +provided to the `ClientFactory`. -If no PSR-18 client or PSR-7 message factory is available yet in your project -or you don't know or don't care which one to use, just install some default: +If no HTTP client is available yet in your project or you don't know or don't +care which one to use, just install the default one: ```bash -composer require symfony/http-client nyholm/psr7 +composer require symfony/http-client ``` You can now install the Slack client: @@ -32,7 +32,7 @@ A good starting point is the [Authentication Basics documentation](https://api.s // $client contains all the methods to interact with the API $client = JoliCode\Slack\ClientFactory::create($yourSlackToken); -$user = $client->usersInfo(['user' => 'U123AZER'])->getUser(); +$user = $client->usersInfo(['user' => 'U123AZER'])->user; ``` *** diff --git a/docs/2-usage.md b/docs/2-usage.md index fde7ce74..133daf0c 100644 --- a/docs/2-usage.md +++ b/docs/2-usage.md @@ -21,7 +21,7 @@ PHPdoc to know which option you can provide to each method: usersInfo(['user' => 'U123AZER'])->getUser(); +$user = $client->usersInfo(['user' => 'U123AZER'])->user; dump($user); ``` @@ -51,7 +51,7 @@ $userNames = []; /** @var JoliCode\Slack\Api\Model\ObjsUser $user */ foreach ($client->iterateUsersList() as $user) { - $userNames[] = $user->getName(); + $userNames[] = $user->name; } ``` @@ -69,14 +69,29 @@ do { ]); /** @var JoliCode\Slack\Api\Model\ObjsUser $user */ - foreach ($response->getUsers() as $user) { - $userNames[] = $user->getName(); + foreach ($response->members ?? [] as $user) { + $userNames[] = $user->name; } - $cursor = $response->getResponseMetadata() ? $response->getResponseMetadata()->getNextCursor() : ''; + $cursor = $response->responseMetadata?->nextCursor ?? ''; } while (!empty($cursor)); ``` +## Fetch modes + +Since JanePHP 8, GET and HEAD operations are generated with the `preload` +fetch mode (`default-fetch-mode` generation option). The HTTP request is +registered immediately when you call the method, and the response is parsed +the same blocking way as before. + +On PHP >= 8.4, endpoints whose success response maps to a single generated +model even return a lazy ghost proxy: the parsed model appears on first +property read. Slack's specification always maps responses to two models +(a `...Response200` and a `...Responsedefault` fallback), so parsing stays +blocking in practice — but you can enable lazy proxies per operation by +tuning the responses in the patched specification, and set a different +fetch mode with the `x-fetch-mode` extension. + ## Concrete examples Here are some real-life examples of interacting with the SDK: diff --git a/docs/3-troubleshoots.md b/docs/3-troubleshoots.md index eecc16f9..5d7e5f93 100644 --- a/docs/3-troubleshoots.md +++ b/docs/3-troubleshoots.md @@ -27,7 +27,7 @@ $results = $client->searchMessages([ 'query' => 'test' ]); -var_dump($results->getOk()); // ok property is mapped +var_dump($results->ok); // ok property is mapped var_dump($results['messages']); // messages property is not mapped but still readable ``` diff --git a/docs/examples/retrieve-users.php b/docs/examples/retrieve-users.php index 509a8efb..7beeaaee 100644 --- a/docs/examples/retrieve-users.php +++ b/docs/examples/retrieve-users.php @@ -13,7 +13,7 @@ $users = iterator_to_array($client->iterateUsersList()); echo sprintf('Here is the names of the members of your workspace: %s', implode(', ', array_map(function(ObjsUser $user) { - return $user->getName(); + return $user->name; }, $users))); } catch (SlackErrorResponse $e) { echo 'Fail to retrieve the members.', PHP_EOL, $e->getMessage(); diff --git a/generated/Client.php b/generated/Client.php index 9eb29a66..2c9999b6 100644 --- a/generated/Client.php +++ b/generated/Client.php @@ -18,3927 +18,3203 @@ class Client extends Runtime\Client\Client /** * Approve an app for installation on a workspace. * - * @param array $formParameters { + * @param array{ + * "app_id"?: string, //The id of the app to approve. + * "request_id"?: string, //The id of the request to approve. + * "team_id"?: string, + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.apps:write` + * } $headerParameters * - * @var string $app_id the id of the app to approve - * @var string $request_id the id of the request to approve - * @var string $team_id - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.apps:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminAppsApprovePostResponse200|Model\AdminAppsApprovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminAppsApprovePostResponse200|Model\AdminAppsApprovePostResponsedefault */ - public function adminAppsApprove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminAppsApprove(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminAppsApprove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminAppsApprove($formParameters, $headerParameters)); } /** * List approved apps for an org or workspace. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var string $enterprise_id - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.apps:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "enterprise_id"?: string, + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin.apps:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminAppsApprovedListGetResponse200|Model\AdminAppsApprovedListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminAppsApprovedListGetResponse200|Model\AdminAppsApprovedListGetResponsedefault */ - public function adminAppsApprovedList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminAppsApprovedList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminAppsApprovedList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminAppsApprovedList($queryParameters)); } /** * List app requests for a team/workspace. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.apps:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin.apps:read` + * } $queryParameters * - * @return ($fetch is 'object' ? Model\AdminAppsRequestsListGetResponse200|Model\AdminAppsRequestsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminAppsRequestsListGetResponse200|Model\AdminAppsRequestsListGetResponsedefault */ - public function adminAppsRequestsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminAppsRequestsList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminAppsRequestsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminAppsRequestsList($queryParameters)); } /** * Restrict an app for installation on a workspace. * - * @param array $formParameters { - * - * @var string $app_id the id of the app to restrict - * @var string $request_id the id of the request to restrict - * @var string $team_id - * } - * - * @param array $headerParameters { + * @param array{ + * "app_id"?: string, //The id of the app to restrict. + * "request_id"?: string, //The id of the request to restrict. + * "team_id"?: string, + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.apps:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.apps:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminAppsRestrictPostResponse200|Model\AdminAppsRestrictPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminAppsRestrictPostResponse200|Model\AdminAppsRestrictPostResponsedefault */ - public function adminAppsRestrict(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminAppsRestrict(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminAppsRestrict($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminAppsRestrict($formParameters, $headerParameters)); } /** * List restricted apps for an org or workspace. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var string $enterprise_id - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.apps:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "enterprise_id"?: string, + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin.apps:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminAppsRestrictedListGetResponse200|Model\AdminAppsRestrictedListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminAppsRestrictedListGetResponse200|Model\AdminAppsRestrictedListGetResponsedefault */ - public function adminAppsRestrictedList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminAppsRestrictedList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminAppsRestrictedList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminAppsRestrictedList($queryParameters)); } /** * Archive a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to archive. - * } + * @param array{ + * "channel_id": string, //The channel to archive. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsArchivePostResponse200|Model\AdminConversationsArchivePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsArchivePostResponse200|Model\AdminConversationsArchivePostResponsedefault */ - public function adminConversationsArchive(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsArchive(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsArchive($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsArchive($formParameters, $headerParameters)); } /** * Convert a public channel to a private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to convert to private. - * } + * @param array{ + * "channel_id": string, //The channel to convert to private. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsConvertToPrivatePostResponse200|Model\AdminConversationsConvertToPrivatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsConvertToPrivatePostResponse200|Model\AdminConversationsConvertToPrivatePostResponsedefault */ - public function adminConversationsConvertToPrivate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsConvertToPrivate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsConvertToPrivate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsConvertToPrivate($formParameters, $headerParameters)); } /** * Create a public or private channel-based conversation. * - * @param array $formParameters { - * - * @var string $description description of the public or private channel to create - * @var bool $is_private When `true`, creates a private channel instead of a public channel - * @var string $name name of the public or private channel to create - * @var bool $org_wide When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel - * @var string $team_id The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. - * } - * - * @param array $headerParameters { + * @param array{ + * "description"?: string, //Description of the public or private channel to create. + * "is_private": bool, //When `true`, creates a private channel instead of a public channel + * "name": string, //Name of the public or private channel to create. + * "org_wide"?: bool, //When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel + * "team_id"?: string, //The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsCreatePostResponse200|Model\AdminConversationsCreatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsCreatePostResponse200|Model\AdminConversationsCreatePostResponsedefault */ - public function adminConversationsCreate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsCreate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsCreate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsCreate($formParameters, $headerParameters)); } /** * Delete a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to delete. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to delete. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsDeletePostResponse200|Model\AdminConversationsDeletePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsDeletePostResponse200|Model\AdminConversationsDeletePostResponsedefault */ - public function adminConversationsDelete(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsDelete(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsDelete($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsDelete($formParameters, $headerParameters)); } /** * Disconnect a connected channel from one or more workspaces. * - * @param array $formParameters { - * - * @var string $channel_id the channel to be disconnected from some workspaces - * @var string $leaving_team_ids The team to be removed from the channel. Currently only a single team id can be specified. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel_id": string, //The channel to be disconnected from some workspaces. + * "leaving_team_ids"?: string, //The team to be removed from the channel. Currently only a single team id can be specified. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminConversationsDisconnectSharedPostResponse200|Model\AdminConversationsDisconnectSharedPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsDisconnectSharedPostResponse200|Model\AdminConversationsDisconnectSharedPostResponsedefault */ - public function adminConversationsDisconnectShared(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsDisconnectShared(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsDisconnectShared($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsDisconnectShared($formParameters, $headerParameters)); } /** * List all disconnected channels—i.e., channels that were once connected to other workspaces and then disconnected—and the corresponding original channel IDs for key revocation with EKM. * - * @param array $queryParameters { + * @param array{ + * "channel_ids"?: string, //A comma-separated list of channels to filter to. + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_ids"?: string, //A comma-separated list of the workspaces to which the channels you would like returned belong. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $queryParameters * - * @var string $channel_ids a comma-separated list of channels to filter to - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_ids a comma-separated list of the workspaces to which the channels you would like returned belong - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200|Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200|Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault */ - public function adminConversationsEkmListOriginalConnectedChannelInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsEkmListOriginalConnectedChannelInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsEkmListOriginalConnectedChannelInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsEkmListOriginalConnectedChannelInfo($queryParameters)); } /** * Get conversation preferences for a public or private channel. * - * @param array $queryParameters { - * - * @var string $channel_id The channel to get preferences for. - * } - * - * @param array $headerParameters { + * @param array{ + * "channel_id": string, //The channel to get preferences for. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsGetConversationPrefsGetResponse200|Model\AdminConversationsGetConversationPrefsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsGetConversationPrefsGetResponse200|Model\AdminConversationsGetConversationPrefsGetResponsedefault */ - public function adminConversationsGetConversationPrefs(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsGetConversationPrefs(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsGetConversationPrefs($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsGetConversationPrefs($queryParameters, $headerParameters)); } /** * Get all the workspaces a given public or private channel is connected to within this Enterprise org. * - * @param array $queryParameters { - * - * @var string $channel_id the channel to determine connected workspaces within the organization for - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "channel_id": string, //The channel to determine connected workspaces within the organization for. + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsGetTeamsGetResponse200|Model\AdminConversationsGetTeamsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsGetTeamsGetResponse200|Model\AdminConversationsGetTeamsGetResponsedefault */ - public function adminConversationsGetTeams(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsGetTeams(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsGetTeams($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsGetTeams($queryParameters, $headerParameters)); } /** * Invite a user to a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel that the users will be invited to - * @var string $user_ids The users to invite. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel_id": string, //The channel that the users will be invited to. + * "user_ids": string, //The users to invite. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminConversationsInvitePostResponse200|Model\AdminConversationsInvitePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsInvitePostResponse200|Model\AdminConversationsInvitePostResponsedefault */ - public function adminConversationsInvite(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsInvite(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsInvite($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsInvite($formParameters, $headerParameters)); } /** * Rename a public or private channel. * - * @param array $formParameters { + * @param array{ + * "channel_id": string, //The channel to rename. + * "name": string, + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @var string $channel_id the channel to rename - * @var string $name - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsRenamePostResponse200|Model\AdminConversationsRenamePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsRenamePostResponse200|Model\AdminConversationsRenamePostResponsedefault */ - public function adminConversationsRename(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsRename(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsRename($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsRename($formParameters, $headerParameters)); } /** * Add an allowlist of IDP groups for accessing a channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel to link this group to - * @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel. - * @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to link this group to. + * "group_id": string, //The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel. + * "team_id"?: string, //The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsRestrictAccessAddGroupPostResponse200|Model\AdminConversationsRestrictAccessAddGroupPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsRestrictAccessAddGroupPostResponse200|Model\AdminConversationsRestrictAccessAddGroupPostResponsedefault */ - public function adminConversationsRestrictAccessAddGroup(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsRestrictAccessAddGroup(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminConversationsRestrictAccessAddGroup($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsRestrictAccessAddGroup($formParameters)); } /** * List all IDP Groups linked to a channel. * - * @param array $queryParameters { - * - * @var string $channel_id - * @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "channel_id": string, + * "team_id"?: string, //The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsRestrictAccessListGroupsGetResponse200|Model\AdminConversationsRestrictAccessListGroupsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsRestrictAccessListGroupsGetResponse200|Model\AdminConversationsRestrictAccessListGroupsGetResponsedefault */ - public function adminConversationsRestrictAccessListGroups(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsRestrictAccessListGroups(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\AdminConversationsRestrictAccessListGroups($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsRestrictAccessListGroups($queryParameters)); } /** * Remove a linked IDP group linked from a private channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel to remove the linked group from - * @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel. - * @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to remove the linked group from. + * "group_id": string, //The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel. + * "team_id": string, //The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsRestrictAccessRemoveGroupPostResponse200|Model\AdminConversationsRestrictAccessRemoveGroupPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsRestrictAccessRemoveGroupPostResponse200|Model\AdminConversationsRestrictAccessRemoveGroupPostResponsedefault */ - public function adminConversationsRestrictAccessRemoveGroup(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsRestrictAccessRemoveGroup(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminConversationsRestrictAccessRemoveGroup($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsRestrictAccessRemoveGroup($formParameters)); } /** * Search for public or private channels in an Enterprise organization. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. - * @var string $query name of the the channel to query by - * @var string $search_channel_types The type of channel to include or exclude in the search. For example `private` will search private channels, while `private_exclude` will exclude them. For a full list of types, check the [Types section](#types). - * @var string $sort Possible values are `relevant` (search ranking based on what we think is closest), `name` (alphabetical), `member_count` (number of users in the channel), and `created` (date channel was created). You can optionally pair this with the `sort_dir` arg to change how it is sorted - * @var string $sort_dir Sort direction. Possible values are `asc` for ascending order like (1, 2, 3) or (a, b, c), and `desc` for descending order like (3, 2, 1) or (c, b, a) - * @var string $team_ids Comma separated string of team IDs, signifying the workspaces to search through. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. + * "query"?: string, //Name of the the channel to query by. + * "search_channel_types"?: string, //The type of channel to include or exclude in the search. For example `private` will search private channels, while `private_exclude` will exclude them. For a full list of types, check the [Types section](#types). + * "sort"?: string, //Possible values are `relevant` (search ranking based on what we think is closest), `name` (alphabetical), `member_count` (number of users in the channel), and `created` (date channel was created). You can optionally pair this with the `sort_dir` arg to change how it is sorted + * "sort_dir"?: string, //Sort direction. Possible values are `asc` for ascending order like (1, 2, 3) or (a, b, c), and `desc` for descending order like (3, 2, 1) or (c, b, a) + * "team_ids"?: string, //Comma separated string of team IDs, signifying the workspaces to search through. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminConversationsSearchGetResponse200|Model\AdminConversationsSearchGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsSearchGetResponse200|Model\AdminConversationsSearchGetResponsedefault */ - public function adminConversationsSearch(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsSearch(array $queryParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsSearch($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsSearch($queryParameters, $headerParameters)); } /** * Set the posting permissions for a public or private channel. * - * @param array $formParameters { + * @param array{ + * "channel_id": string, //The channel to set the prefs for + * "prefs": string, //The prefs for this channel in a stringified JSON format. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @var string $channel_id The channel to set the prefs for - * @var string $prefs The prefs for this channel in a stringified JSON format. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsSetConversationPrefsPostResponse200|Model\AdminConversationsSetConversationPrefsPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsSetConversationPrefsPostResponse200|Model\AdminConversationsSetConversationPrefsPostResponsedefault */ - public function adminConversationsSetConversationPrefs(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsSetConversationPrefs(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsSetConversationPrefs($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsSetConversationPrefs($formParameters, $headerParameters)); } /** * Set the workspaces in an Enterprise grid org that connect to a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id the encoded `channel_id` to add or remove to workspaces - * @var bool $org_channel True if channel has to be converted to an org channel - * @var string $target_team_ids A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. - * @var string $team_id The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. - * } + * @param array{ + * "channel_id": string, //The encoded `channel_id` to add or remove to workspaces. + * "org_channel"?: bool, //True if channel has to be converted to an org channel + * "target_team_ids"?: string, //A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. + * "team_id"?: string, //The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsSetTeamsPostResponse200|Model\AdminConversationsSetTeamsPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsSetTeamsPostResponse200|Model\AdminConversationsSetTeamsPostResponsedefault */ - public function adminConversationsSetTeams(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsSetTeams(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsSetTeams($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsSetTeams($formParameters, $headerParameters)); } /** * Unarchive a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to unarchive. - * } - * - * @param array $headerParameters { + * @param array{ + * "channel_id": string, //The channel to unarchive. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminConversationsUnarchivePostResponse200|Model\AdminConversationsUnarchivePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminConversationsUnarchivePostResponse200|Model\AdminConversationsUnarchivePostResponsedefault */ - public function adminConversationsUnarchive(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminConversationsUnarchive(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminConversationsUnarchive($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminConversationsUnarchive($formParameters, $headerParameters)); } /** * Add an emoji. * - * @param array $formParameters { - * - * @var string $name The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * @var string $url The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best. - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "name": string, //The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * "url": string, //The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best. + * } $formParameters * - * @return ($fetch is 'object' ? Model\AdminEmojiAddPostResponse200|Model\AdminEmojiAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminEmojiAddPostResponse200|Model\AdminEmojiAddPostResponsedefault */ - public function adminEmojiAdd(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminEmojiAdd(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminEmojiAdd($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminEmojiAdd($formParameters)); } /** * Add an emoji alias. * - * @param array $formParameters { + * @param array{ + * "alias_for": string, //The alias of the emoji. + * "name": string, //The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters * - * @var string $alias_for the alias of the emoji - * @var string $name The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminEmojiAddAliasPostResponse200|Model\AdminEmojiAddAliasPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminEmojiAddAliasPostResponse200|Model\AdminEmojiAddAliasPostResponsedefault */ - public function adminEmojiAddAlias(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminEmojiAddAlias(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminEmojiAddAlias($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminEmojiAddAlias($formParameters)); } /** * List emoji for an Enterprise Grid organization. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminEmojiListGetResponse200|Model\AdminEmojiListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminEmojiListGetResponse200|Model\AdminEmojiListGetResponsedefault */ - public function adminEmojiList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminEmojiList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminEmojiList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminEmojiList($queryParameters)); } /** * Remove an emoji across an Enterprise Grid organization. * - * @param array $formParameters { - * - * @var string $name The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "name": string, //The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminEmojiRemovePostResponse200|Model\AdminEmojiRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminEmojiRemovePostResponse200|Model\AdminEmojiRemovePostResponsedefault */ - public function adminEmojiRemove(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminEmojiRemove(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminEmojiRemove($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminEmojiRemove($formParameters)); } /** * Rename an emoji. * - * @param array $formParameters { - * - * @var string $name The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $new_name the new name of the emoji - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "name": string, //The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "new_name": string, //The new name of the emoji. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters * - * @return ($fetch is 'object' ? Model\AdminEmojiRenamePostResponse200|Model\AdminEmojiRenamePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminEmojiRenamePostResponse200|Model\AdminEmojiRenamePostResponsedefault */ - public function adminEmojiRename(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminEmojiRename(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminEmojiRename($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminEmojiRename($formParameters)); } /** * Approve a workspace invite request. * - * @param array $formParameters { - * - * @var string $invite_request_id ID of the request to invite - * @var string $team_id ID for the workspace where the invite request was made. - * } - * - * @param array $headerParameters { + * @param array{ + * "invite_request_id": string, //ID of the request to invite. + * "team_id"?: string, //ID for the workspace where the invite request was made. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.invites:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminInviteRequestsApprovePostResponse200|Model\AdminInviteRequestsApprovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminInviteRequestsApprovePostResponse200|Model\AdminInviteRequestsApprovePostResponsedefault */ - public function adminInviteRequestsApprove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminInviteRequestsApprove(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminInviteRequestsApprove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminInviteRequestsApprove($formParameters, $headerParameters)); } /** * List all approved workspace invite requests. * - * @param array $queryParameters { - * - * @var string $cursor Value of the `next_cursor` field sent as part of the previous API response - * @var int $limit The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive - * @var string $team_id ID for the workspace where the invite requests were made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:read` - * } + * @param array{ + * "cursor"?: string, //Value of the `next_cursor` field sent as part of the previous API response + * "limit"?: int, //The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive + * "team_id"?: string, //ID for the workspace where the invite requests were made. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:read` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminInviteRequestsApprovedListGetResponse200|Model\AdminInviteRequestsApprovedListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminInviteRequestsApprovedListGetResponse200|Model\AdminInviteRequestsApprovedListGetResponsedefault */ - public function adminInviteRequestsApprovedList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminInviteRequestsApprovedList(array $queryParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminInviteRequestsApprovedList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminInviteRequestsApprovedList($queryParameters, $headerParameters)); } /** * List all denied workspace invite requests. * - * @param array $queryParameters { - * - * @var string $cursor Value of the `next_cursor` field sent as part of the previous api response - * @var int $limit The number of results that will be returned by the API on each invocation. Must be between 1 - 1000 both inclusive - * @var string $team_id ID for the workspace where the invite requests were made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:read` - * } + * @param array{ + * "cursor"?: string, //Value of the `next_cursor` field sent as part of the previous api response + * "limit"?: int, //The number of results that will be returned by the API on each invocation. Must be between 1 - 1000 both inclusive + * "team_id"?: string, //ID for the workspace where the invite requests were made. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:read` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminInviteRequestsDeniedListGetResponse200|Model\AdminInviteRequestsDeniedListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminInviteRequestsDeniedListGetResponse200|Model\AdminInviteRequestsDeniedListGetResponsedefault */ - public function adminInviteRequestsDeniedList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminInviteRequestsDeniedList(array $queryParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminInviteRequestsDeniedList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminInviteRequestsDeniedList($queryParameters, $headerParameters)); } /** * Deny a workspace invite request. * - * @param array $formParameters { - * - * @var string $invite_request_id ID of the request to invite - * @var string $team_id ID for the workspace where the invite request was made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "invite_request_id": string, //ID of the request to invite. + * "team_id"?: string, //ID for the workspace where the invite request was made. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminInviteRequestsDenyPostResponse200|Model\AdminInviteRequestsDenyPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminInviteRequestsDenyPostResponse200|Model\AdminInviteRequestsDenyPostResponsedefault */ - public function adminInviteRequestsDeny(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminInviteRequestsDeny(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminInviteRequestsDeny($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminInviteRequestsDeny($formParameters, $headerParameters)); } /** * List all pending workspace invite requests. * - * @param array $queryParameters { + * @param array{ + * "cursor"?: string, //Value of the `next_cursor` field sent as part of the previous API response + * "limit"?: int, //The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive + * "team_id"?: string, //ID for the workspace where the invite requests were made. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:read` + * } $headerParameters * - * @var string $cursor Value of the `next_cursor` field sent as part of the previous API response - * @var int $limit The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive - * @var string $team_id ID for the workspace where the invite requests were made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminInviteRequestsListGetResponse200|Model\AdminInviteRequestsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminInviteRequestsListGetResponse200|Model\AdminInviteRequestsListGetResponsedefault */ - public function adminInviteRequestsList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminInviteRequestsList(array $queryParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminInviteRequestsList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminInviteRequestsList($queryParameters, $headerParameters)); } /** * List all of the admins on a given workspace. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit the maximum number of items to return - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. + * "team_id": string, + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsAdminsListGetResponse200|Model\AdminTeamsAdminsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsAdminsListGetResponse200|Model\AdminTeamsAdminsListGetResponsedefault */ - public function adminTeamsAdminsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsAdminsList(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\AdminTeamsAdminsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsAdminsList($queryParameters)); } /** * Create an Enterprise team. * - * @param array $formParameters { - * - * @var string $team_description description for the team - * @var string $team_discoverability Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. - * @var string $team_domain team domain (for example, slacksoftballteam) - * @var string $team_name Team name (for example, Slack Softball Team). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "team_description"?: string, //Description for the team. + * "team_discoverability"?: string, //Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. + * "team_domain": string, //Team domain (for example, slacksoftballteam). + * "team_name": string, //Team name (for example, Slack Softball Team). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminTeamsCreatePostResponse200|Model\AdminTeamsCreatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsCreatePostResponse200|Model\AdminTeamsCreatePostResponsedefault */ - public function adminTeamsCreate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsCreate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminTeamsCreate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsCreate($formParameters, $headerParameters)); } /** * List all teams on an Enterprise organization. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 100 both inclusive. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 100 both inclusive. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminTeamsListGetResponse200|Model\AdminTeamsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsListGetResponse200|Model\AdminTeamsListGetResponsedefault */ - public function adminTeamsList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsList(array $queryParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminTeamsList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsList($queryParameters, $headerParameters)); } /** * List all of the owners on a given workspace. * - * @param array $queryParameters { + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id": string, + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $queryParameters * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsOwnersListGetResponse200|Model\AdminTeamsOwnersListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsOwnersListGetResponse200|Model\AdminTeamsOwnersListGetResponsedefault */ - public function adminTeamsOwnersList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsOwnersList(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\AdminTeamsOwnersList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsOwnersList($queryParameters)); } /** * Fetch information about settings in a workspace. * - * @param array $queryParameters { - * - * @var string $team_id - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "team_id": string, + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsSettingsInfoGetResponse200|Model\AdminTeamsSettingsInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsSettingsInfoGetResponse200|Model\AdminTeamsSettingsInfoGetResponsedefault */ - public function adminTeamsSettingsInfo(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsSettingsInfo(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsInfo($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsInfo($queryParameters, $headerParameters)); } /** * Set the default channels of a workspace. * - * @param array $formParameters { - * - * @var string $channel_ids an array of channel IDs - * @var string $team_id ID for the workspace to set the default channel for - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel_ids": string, //An array of channel IDs. + * "team_id": string, //ID for the workspace to set the default channel for. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters * - * @return ($fetch is 'object' ? Model\AdminTeamsSettingsSetDefaultChannelsPostResponse200|Model\AdminTeamsSettingsSetDefaultChannelsPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsSettingsSetDefaultChannelsPostResponse200|Model\AdminTeamsSettingsSetDefaultChannelsPostResponsedefault */ - public function adminTeamsSettingsSetDefaultChannels(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsSettingsSetDefaultChannels(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetDefaultChannels($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetDefaultChannels($formParameters)); } /** * Set the description of a given workspace. * - * @param array $formParameters { - * - * @var string $description the new description for the workspace - * @var string $team_id ID for the workspace to set the description for. - * } - * - * @param array $headerParameters { + * @param array{ + * "description": string, //The new description for the workspace. + * "team_id": string, //ID for the workspace to set the description for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsSettingsSetDescriptionPostResponse200|Model\AdminTeamsSettingsSetDescriptionPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsSettingsSetDescriptionPostResponse200|Model\AdminTeamsSettingsSetDescriptionPostResponsedefault */ - public function adminTeamsSettingsSetDescription(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsSettingsSetDescription(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetDescription($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetDescription($formParameters, $headerParameters)); } /** * An API method that allows admins to set the discoverability of a given workspace. * - * @param array $formParameters { - * - * @var string $discoverability This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. - * @var string $team_id The ID of the workspace to set discoverability on. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "discoverability": string, //This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. + * "team_id": string, //The ID of the workspace to set discoverability on. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsSettingsSetDiscoverabilityPostResponse200|Model\AdminTeamsSettingsSetDiscoverabilityPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsSettingsSetDiscoverabilityPostResponse200|Model\AdminTeamsSettingsSetDiscoverabilityPostResponsedefault */ - public function adminTeamsSettingsSetDiscoverability(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsSettingsSetDiscoverability(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetDiscoverability($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetDiscoverability($formParameters, $headerParameters)); } /** * Sets the icon of a workspace. * - * @param array $formParameters { - * - * @var string $image_url Image URL for the icon - * @var string $team_id ID for the workspace to set the icon for - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "image_url": string, //Image URL for the icon + * "team_id": string, //ID for the workspace to set the icon for. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsSettingsSetIconPostResponse200|Model\AdminTeamsSettingsSetIconPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsSettingsSetIconPostResponse200|Model\AdminTeamsSettingsSetIconPostResponsedefault */ - public function adminTeamsSettingsSetIcon(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsSettingsSetIcon(array $formParameters) { - return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetIcon($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetIcon($formParameters)); } /** * Set the name of a given workspace. * - * @param array $formParameters { - * - * @var string $name the new name of the workspace - * @var string $team_id ID for the workspace to set the name for. - * } + * @param array{ + * "name": string, //The new name of the workspace. + * "team_id": string, //ID for the workspace to set the name for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminTeamsSettingsSetNamePostResponse200|Model\AdminTeamsSettingsSetNamePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminTeamsSettingsSetNamePostResponse200|Model\AdminTeamsSettingsSetNamePostResponsedefault */ - public function adminTeamsSettingsSetName(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminTeamsSettingsSetName(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetName($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminTeamsSettingsSetName($formParameters, $headerParameters)); } /** * Add one or more default channels to an IDP group. * - * @param array $formParameters { - * - * @var string $channel_ids comma separated string of channel IDs - * @var string $team_id the workspace to add default channels in - * @var string $usergroup_id ID of the IDP group to add default channels for. - * } - * - * @param array $headerParameters { + * @param array{ + * "channel_ids": string, //Comma separated string of channel IDs. + * "team_id"?: string, //The workspace to add default channels in. + * "usergroup_id": string, //ID of the IDP group to add default channels for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.usergroups:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.usergroups:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsergroupsAddChannelsPostResponse200|Model\AdminUsergroupsAddChannelsPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsergroupsAddChannelsPostResponse200|Model\AdminUsergroupsAddChannelsPostResponsedefault */ - public function adminUsergroupsAddChannels(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsergroupsAddChannels(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsergroupsAddChannels($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsergroupsAddChannels($formParameters, $headerParameters)); } /** * Associate one or more default workspaces with an organization-wide IDP group. * - * @param array $formParameters { - * - * @var bool $auto_provision when `true`, this method automatically creates new workspace accounts for the IDP group members - * @var string $team_ids A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. - * @var string $usergroup_id An encoded usergroup (IDP Group) ID. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "auto_provision"?: bool, //When `true`, this method automatically creates new workspace accounts for the IDP group members. + * "team_ids": string, //A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. + * "usergroup_id": string, //An encoded usergroup (IDP Group) ID. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsergroupsAddTeamsPostResponse200|Model\AdminUsergroupsAddTeamsPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsergroupsAddTeamsPostResponse200|Model\AdminUsergroupsAddTeamsPostResponsedefault */ - public function adminUsergroupsAddTeams(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsergroupsAddTeams(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsergroupsAddTeams($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsergroupsAddTeams($formParameters, $headerParameters)); } /** * List the channels linked to an org-level IDP group (user group). * - * @param array $queryParameters { - * - * @var bool $include_num_members flag to include or exclude the count of members per channel - * @var string $team_id ID of the the workspace - * @var string $usergroup_id ID of the IDP group to list default channels for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.usergroups:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "include_num_members"?: bool, //Flag to include or exclude the count of members per channel. + * "team_id"?: string, //ID of the the workspace. + * "usergroup_id": string, //ID of the IDP group to list default channels for. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.usergroups:read` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminUsergroupsListChannelsGetResponse200|Model\AdminUsergroupsListChannelsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsergroupsListChannelsGetResponse200|Model\AdminUsergroupsListChannelsGetResponsedefault */ - public function adminUsergroupsListChannels(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsergroupsListChannels(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsergroupsListChannels($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsergroupsListChannels($queryParameters, $headerParameters)); } /** * Remove one or more default channels from an org-level IDP group (user group). * - * @param array $formParameters { - * - * @var string $channel_ids Comma-separated string of channel IDs - * @var string $usergroup_id ID of the IDP Group - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.usergroups:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel_ids": string, //Comma-separated string of channel IDs + * "usergroup_id": string, //ID of the IDP Group + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.usergroups:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminUsergroupsRemoveChannelsPostResponse200|Model\AdminUsergroupsRemoveChannelsPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsergroupsRemoveChannelsPostResponse200|Model\AdminUsergroupsRemoveChannelsPostResponsedefault */ - public function adminUsergroupsRemoveChannels(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsergroupsRemoveChannels(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsergroupsRemoveChannels($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsergroupsRemoveChannels($formParameters, $headerParameters)); } /** * Add an Enterprise user to a workspace. * - * @param array $formParameters { + * @param array{ + * "channel_ids"?: string, //Comma separated values of channel IDs to add user in the new workspace. + * "is_restricted"?: bool, //True if user should be added to the workspace as a guest. + * "is_ultra_restricted"?: bool, //True if user should be added to the workspace as a single-channel guest. + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to add to the workspace. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @var string $channel_ids comma separated values of channel IDs to add user in the new workspace - * @var bool $is_restricted true if user should be added to the workspace as a guest - * @var bool $is_ultra_restricted true if user should be added to the workspace as a single-channel guest - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to add to the workspace. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersAssignPostResponse200|Model\AdminUsersAssignPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersAssignPostResponse200|Model\AdminUsersAssignPostResponsedefault */ - public function adminUsersAssign(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersAssign(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersAssign($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersAssign($formParameters, $headerParameters)); } /** * Invite a user to a workspace. * - * @param array $formParameters { - * - * @var string $channel_ids A comma-separated list of `channel_id`s for this user to join. At least one channel is required. - * @var string $custom_message an optional message to send to the user in the invite email - * @var string $email the email address of the person to invite - * @var string $guest_expiration_ts Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. - * @var bool $is_restricted Is this user a multi-channel guest user? (default: false) - * @var bool $is_ultra_restricted Is this user a single channel guest user? (default: false) - * @var string $real_name full name of the user - * @var bool $resend Allow this invite to be resent in the future if a user has not signed up yet. (default: false) - * @var string $team_id The ID (`T1234`) of the workspace. - * } + * @param array{ + * "channel_ids": string, //A comma-separated list of `channel_id`s for this user to join. At least one channel is required. + * "custom_message"?: string, //An optional message to send to the user in the invite email. + * "email": string, //The email address of the person to invite. + * "guest_expiration_ts"?: string, //Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. + * "is_restricted"?: bool, //Is this user a multi-channel guest user? (default: false) + * "is_ultra_restricted"?: bool, //Is this user a single channel guest user? (default: false) + * "real_name"?: string, //Full name of the user. + * "resend"?: bool, //Allow this invite to be resent in the future if a user has not signed up yet. (default: false) + * "team_id": string, //The ID (`T1234`) of the workspace. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersInvitePostResponse200|Model\AdminUsersInvitePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersInvitePostResponse200|Model\AdminUsersInvitePostResponsedefault */ - public function adminUsersInvite(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersInvite(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersInvite($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersInvite($formParameters, $headerParameters)); } /** * List users on a workspace. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit Limit for how many users to be retrieved per page - * @var string $team_id The ID (`T1234`) of the workspace. - * } - * - * @param array $headerParameters { + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //Limit for how many users to be retrieved per page + * "team_id": string, //The ID (`T1234`) of the workspace. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:read` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.users:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersListGetResponse200|Model\AdminUsersListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersListGetResponse200|Model\AdminUsersListGetResponsedefault */ - public function adminUsersList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersList(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersList($queryParameters, $headerParameters)); } /** * Remove a user from a workspace. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to remove. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to remove. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersRemovePostResponse200|Model\AdminUsersRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersRemovePostResponse200|Model\AdminUsersRemovePostResponsedefault */ - public function adminUsersRemove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersRemove(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersRemove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersRemove($formParameters, $headerParameters)); } /** * Invalidate a single session for a user by session_id. * - * @param array $formParameters { - * - * @var int $session_id - * @var string $team_id ID of the team that the session belongs to - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "session_id": int, + * "team_id": string, //ID of the team that the session belongs to + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersSessionInvalidatePostResponse200|Model\AdminUsersSessionInvalidatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersSessionInvalidatePostResponse200|Model\AdminUsersSessionInvalidatePostResponsedefault */ - public function adminUsersSessionInvalidate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersSessionInvalidate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersSessionInvalidate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersSessionInvalidate($formParameters, $headerParameters)); } /** * Wipes all valid sessions on all devices for a given user. * - * @param array $formParameters { - * - * @var bool $mobile_only Only expire mobile sessions (default: false) - * @var string $user_id The ID of the user to wipe sessions for - * @var bool $web_only Only expire web sessions (default: false) - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "mobile_only"?: bool, //Only expire mobile sessions (default: false) + * "user_id": string, //The ID of the user to wipe sessions for + * "web_only"?: bool, //Only expire web sessions (default: false) + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\AdminUsersSessionResetPostResponse200|Model\AdminUsersSessionResetPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersSessionResetPostResponse200|Model\AdminUsersSessionResetPostResponsedefault */ - public function adminUsersSessionReset(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersSessionReset(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersSessionReset($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersSessionReset($formParameters, $headerParameters)); } /** * Set an existing guest, regular user, or owner to be an admin user. * - * @param array $formParameters { + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to designate as an admin. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to designate as an admin. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersSetAdminPostResponse200|Model\AdminUsersSetAdminPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersSetAdminPostResponse200|Model\AdminUsersSetAdminPostResponsedefault */ - public function adminUsersSetAdmin(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersSetAdmin(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersSetAdmin($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersSetAdmin($formParameters, $headerParameters)); } /** * Set an expiration for a guest user. * - * @param array $formParameters { - * - * @var int $expiration_ts timestamp when guest account should be disabled - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to set an expiration for. - * } + * @param array{ + * "expiration_ts": int, //Timestamp when guest account should be disabled. + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to set an expiration for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersSetExpirationPostResponse200|Model\AdminUsersSetExpirationPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersSetExpirationPostResponse200|Model\AdminUsersSetExpirationPostResponsedefault */ - public function adminUsersSetExpiration(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersSetExpiration(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersSetExpiration($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersSetExpiration($formParameters, $headerParameters)); } /** * Set an existing guest, regular user, or admin user to be a workspace owner. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id Id of the user to promote to owner. - * } - * - * @param array $headerParameters { + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //Id of the user to promote to owner. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersSetOwnerPostResponse200|Model\AdminUsersSetOwnerPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersSetOwnerPostResponse200|Model\AdminUsersSetOwnerPostResponsedefault */ - public function adminUsersSetOwner(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersSetOwner(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersSetOwner($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersSetOwner($formParameters, $headerParameters)); } /** * Set an existing guest user, admin user, or owner to be a regular user. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to designate as a regular user. - * } - * - * @param array $headerParameters { + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to designate as a regular user. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AdminUsersSetRegularPostResponse200|Model\AdminUsersSetRegularPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AdminUsersSetRegularPostResponse200|Model\AdminUsersSetRegularPostResponsedefault */ - public function adminUsersSetRegular(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function adminUsersSetRegular(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AdminUsersSetRegular($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AdminUsersSetRegular($formParameters, $headerParameters)); } /** * Checks API calling code. * - * @param array $queryParameters { - * - * @var string $error Error response to return - * @var string $foo example property to return - * } + * @param array{ + * "error"?: string, //Error response to return + * "foo"?: string, //example property to return + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ApiTestGetResponse200|Model\ApiTestGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ApiTestGetResponse200|Model\ApiTestGetResponsedefault */ - public function apiTest(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function apiTest(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ApiTest($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ApiTest($queryParameters)); } /** * Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to. * - * @param array $queryParameters { - * - * @var string $cursor - * @var string $event_context - * @var int $limit - * } + * @param array{ + * "cursor"?: string, + * "event_context": string, + * "limit"?: int, + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `authorizations:read` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `authorizations:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AppsEventAuthorizationsListGetResponse200|Model\AppsEventAuthorizationsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsEventAuthorizationsListGetResponse200|Model\AppsEventAuthorizationsListGetResponsedefault */ - public function appsEventAuthorizationsList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsEventAuthorizationsList(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AppsEventAuthorizationsList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsEventAuthorizationsList($queryParameters, $headerParameters)); } /** * Returns list of permissions this app has on a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @return ($fetch is 'object' ? Model\AppsPermissionsInfoGetResponse200|Model\AppsPermissionsInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsPermissionsInfoGetResponse200|Model\AppsPermissionsInfoGetResponsedefault */ - public function appsPermissionsInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsPermissionsInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AppsPermissionsInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsPermissionsInfo($queryParameters)); } /** * Allows an app to request additional scopes. * - * @param array $queryParameters { + * @param array{ + * "scopes": string, //A comma separated list of scopes to request for + * "token"?: string, //Authentication token. Requires scope: `none` + * "trigger_id": string, //Token used to trigger the permissions API + * } $queryParameters * - * @var string $scopes A comma separated list of scopes to request for - * @var string $token Authentication token. Requires scope: `none` - * @var string $trigger_id Token used to trigger the permissions API - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AppsPermissionsRequestGetResponse200|Model\AppsPermissionsRequestGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsPermissionsRequestGetResponse200|Model\AppsPermissionsRequestGetResponsedefault */ - public function appsPermissionsRequest(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsPermissionsRequest(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\AppsPermissionsRequest($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsPermissionsRequest($queryParameters)); } /** * Returns list of resource grants this app has on a team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit the maximum number of items to return - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AppsPermissionsResourcesListGetResponse200|Model\AppsPermissionsResourcesListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsPermissionsResourcesListGetResponse200|Model\AppsPermissionsResourcesListGetResponsedefault */ - public function appsPermissionsResourcesList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsPermissionsResourcesList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AppsPermissionsResourcesList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsPermissionsResourcesList($queryParameters)); } /** * Returns list of scopes this app has on a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AppsPermissionsScopesListGetResponse200|Model\AppsPermissionsScopesListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsPermissionsScopesListGetResponse200|Model\AppsPermissionsScopesListGetResponsedefault */ - public function appsPermissionsScopesList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsPermissionsScopesList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AppsPermissionsScopesList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsPermissionsScopesList($queryParameters)); } /** * Returns list of user grants and corresponding scopes this app has on a team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit the maximum number of items to return - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AppsPermissionsUsersListGetResponse200|Model\AppsPermissionsUsersListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsPermissionsUsersListGetResponse200|Model\AppsPermissionsUsersListGetResponsedefault */ - public function appsPermissionsUsersList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsPermissionsUsersList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AppsPermissionsUsersList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsPermissionsUsersList($queryParameters)); } /** * Enables an app to trigger a permissions modal to grant an app access to a user access scope. * - * @param array $queryParameters { - * - * @var string $scopes A comma separated list of user scopes to request for - * @var string $token Authentication token. Requires scope: `none` - * @var string $trigger_id Token used to trigger the request - * @var string $user The user this scope is being requested for - * } + * @param array{ + * "scopes": string, //A comma separated list of user scopes to request for + * "token"?: string, //Authentication token. Requires scope: `none` + * "trigger_id": string, //Token used to trigger the request + * "user": string, //The user this scope is being requested for + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AppsPermissionsUsersRequestGetResponse200|Model\AppsPermissionsUsersRequestGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsPermissionsUsersRequestGetResponse200|Model\AppsPermissionsUsersRequestGetResponsedefault */ - public function appsPermissionsUsersRequest(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsPermissionsUsersRequest(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\AppsPermissionsUsersRequest($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsPermissionsUsersRequest($queryParameters)); } /** * Uninstalls your app from a workspace. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $token Authentication token. Requires scope: `none` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @return ($fetch is 'object' ? Model\AppsUninstallGetResponse200|Model\AppsUninstallGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AppsUninstallGetResponse200|Model\AppsUninstallGetResponsedefault */ - public function appsUninstall(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function appsUninstall(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AppsUninstall($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AppsUninstall($queryParameters)); } /** * Revokes a token. * - * @param array $queryParameters { - * - * @var bool $test setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked - * @var string $token Authentication token. Requires scope: `none` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "test"?: bool, //Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @return ($fetch is 'object' ? Model\AuthRevokeGetResponse200|Model\AuthRevokeGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AuthRevokeGetResponse200|Model\AuthRevokeGetResponsedefault */ - public function authRevoke(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function authRevoke(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\AuthRevoke($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AuthRevoke($queryParameters)); } /** * Checks authentication & identity. * - * @param array $headerParameters { + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `none` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\AuthTestGetResponse200|Model\AuthTestGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\AuthTestGetResponse200|Model\AuthTestGetResponsedefault */ - public function authTest(array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function authTest(array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\AuthTest($headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AuthTest($headerParameters)); } /** * Gets information about a bot user. * - * @param array $queryParameters { - * - * @var string $bot Bot user to get info on - * @var string $token Authentication token. Requires scope: `users:read` - * } + * @param array{ + * "bot"?: string, //Bot user to get info on + * "token"?: string, //Authentication token. Requires scope: `users:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\BotsInfoGetResponse200|Model\BotsInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\BotsInfoGetResponse200|Model\BotsInfoGetResponsedefault */ - public function botsInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function botsInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\BotsInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\BotsInfo($queryParameters)); } /** * Registers a new Call. * - * @param array $formParameters { - * - * @var string $created_by The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required. - * @var int $date_start Call start time in UTC UNIX timestamp format - * @var string $desktop_app_join_url when supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL - * @var string $external_display_id An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object. - * @var string $external_unique_id An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service. - * @var string $join_url the URL required for a client to join the Call - * @var string $title the name of the Call - * @var string $users The list of users to register as participants in the Call. [Read more on how to specify users here](/apis/calls#users). - * } + * @param array{ + * "created_by"?: string, //The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required. + * "date_start"?: int, //Call start time in UTC UNIX timestamp format + * "desktop_app_join_url"?: string, //When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. + * "external_display_id"?: string, //An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object. + * "external_unique_id": string, //An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service. + * "join_url": string, //The URL required for a client to join the Call. + * "title"?: string, //The name of the Call. + * "users"?: string, //The list of users to register as participants in the Call. [Read more on how to specify users here](/apis/calls#users). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\CallsAddPostResponse200|Model\CallsAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\CallsAddPostResponse200|Model\CallsAddPostResponsedefault */ - public function callsAdd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function callsAdd(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\CallsAdd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CallsAdd($formParameters, $headerParameters)); } /** * Ends a Call. * - * @param array $formParameters { - * - * @var int $duration Call duration in seconds - * @var string $id `id` returned when registering the call using the [`calls.add`](/methods/calls.add) method. - * } - * - * @param array $headerParameters { + * @param array{ + * "duration"?: int, //Call duration in seconds + * "id": string, //`id` returned when registering the call using the [`calls.add`](/methods/calls.add) method. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `calls:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\CallsEndPostResponse200|Model\CallsEndPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\CallsEndPostResponse200|Model\CallsEndPostResponsedefault */ - public function callsEnd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function callsEnd(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\CallsEnd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CallsEnd($formParameters, $headerParameters)); } /** * Returns information about a Call. * - * @param array $queryParameters { - * - * @var string $id `id` of the Call returned by the [`calls.add`](/methods/calls.add) method. - * } - * - * @param array $headerParameters { + * @param array{ + * "id": string, //`id` of the Call returned by the [`calls.add`](/methods/calls.add) method. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:read` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `calls:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\CallsInfoGetResponse200|Model\CallsInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\CallsInfoGetResponse200|Model\CallsInfoGetResponsedefault */ - public function callsInfo(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function callsInfo(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\CallsInfo($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CallsInfo($queryParameters, $headerParameters)); } /** * Registers new participants added to a Call. * - * @param array $formParameters { - * - * @var string $id `id` returned by the [`calls.add`](/methods/calls.add) method. - * @var string $users The list of users to add as participants in the Call. [Read more on how to specify users here](/apis/calls#users). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } + * @param array{ + * "id": string, //`id` returned by the [`calls.add`](/methods/calls.add) method. + * "users": string, //The list of users to add as participants in the Call. [Read more on how to specify users here](/apis/calls#users). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\CallsParticipantsAddPostResponse200|Model\CallsParticipantsAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\CallsParticipantsAddPostResponse200|Model\CallsParticipantsAddPostResponsedefault */ - public function callsParticipantsAdd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function callsParticipantsAdd(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\CallsParticipantsAdd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CallsParticipantsAdd($formParameters, $headerParameters)); } /** * Registers participants removed from a Call. * - * @param array $formParameters { - * - * @var string $id `id` returned by the [`calls.add`](/methods/calls.add) method. - * @var string $users The list of users to remove as participants in the Call. [Read more on how to specify users here](/apis/calls#users). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "id": string, //`id` returned by the [`calls.add`](/methods/calls.add) method. + * "users": string, //The list of users to remove as participants in the Call. [Read more on how to specify users here](/apis/calls#users). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\CallsParticipantsRemovePostResponse200|Model\CallsParticipantsRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\CallsParticipantsRemovePostResponse200|Model\CallsParticipantsRemovePostResponsedefault */ - public function callsParticipantsRemove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function callsParticipantsRemove(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\CallsParticipantsRemove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CallsParticipantsRemove($formParameters, $headerParameters)); } /** * Updates information about a Call. * - * @param array $formParameters { + * @param array{ + * "desktop_app_join_url"?: string, //When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. + * "id": string, //`id` returned by the [`calls.add`](/methods/calls.add) method. + * "join_url"?: string, //The URL required for a client to join the Call. + * "title"?: string, //The name of the Call. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters * - * @var string $desktop_app_join_url when supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL - * @var string $id `id` returned by the [`calls.add`](/methods/calls.add) method. - * @var string $join_url the URL required for a client to join the Call - * @var string $title The name of the Call. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\CallsUpdatePostResponse200|Model\CallsUpdatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\CallsUpdatePostResponse200|Model\CallsUpdatePostResponsedefault */ - public function callsUpdate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function callsUpdate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\CallsUpdate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CallsUpdate($formParameters, $headerParameters)); } /** * Deletes a message. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. - * @var string $channel channel containing the message to be deleted - * @var string $ts Timestamp of the message to be deleted. - * } + * @param array{ + * "as_user"?: bool, //Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. + * "channel"?: string, //Channel containing the message to be deleted. + * "ts"?: string, //Timestamp of the message to be deleted. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatDeletePostResponse200|Model\ChatDeletePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatDeletePostResponse200|Model\ChatDeletePostResponsedefault */ - public function chatDelete(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatDelete(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatDelete($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatDelete($formParameters, $headerParameters)); } /** * Deletes a pending scheduled message from the queue. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. - * @var string $channel The channel the scheduled_message is posting to - * @var string $scheduled_message_id `scheduled_message_id` returned from call to chat.scheduleMessage - * } + * @param array{ + * "as_user"?: bool, //Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. + * "channel": string, //The channel the scheduled_message is posting to + * "scheduled_message_id": string, //`scheduled_message_id` returned from call to chat.scheduleMessage + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatDeleteScheduledMessagePostResponse200|Model\ChatDeleteScheduledMessagePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatDeleteScheduledMessagePostResponse200|Model\ChatDeleteScheduledMessagePostResponsedefault */ - public function chatDeleteScheduledMessage(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatDeleteScheduledMessage(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatDeleteScheduledMessage($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatDeleteScheduledMessage($formParameters, $headerParameters)); } /** * Retrieve a permalink URL for a specific extant message. * - * @param array $queryParameters { - * - * @var string $channel The ID of the conversation or channel containing the message - * @var string $message_ts A message's `ts` value, uniquely identifying it within a channel - * @var string $token Authentication token. Requires scope: `none` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel": string, //The ID of the conversation or channel containing the message + * "message_ts": string, //A message's `ts` value, uniquely identifying it within a channel + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters * - * @return ($fetch is 'object' ? Model\ChatGetPermalinkGetResponse200|Model\ChatGetPermalinkGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatGetPermalinkGetResponse200|Model\ChatGetPermalinkGetResponsedefault */ - public function chatGetPermalink(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatGetPermalink(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\ChatGetPermalink($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatGetPermalink($queryParameters)); } /** * Share a me message into a channel. * - * @param array $formParameters { + * @param array{ + * "channel"?: string, //Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. + * "text"?: string, //Text of the message to send. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @var string $channel Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. - * @var string $text Text of the message to send. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatMeMessagePostResponse200|Model\ChatMeMessagePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatMeMessagePostResponse200|Model\ChatMeMessagePostResponsedefault */ - public function chatMeMessage(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatMeMessage(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatMeMessage($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatMeMessage($formParameters, $headerParameters)); } /** * Sends an ephemeral message to a user in a channel. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false. - * @var string $attachments a JSON-based array of structured attachments, presented as a URL-encoded string - * @var string $blocks a JSON-based array of structured blocks, presented as a URL-encoded string - * @var string $channel Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. - * @var string $icon_emoji Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. - * @var string $icon_url URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * @var bool $link_names find and link channel names and usernames - * @var string $parse Change how messages are treated. Defaults to `none`. See [below](#formatting). - * @var string $text How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. - * @var string $thread_ts Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread. - * @var string $user `id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument. - * @var string $username Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * } + * @param array{ + * "as_user"?: bool, //Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false. + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. + * "blocks"?: string, //A JSON-based array of structured blocks, presented as a URL-encoded string. + * "channel": string, //Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. + * "icon_emoji"?: string, //Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. + * "icon_url"?: string, //URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * "link_names"?: bool, //Find and link channel names and usernames. + * "parse"?: string, //Change how messages are treated. Defaults to `none`. See [below](#formatting). + * "text"?: string, //How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. + * "thread_ts"?: string, //Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread. + * "user": string, //`id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument. + * "username"?: string, //Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatPostEphemeralPostResponse200|Model\ChatPostEphemeralPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatPostEphemeralPostResponse200|Model\ChatPostEphemeralPostResponsedefault */ - public function chatPostEphemeral(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatPostEphemeral(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatPostEphemeral($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatPostEphemeral($formParameters, $headerParameters)); } /** * Sends a message to a channel. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](#authorship) below. - * @var string $attachments a JSON-based array of structured attachments, presented as a URL-encoded string - * @var string $blocks a JSON-based array of structured blocks, presented as a URL-encoded string - * @var string $channel Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. - * @var string $icon_emoji Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. - * @var string $icon_url URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * @var bool $link_names find and link channel names and usernames - * @var string $metadata JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. - * @var bool $mrkdwn Disable Slack markup parsing by setting to `false`. Enabled by default. - * @var string $parse Change how messages are treated. Defaults to `none`. See [below](#formatting). - * @var bool $reply_broadcast Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. - * @var string $text How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. - * @var string $thread_ts Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. - * @var bool $unfurl_links pass true to enable unfurling of primarily text-based content - * @var bool $unfurl_media pass false to disable unfurling of media content - * @var string $username Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * } - * - * @param array $headerParameters { + * @param array{ + * "as_user"?: bool, //Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](#authorship) below. + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. + * "blocks"?: string, //A JSON-based array of structured blocks, presented as a URL-encoded string. + * "channel": string, //Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. + * "icon_emoji"?: string, //Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. + * "icon_url"?: string, //URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * "link_names"?: bool, //Find and link channel names and usernames. + * "metadata"?: string, //JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. + * "mrkdwn"?: bool, //Disable Slack markup parsing by setting to `false`. Enabled by default. + * "parse"?: string, //Change how messages are treated. Defaults to `none`. See [below](#formatting). + * "reply_broadcast"?: bool, //Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. + * "text"?: string, //How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. + * "thread_ts"?: string, //Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. + * "unfurl_links"?: bool, //Pass true to enable unfurling of primarily text-based content. + * "unfurl_media"?: bool, //Pass false to disable unfurling of media content. + * "username"?: string, //Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatPostMessagePostResponse200|Model\ChatPostMessagePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatPostMessagePostResponse200|Model\ChatPostMessagePostResponsedefault */ - public function chatPostMessage(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatPostMessage(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatPostMessage($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatPostMessage($formParameters, $headerParameters)); } /** * Schedules a message to be sent to a channel. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [chat.postMessage](chat.postMessage#authorship). - * @var string $attachments a JSON-based array of structured attachments, presented as a URL-encoded string - * @var string $blocks a JSON-based array of structured blocks, presented as a URL-encoded string - * @var string $channel Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. - * @var bool $link_names find and link channel names and usernames - * @var string $parse Change how messages are treated. Defaults to `none`. See [chat.postMessage](chat.postMessage#formatting). - * @var int $post_at unix EPOCH timestamp of time in future to send the message - * @var bool $reply_broadcast Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. - * @var string $text How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. - * @var string $thread_ts Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. - * @var bool $unfurl_links pass true to enable unfurling of primarily text-based content - * @var bool $unfurl_media Pass false to disable unfurling of media content. - * } - * - * @param array $headerParameters { + * @param array{ + * "as_user"?: bool, //Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [chat.postMessage](chat.postMessage#authorship). + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. + * "blocks"?: string, //A JSON-based array of structured blocks, presented as a URL-encoded string. + * "channel"?: string, //Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. + * "link_names"?: bool, //Find and link channel names and usernames. + * "parse"?: string, //Change how messages are treated. Defaults to `none`. See [chat.postMessage](chat.postMessage#formatting). + * "post_at"?: int, //Unix EPOCH timestamp of time in future to send the message. + * "reply_broadcast"?: bool, //Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. + * "text"?: string, //How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. + * "thread_ts"?: string, //Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. + * "unfurl_links"?: bool, //Pass true to enable unfurling of primarily text-based content. + * "unfurl_media"?: bool, //Pass false to disable unfurling of media content. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatScheduleMessagePostResponse200|Model\ChatScheduleMessagePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatScheduleMessagePostResponse200|Model\ChatScheduleMessagePostResponsedefault */ - public function chatScheduleMessage(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatScheduleMessage(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatScheduleMessage($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatScheduleMessage($formParameters, $headerParameters)); } /** * Returns a list of scheduled messages. * - * @param array $queryParameters { - * - * @var string $channel The channel of the scheduled messages - * @var string $cursor For pagination purposes, this is the `cursor` value returned from a previous call to `chat.scheduledmessages.list` indicating where you want to start this call from. - * @var string $latest A UNIX timestamp of the latest value in the time range - * @var int $limit maximum number of original entries to return - * @var string $oldest A UNIX timestamp of the oldest value in the time range - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "channel"?: string, //The channel of the scheduled messages + * "cursor"?: string, //For pagination purposes, this is the `cursor` value returned from a previous call to `chat.scheduledmessages.list` indicating where you want to start this call from. + * "latest"?: string, //A UNIX timestamp of the latest value in the time range + * "limit"?: int, //Maximum number of original entries to return. + * "oldest"?: string, //A UNIX timestamp of the oldest value in the time range + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatScheduledMessagesListGetResponse200|Model\ChatScheduledMessagesListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatScheduledMessagesListGetResponse200|Model\ChatScheduledMessagesListGetResponsedefault */ - public function chatScheduledMessagesList(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatScheduledMessagesList(array $queryParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatScheduledMessagesList($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatScheduledMessagesList($queryParameters, $headerParameters)); } /** * Provide custom unfurl behavior for user-posted URLs. * - * @param array $formParameters { - * - * @var string $channel Channel ID of the message - * @var string $ts timestamp of the message to add unfurl behavior to - * @var string $unfurls URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments - * @var string $user_auth_message Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior - * @var bool $user_auth_required Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain - * @var string $user_auth_url Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `links:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel": string, //Channel ID of the message + * "ts": string, //Timestamp of the message to add unfurl behavior to. + * "unfurls"?: string, //URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments. + * "user_auth_message"?: string, //Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior + * "user_auth_required"?: bool, //Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain + * "user_auth_url"?: string, //Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `links:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\ChatUnfurlPostResponse200|Model\ChatUnfurlPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatUnfurlPostResponse200|Model\ChatUnfurlPostResponsedefault */ - public function chatUnfurl(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatUnfurl(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatUnfurl($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatUnfurl($formParameters, $headerParameters)); } /** * Updates a message. * - * @param array $formParameters { + * @param array{ + * "as_user"?: bool, //Pass true to update the message as the authed user. [Bot users](/bot-users) in this context are considered authed users. + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`. If you don't include this field, the message's previous `attachments` will be retained. To remove previous `attachments`, include an empty array for this field. + * "blocks"?: string, //A JSON-based array of [structured blocks](/block-kit/building), presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field. + * "channel": string, //Channel containing the message to be updated. + * "link_names"?: string, //Find and link channel names and usernames. Defaults to `none`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `none`. + * "parse"?: string, //Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. Accepts either `none` or `full`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `client`. + * "text"?: string, //New text for the message, using the [default formatting rules](/reference/surfaces/formatting). It's not required when presenting `blocks` or `attachments`. + * "ts": string, //Timestamp of the message to be updated. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters * - * @var bool $as_user Pass true to update the message as the authed user. [Bot users](/bot-users) in this context are considered authed users. - * @var string $attachments A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`. If you don't include this field, the message's previous `attachments` will be retained. To remove previous `attachments`, include an empty array for this field. - * @var string $blocks A JSON-based array of [structured blocks](/block-kit/building), presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field. - * @var string $channel channel containing the message to be updated - * @var string $link_names Find and link channel names and usernames. Defaults to `none`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `none`. - * @var string $parse Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. Accepts either `none` or `full`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `client`. - * @var string $text New text for the message, using the [default formatting rules](/reference/surfaces/formatting). It's not required when presenting `blocks` or `attachments`. - * @var string $ts Timestamp of the message to be updated. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ChatUpdatePostResponse200|Model\ChatUpdatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ChatUpdatePostResponse200|Model\ChatUpdatePostResponsedefault */ - public function chatUpdate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function chatUpdate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ChatUpdate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ChatUpdate($formParameters, $headerParameters)); } /** * Archives a conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to archive - * } + * @param array{ + * "channel"?: string, //ID of conversation to archive + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsArchivePostResponse200|Model\ConversationsArchivePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsArchivePostResponse200|Model\ConversationsArchivePostResponsedefault */ - public function conversationsArchive(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsArchive(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsArchive($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsArchive($formParameters, $headerParameters)); } /** * Closes a direct message or multi-person direct message. * - * @param array $formParameters { - * - * @var string $channel Conversation to close. - * } + * @param array{ + * "channel"?: string, //Conversation to close. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsClosePostResponse200|Model\ConversationsClosePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsClosePostResponse200|Model\ConversationsClosePostResponsedefault */ - public function conversationsClose(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsClose(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsClose($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsClose($formParameters, $headerParameters)); } /** * Initiates a public or private channel-based conversation. * - * @param array $formParameters { - * - * @var bool $is_private Create a private channel instead of a public one - * @var string $name Name of the public or private channel to create - * } - * - * @param array $headerParameters { + * @param array{ + * "is_private"?: bool, //Create a private channel instead of a public one + * "name"?: string, //Name of the public or private channel to create + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsCreatePostResponse200|Model\ConversationsCreatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsCreatePostResponse200|Model\ConversationsCreatePostResponsedefault */ - public function conversationsCreate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsCreate(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsCreate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsCreate($formParameters, $headerParameters)); } /** * Fetches a conversation's history of messages and events. * - * @param array $queryParameters { - * - * @var string $channel conversation ID to fetch history for - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $include_all_metadata return all metadata associated with this message - * @var bool $inclusive include messages with latest or oldest timestamp in results only when either timestamp is specified - * @var string $latest end of time range of messages to include in results - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. - * @var string $oldest start of time range of messages to include in results - * @var string $token Authentication token. Requires scope: `conversations:history` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel"?: string, //Conversation ID to fetch history for. + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "include_all_metadata"?: bool, //Return all metadata associated with this message. + * "inclusive"?: bool, //Include messages with latest or oldest timestamp in results only when either timestamp is specified. + * "latest"?: string, //End of time range of messages to include in results. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. + * "oldest"?: string, //Start of time range of messages to include in results. + * "token"?: string, //Authentication token. Requires scope: `conversations:history` + * } $queryParameters * - * @return ($fetch is 'object' ? Model\ConversationsHistoryGetResponse200|Model\ConversationsHistoryGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsHistoryGetResponse200|Model\ConversationsHistoryGetResponsedefault */ - public function conversationsHistory(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsHistory(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsHistory($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsHistory($queryParameters)); } /** * Retrieve information about a conversation. * - * @param array $queryParameters { + * @param array{ + * "channel"?: string, //Conversation ID to learn more about + * "include_locale"?: bool, //Set this to `true` to receive the locale for this conversation. Defaults to `false` + * "include_num_members"?: bool, //Set to `true` to include the member count for the specified conversation. Defaults to `false` + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * } $queryParameters * - * @var string $channel Conversation ID to learn more about - * @var bool $include_locale Set this to `true` to receive the locale for this conversation. Defaults to `false` - * @var bool $include_num_members Set to `true` to include the member count for the specified conversation. Defaults to `false` - * @var string $token Authentication token. Requires scope: `conversations:read` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsInfoGetResponse200|Model\ConversationsInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsInfoGetResponse200|Model\ConversationsInfoGetResponsedefault */ - public function conversationsInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsInfo($queryParameters)); } - - /** - * Invites users to a channel. - * - * @param array $formParameters { - * - * @var string $channel the ID of the public or private channel to invite user(s) to - * @var string $users A comma separated list of user IDs. Up to 1000 users may be listed. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + + /** + * Invites users to a channel. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array{ + * "channel"?: string, //The ID of the public or private channel to invite user(s) to. + * "users"?: string, //A comma separated list of user IDs. Up to 1000 users may be listed. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @return ($fetch is 'object' ? Model\ConversationsInvitePostResponse200|Model\ConversationsInvitePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsInvitePostResponse200|Model\ConversationsInvitePostResponsedefault */ - public function conversationsInvite(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsInvite(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsInvite($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsInvite($formParameters, $headerParameters)); } /** * Joins an existing conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to join - * } + * @param array{ + * "channel"?: string, //ID of conversation to join + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `channels:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `channels:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsJoinPostResponse200|Model\ConversationsJoinPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsJoinPostResponse200|Model\ConversationsJoinPostResponsedefault */ - public function conversationsJoin(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsJoin(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsJoin($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsJoin($formParameters, $headerParameters)); } /** * Removes a user from a conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to remove user from - * @var string $user User ID to be removed. - * } + * @param array{ + * "channel"?: string, //ID of conversation to remove user from. + * "user"?: string, //User ID to be removed. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsKickPostResponse200|Model\ConversationsKickPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsKickPostResponse200|Model\ConversationsKickPostResponsedefault */ - public function conversationsKick(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsKick(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsKick($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsKick($formParameters, $headerParameters)); } /** * Leaves a conversation. * - * @param array $formParameters { - * - * @var string $channel Conversation to leave - * } + * @param array{ + * "channel"?: string, //Conversation to leave + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsLeavePostResponse200|Model\ConversationsLeavePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsLeavePostResponse200|Model\ConversationsLeavePostResponsedefault */ - public function conversationsLeave(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsLeave(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsLeave($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsLeave($formParameters, $headerParameters)); } /** * Lists all channels in a Slack team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $exclude_archived Set to `true` to exclude archived channels from the list - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. - * @var string $team_id Encoded team id to list channels in, required if token belongs to org-wide app - * @var string $token Authentication token. Requires scope: `conversations:read` - * @var string $types Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "exclude_archived"?: bool, //Set to `true` to exclude archived channels from the list + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. + * "team_id"?: string, //Encoded team id to list channels in, required if token belongs to org-wide app + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * "types"?: string, //Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsListGetResponse200|Model\ConversationsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsListGetResponse200|Model\ConversationsListGetResponsedefault */ - public function conversationsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsList($queryParameters)); } /** * Sets the read cursor in a channel. * - * @param array $formParameters { - * - * @var string $channel channel or conversation to set the read cursor for - * @var string $ts Unique identifier of message you want marked as most recently seen in this conversation. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Channel or conversation to set the read cursor for. + * "ts"?: string, //Unique identifier of message you want marked as most recently seen in this conversation. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsMarkPostResponse200|Model\ConversationsMarkPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsMarkPostResponse200|Model\ConversationsMarkPostResponsedefault */ - public function conversationsMark(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsMark(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsMark($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsMark($formParameters, $headerParameters)); } /** * Retrieve members of a conversation. * - * @param array $queryParameters { - * - * @var string $channel ID of the conversation to retrieve members for - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. - * @var string $token Authentication token. Requires scope: `conversations:read` - * } + * @param array{ + * "channel"?: string, //ID of the conversation to retrieve members for + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsMembersGetResponse200|Model\ConversationsMembersGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsMembersGetResponse200|Model\ConversationsMembersGetResponsedefault */ - public function conversationsMembers(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsMembers(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsMembers($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsMembers($queryParameters)); } /** * Opens or resumes a direct message or multi-person direct message. * - * @param array $formParameters { - * - * @var string $channel Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. - * @var bool $return_im boolean, indicates you want the full IM channel definition in the response - * @var string $users Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. - * } + * @param array{ + * "channel"?: string, //Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. + * "return_im"?: bool, //Boolean, indicates you want the full IM channel definition in the response. + * "users"?: string, //Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsOpenPostResponse200|Model\ConversationsOpenPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsOpenPostResponse200|Model\ConversationsOpenPostResponsedefault */ - public function conversationsOpen(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsOpen(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsOpen($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsOpen($formParameters, $headerParameters)); } /** * Renames a conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to rename - * @var string $name New name for conversation. - * } + * @param array{ + * "channel"?: string, //ID of conversation to rename + * "name"?: string, //New name for conversation. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsRenamePostResponse200|Model\ConversationsRenamePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsRenamePostResponse200|Model\ConversationsRenamePostResponsedefault */ - public function conversationsRename(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsRename(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsRename($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsRename($formParameters, $headerParameters)); } /** * Retrieve a thread of messages posted to a conversation. * - * @param array $queryParameters { - * - * @var string $channel conversation ID to fetch thread from - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $inclusive include messages with latest or oldest timestamp in results only when either timestamp is specified - * @var string $latest end of time range of messages to include in results - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. - * @var string $oldest start of time range of messages to include in results - * @var string $token Authentication token. Requires scope: `conversations:history` - * @var string $ts Unique identifier of a thread's parent message. `ts` must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by `ts` will return - it is just an ordinary, unthreaded message. - * } + * @param array{ + * "channel"?: string, //Conversation ID to fetch thread from. + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "inclusive"?: bool, //Include messages with latest or oldest timestamp in results only when either timestamp is specified. + * "latest"?: string, //End of time range of messages to include in results. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. + * "oldest"?: string, //Start of time range of messages to include in results. + * "token"?: string, //Authentication token. Requires scope: `conversations:history` + * "ts"?: string, //Unique identifier of a thread's parent message. `ts` must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by `ts` will return - it is just an ordinary, unthreaded message. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsRepliesGetResponse200|Model\ConversationsRepliesGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsRepliesGetResponse200|Model\ConversationsRepliesGetResponsedefault */ - public function conversationsReplies(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsReplies(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsReplies($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsReplies($queryParameters)); } /** * Sets the purpose for a conversation. * - * @param array $formParameters { - * - * @var string $channel Conversation to set the purpose of - * @var string $purpose A new, specialer purpose - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Conversation to set the purpose of + * "purpose"?: string, //A new, specialer purpose + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsSetPurposePostResponse200|Model\ConversationsSetPurposePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsSetPurposePostResponse200|Model\ConversationsSetPurposePostResponsedefault */ - public function conversationsSetPurpose(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsSetPurpose(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsSetPurpose($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsSetPurpose($formParameters, $headerParameters)); } /** * Sets the topic for a conversation. * - * @param array $formParameters { - * - * @var string $channel Conversation to set the topic of - * @var string $topic The new topic string. Does not support formatting or linkification. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Conversation to set the topic of + * "topic"?: string, //The new topic string. Does not support formatting or linkification. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsSetTopicPostResponse200|Model\ConversationsSetTopicPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsSetTopicPostResponse200|Model\ConversationsSetTopicPostResponsedefault */ - public function conversationsSetTopic(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsSetTopic(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsSetTopic($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsSetTopic($formParameters, $headerParameters)); } /** * Reverses conversation archival. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to unarchive - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //ID of conversation to unarchive + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ConversationsUnarchivePostResponse200|Model\ConversationsUnarchivePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ConversationsUnarchivePostResponse200|Model\ConversationsUnarchivePostResponsedefault */ - public function conversationsUnarchive(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function conversationsUnarchive(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ConversationsUnarchive($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ConversationsUnarchive($formParameters, $headerParameters)); } /** * Open a dialog with a user. * - * @param array $queryParameters { - * - * @var string $dialog The dialog definition. This must be a JSON-encoded string. - * @var string $trigger_id Exchange a trigger to post to the user. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "dialog": string, //The dialog definition. This must be a JSON-encoded string. + * "trigger_id": string, //Exchange a trigger to post to the user. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\DialogOpenGetResponse200|Model\DialogOpenGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\DialogOpenGetResponse200|Model\DialogOpenGetResponsedefault */ - public function dialogOpen(array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function dialogOpen(array $queryParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\DialogOpen($queryParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DialogOpen($queryParameters, $headerParameters)); } /** * Ends the current user's Do Not Disturb session immediately. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\DndEndDndPostResponse200|Model\DndEndDndPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\DndEndDndPostResponse200|Model\DndEndDndPostResponsedefault */ - public function dndEndDnd(array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function dndEndDnd(array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\DndEndDnd($headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DndEndDnd($headerParameters)); } /** * Ends the current user's snooze mode immediately. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\DndEndSnoozePostResponse200|Model\DndEndSnoozePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\DndEndSnoozePostResponse200|Model\DndEndSnoozePostResponsedefault */ - public function dndEndSnooze(array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function dndEndSnooze(array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\DndEndSnooze($headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DndEndSnooze($headerParameters)); } /** * Retrieves a user's current Do Not Disturb status. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:read` - * @var string $user User to fetch status for (defaults to current user) - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:read` + * "user"?: string, //User to fetch status for (defaults to current user) + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\DndInfoGetResponse200|Model\DndInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\DndInfoGetResponse200|Model\DndInfoGetResponsedefault */ - public function dndInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function dndInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\DndInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DndInfo($queryParameters)); } /** * Turns on Do Not Disturb mode for the current user, or changes its duration. * - * @param array $formParameters { - * - * @var string $num_minutes number of minutes, from now, to snooze until - * @var string $token Authentication token. Requires scope: `dnd:write` - * } + * @param array{ + * "num_minutes": string, //Number of minutes, from now, to snooze until. + * "token"?: string, //Authentication token. Requires scope: `dnd:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\DndSetSnoozePostResponse200|Model\DndSetSnoozePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\DndSetSnoozePostResponse200|Model\DndSetSnoozePostResponsedefault */ - public function dndSetSnooze(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function dndSetSnooze(array $formParameters) { - return $this->executeEndpoint(new Endpoint\DndSetSnooze($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DndSetSnooze($formParameters)); } /** * Retrieves the Do Not Disturb status for up to 50 users on a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:read` - * @var string $users Comma-separated list of users to fetch Do Not Disturb status for - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:read` + * "users"?: string, //Comma-separated list of users to fetch Do Not Disturb status for + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\DndTeamInfoGetResponse200|Model\DndTeamInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\DndTeamInfoGetResponse200|Model\DndTeamInfoGetResponsedefault */ - public function dndTeamInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function dndTeamInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\DndTeamInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DndTeamInfo($queryParameters)); } /** * Lists custom emoji for a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `emoji:read` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `emoji:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\EmojiListGetResponse200|Model\EmojiListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\EmojiListGetResponse200|Model\EmojiListGetResponsedefault */ - public function emojiList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function emojiList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\EmojiList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\EmojiList($queryParameters)); } /** * Deletes an existing comment on a file. * - * @param array $formParameters { - * - * @var string $file file to delete a comment from - * @var string $id The comment to delete. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //File to delete a comment from. + * "id"?: string, //The comment to delete. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesCommentsDeletePostResponse200|Model\FilesCommentsDeletePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesCommentsDeletePostResponse200|Model\FilesCommentsDeletePostResponsedefault */ - public function filesCommentsDelete(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesCommentsDelete(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesCommentsDelete($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesCommentsDelete($formParameters, $headerParameters)); } /** * Finishes an upload started with files.getUploadURLExternal. * - * @param array $queryParameters { - * - * @var string $blocks A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the `initial_comment` field is provided, the `blocks` field is ignored. - * @var string $channel_id Channel ID where the file will be shared. If not specified, the file will remain private. - * @var string $channels comma-separated list of channel IDs where the file will be shared - * @var string $files an array of file objects, each containing the `id` of the file to be completed - * @var string $initial_comment the message text introducing the file in specified channels - * @var string $thread_ts Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. Also, make sure to provide only one channel when using `thread_ts`. - * } - * - * @param array $formParameters { - * - * @var string $token Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. - * } + * @param array{ + * "blocks"?: string, //A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the `initial_comment` field is provided, the `blocks` field is ignored. + * "channel_id"?: string, //Channel ID where the file will be shared. If not specified, the file will remain private. + * "channels"?: string, //Comma-separated list of channel IDs where the file will be shared. + * "files": string, //An array of file objects, each containing the `id` of the file to be completed. + * "initial_comment"?: string, //The message text introducing the file in specified channels. + * "thread_ts"?: string, //Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. Also, make sure to provide only one channel when using `thread_ts`. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesCompleteUploadExternalPostResponse200|Model\FilesCompleteUploadExternalPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesCompleteUploadExternalPostResponse200|Model\FilesCompleteUploadExternalPostResponsedefault */ - public function filesCompleteUploadExternal(array $queryParameters = [], array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesCompleteUploadExternal(array $queryParameters, array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesCompleteUploadExternal($queryParameters, $formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesCompleteUploadExternal($queryParameters, $formParameters)); } /** * Deletes a file. * - * @param array $formParameters { - * - * @var string $file ID of file to delete. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //ID of file to delete. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesDeletePostResponse200|Model\FilesDeletePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesDeletePostResponse200|Model\FilesDeletePostResponsedefault */ - public function filesDelete(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesDelete(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesDelete($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesDelete($formParameters, $headerParameters)); } /** * Gets a URL for an edge external file upload. * - * @param array $queryParameters { - * - * @var string $alt_txt description of image for screen-reader - * @var string $filename name of the file being uploaded - * @var int $length size in bytes of the file being uploaded - * @var string $snippet_type Syntax type of the snippet being uploaded. - * } - * - * @param array $formParameters { - * - * @var string $token Authentication token. Requires scope: `files:write` - * } + * @param array{ + * "alt_txt"?: string, //Description of image for screen-reader. + * "filename": string, //Name of the file being uploaded. + * "length": int, //Size in bytes of the file being uploaded. + * "snippet_type"?: string, //Syntax type of the snippet being uploaded. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesGetUploadURLExternalPostResponse200|Model\FilesGetUploadURLExternalPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesGetUploadURLExternalPostResponse200|Model\FilesGetUploadURLExternalPostResponsedefault */ - public function filesGetUploadUrlExternal(array $queryParameters = [], array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesGetUploadUrlExternal(array $queryParameters, array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesGetUploadUrlExternal($queryParameters, $formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesGetUploadUrlExternal($queryParameters, $formParameters)); } /** * Gets information about a file. * - * @param array $queryParameters { - * - * @var string $count - * @var string $cursor Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/docs/pagination) for more details. - * @var string $file specify a file by providing its ID - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. - * @var string $page - * @var string $token Authentication token. Requires scope: `files:read` - * } + * @param array{ + * "count"?: string, + * "cursor"?: string, //Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/docs/pagination) for more details. + * "file"?: string, //Specify a file by providing its ID. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. + * "page"?: string, + * "token"?: string, //Authentication token. Requires scope: `files:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesInfoGetResponse200|Model\FilesInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesInfoGetResponse200|Model\FilesInfoGetResponsedefault */ - public function filesInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesInfo($queryParameters)); } /** * List for a team, in a channel, or from a user with applied filters. * - * @param array $queryParameters { - * - * @var string $channel filter files appearing in a specific channel, indicated by its ID - * @var string $count - * @var string $page - * @var bool $show_files_hidden_by_limit show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit - * @var string $token Authentication token. Requires scope: `files:read` - * @var string $ts_from filter files created after this timestamp (inclusive) - * @var string $ts_to filter files created before this timestamp (inclusive) - * @var string $types Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list. - * @var string $user Filter files created by a single user. - * } + * @param array{ + * "channel"?: string, //Filter files appearing in a specific channel, indicated by its ID. + * "count"?: string, + * "page"?: string, + * "show_files_hidden_by_limit"?: bool, //Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit. + * "token"?: string, //Authentication token. Requires scope: `files:read` + * "ts_from"?: string, //Filter files created after this timestamp (inclusive). + * "ts_to"?: string, //Filter files created before this timestamp (inclusive). + * "types"?: string, //Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list. + * "user"?: string, //Filter files created by a single user. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesListGetResponse200|Model\FilesListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesListGetResponse200|Model\FilesListGetResponsedefault */ - public function filesList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesList($queryParameters)); } /** * Adds a file from a remote service. * - * @param array $formParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $external_url URL of the remote file - * @var string $filetype type of file - * @var string $indexable_file_contents A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file. - * @var string $preview_image preview of the document via `multipart/form-data` - * @var string $title title of the file being shared - * @var string $token Authentication token. Requires scope: `remote_files:write` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "external_url"?: string, //URL of the remote file. + * "filetype"?: string, //type of file + * "indexable_file_contents"?: string, //A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file. + * "preview_image"?: string, //Preview of the document via `multipart/form-data`. + * "title"?: string, //Title of the file being shared. + * "token"?: string, //Authentication token. Requires scope: `remote_files:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRemoteAddPostResponse200|Model\FilesRemoteAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRemoteAddPostResponse200|Model\FilesRemoteAddPostResponsedefault */ - public function filesRemoteAdd(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRemoteAdd(array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRemoteAdd($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRemoteAdd($formParameters)); } /** * Retrieve information about a remote file added to Slack. * - * @param array $queryParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $file specify a file by providing its ID - * @var string $token Authentication token. Requires scope: `remote_files:read` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "file"?: string, //Specify a file by providing its ID. + * "token"?: string, //Authentication token. Requires scope: `remote_files:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRemoteInfoGetResponse200|Model\FilesRemoteInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRemoteInfoGetResponse200|Model\FilesRemoteInfoGetResponsedefault */ - public function filesRemoteInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRemoteInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRemoteInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRemoteInfo($queryParameters)); } /** * Retrieve information about a remote file added to Slack. * - * @param array $queryParameters { - * - * @var string $channel filter files appearing in a specific channel, indicated by its ID - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit the maximum number of items to return - * @var string $token Authentication token. Requires scope: `remote_files:read` - * @var string $ts_from filter files created after this timestamp (inclusive) - * @var string $ts_to Filter files created before this timestamp (inclusive). - * } + * @param array{ + * "channel"?: string, //Filter files appearing in a specific channel, indicated by its ID. + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. + * "token"?: string, //Authentication token. Requires scope: `remote_files:read` + * "ts_from"?: string, //Filter files created after this timestamp (inclusive). + * "ts_to"?: string, //Filter files created before this timestamp (inclusive). + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRemoteListGetResponse200|Model\FilesRemoteListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRemoteListGetResponse200|Model\FilesRemoteListGetResponsedefault */ - public function filesRemoteList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRemoteList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRemoteList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRemoteList($queryParameters)); } /** * Remove a remote file. * - * @param array $formParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $file specify a file by providing its ID - * @var string $token Authentication token. Requires scope: `remote_files:write` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "file"?: string, //Specify a file by providing its ID. + * "token"?: string, //Authentication token. Requires scope: `remote_files:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRemoteRemovePostResponse200|Model\FilesRemoteRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRemoteRemovePostResponse200|Model\FilesRemoteRemovePostResponsedefault */ - public function filesRemoteRemove(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRemoteRemove(array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRemoteRemove($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRemoteRemove($formParameters)); } /** * Share a remote file into a channel. * - * @param array $queryParameters { - * - * @var string $channels comma-separated list of channel IDs where the file will be shared - * @var string $external_id The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required. - * @var string $file Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required. - * @var string $token Authentication token. Requires scope: `remote_files:share` - * } + * @param array{ + * "channels"?: string, //Comma-separated list of channel IDs where the file will be shared. + * "external_id"?: string, //The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required. + * "file"?: string, //Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required. + * "token"?: string, //Authentication token. Requires scope: `remote_files:share` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRemoteShareGetResponse200|Model\FilesRemoteShareGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRemoteShareGetResponse200|Model\FilesRemoteShareGetResponsedefault */ - public function filesRemoteShare(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRemoteShare(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRemoteShare($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRemoteShare($queryParameters)); } /** * Updates an existing remote file. * - * @param array $formParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $external_url URL of the remote file - * @var string $file specify a file by providing its ID - * @var string $filetype type of file - * @var string $indexable_file_contents file containing contents that can be used to improve searchability for the remote file - * @var string $preview_image preview of the document via `multipart/form-data` - * @var string $title title of the file being shared - * @var string $token Authentication token. Requires scope: `remote_files:write` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "external_url"?: string, //URL of the remote file. + * "file"?: string, //Specify a file by providing its ID. + * "filetype"?: string, //type of file + * "indexable_file_contents"?: string, //File containing contents that can be used to improve searchability for the remote file. + * "preview_image"?: string, //Preview of the document via `multipart/form-data`. + * "title"?: string, //Title of the file being shared. + * "token"?: string, //Authentication token. Requires scope: `remote_files:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRemoteUpdatePostResponse200|Model\FilesRemoteUpdatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRemoteUpdatePostResponse200|Model\FilesRemoteUpdatePostResponsedefault */ - public function filesRemoteUpdate(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRemoteUpdate(array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRemoteUpdate($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRemoteUpdate($formParameters)); } /** * Revokes public/external sharing access for a file. * - * @param array $formParameters { - * - * @var string $file File to revoke - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //File to revoke + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesRevokePublicURLPostResponse200|Model\FilesRevokePublicURLPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesRevokePublicURLPostResponse200|Model\FilesRevokePublicURLPostResponsedefault */ - public function filesRevokePublicURL(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesRevokePublicURL(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesRevokePublicURL($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesRevokePublicURL($formParameters, $headerParameters)); } /** * Enables a file for public/external sharing. * - * @param array $formParameters { - * - * @var string $file File to share - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //File to share + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesSharedPublicURLPostResponse200|Model\FilesSharedPublicURLPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesSharedPublicURLPostResponse200|Model\FilesSharedPublicURLPostResponsedefault */ - public function filesSharedPublicURL(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesSharedPublicURL(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesSharedPublicURL($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesSharedPublicURL($formParameters, $headerParameters)); } /** * Uploads or creates a file. * - * @param array $formParameters { - * - * @var string $channels comma-separated list of channel names or IDs where the file will be shared - * @var string $content File contents via a POST variable. If omitting this parameter, you must provide a `file`. - * @var string|resource|\Psr\Http\Message\StreamInterface $file File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. - * @var string $filename filename of file - * @var string $filetype a [file type](/types/file#file_types) identifier - * @var string $initial_comment the message text introducing the file in specified `channels` - * @var string $thread_ts Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. - * @var string $title title of file - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "channels"?: string, //Comma-separated list of channel names or IDs where the file will be shared. + * "content"?: string, //File contents via a POST variable. If omitting this parameter, you must provide a `file`. + * "file"?: string|resource, //File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. + * "filename"?: string, //Filename of file. + * "filetype"?: string, //A [file type](/types/file#file_types) identifier. + * "initial_comment"?: string, //The message text introducing the file in specified `channels`. + * "thread_ts"?: string, //Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. + * "title"?: string, //Title of file. + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\FilesUploadPostResponse200|Model\FilesUploadPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\FilesUploadPostResponse200|Model\FilesUploadPostResponsedefault */ - public function filesUpload(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function filesUpload(array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\FilesUpload($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\FilesUpload($formParameters)); } /** * For Enterprise Grid workspaces, map local user IDs to global user IDs. * - * @param array $queryParameters { - * - * @var string $team_id Specify team_id starts with `T` in case of Org Token - * @var bool $to_old Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`. - * @var string $token Authentication token. Requires scope: `tokens.basic` - * @var string $users A comma-separated list of user ids, up to 400 per request - * } + * @param array{ + * "team_id"?: string, //Specify team_id starts with `T` in case of Org Token + * "to_old"?: bool, //Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`. + * "token"?: string, //Authentication token. Requires scope: `tokens.basic` + * "users": string, //A comma-separated list of user ids, up to 400 per request + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\MigrationExchangeGetResponse200|Model\MigrationExchangeGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\MigrationExchangeGetResponse200|Model\MigrationExchangeGetResponsedefault */ - public function migrationExchange(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function migrationExchange(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\MigrationExchange($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\MigrationExchange($queryParameters)); } /** * Exchanges a temporary OAuth verifier code for an access token. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $code the `code` param returned via the OAuth callback - * @var string $redirect_uri this must match the originally submitted URI (if one was sent) - * @var bool $single_channel Request the user to add your app only to a single channel. Only valid with a [legacy workspace app](https://api.slack.com/legacy-workspace-apps). - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "code"?: string, //The `code` param returned via the OAuth callback. + * "redirect_uri"?: string, //This must match the originally submitted URI (if one was sent). + * "single_channel"?: bool, //Request the user to add your app only to a single channel. Only valid with a [legacy workspace app](https://api.slack.com/legacy-workspace-apps). + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\OauthAccessGetResponse200|Model\OauthAccessGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\OauthAccessGetResponse200|Model\OauthAccessGetResponsedefault */ - public function oauthAccess(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function oauthAccess(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\OauthAccess($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\OauthAccess($queryParameters)); } /** * Exchanges a temporary OAuth verifier code for a workspace token. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $code the `code` param returned via the OAuth callback - * @var string $redirect_uri this must match the originally submitted URI (if one was sent) - * @var bool $single_channel Request the user to add your app only to a single channel. - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "code"?: string, //The `code` param returned via the OAuth callback. + * "redirect_uri"?: string, //This must match the originally submitted URI (if one was sent). + * "single_channel"?: bool, //Request the user to add your app only to a single channel. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\OauthTokenGetResponse200|Model\OauthTokenGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\OauthTokenGetResponse200|Model\OauthTokenGetResponsedefault */ - public function oauthToken(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function oauthToken(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\OauthToken($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\OauthToken($queryParameters)); } /** * Exchanges a temporary OAuth verifier code for an access token. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $code the `code` param returned via the OAuth callback - * @var string $redirect_uri This must match the originally submitted URI (if one was sent). - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "code": string, //The `code` param returned via the OAuth callback. + * "redirect_uri"?: string, //This must match the originally submitted URI (if one was sent). + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\OauthV2AccessGetResponse200|Model\OauthV2AccessGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\OauthV2AccessGetResponse200|Model\OauthV2AccessGetResponsedefault */ - public function oauthV2Access(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function oauthV2Access(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\OauthV2Access($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\OauthV2Access($queryParameters)); } /** * Pins an item to a channel. * - * @param array $formParameters { - * - * @var string $channel channel to pin the item in - * @var string $timestamp Timestamp of the message to pin. - * } + * @param array{ + * "channel"?: string, //Channel to pin the item in. + * "timestamp"?: string, //Timestamp of the message to pin. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `pins:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `pins:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\PinsAddPostResponse200|Model\PinsAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\PinsAddPostResponse200|Model\PinsAddPostResponsedefault */ - public function pinsAdd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function pinsAdd(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\PinsAdd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\PinsAdd($formParameters, $headerParameters)); } /** * Lists items pinned to a channel. * - * @param array $queryParameters { - * - * @var string $channel channel to get pinned items for - * @var string $token Authentication token. Requires scope: `pins:read` - * } + * @param array{ + * "channel"?: string, //Channel to get pinned items for. + * "token"?: string, //Authentication token. Requires scope: `pins:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\PinsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\PinsListGetResponsedefault|null */ - public function pinsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function pinsList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\PinsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\PinsList($queryParameters)); } /** * Un-pins an item from a channel. * - * @param array $formParameters { - * - * @var string $channel channel where the item is pinned to - * @var string $timestamp Timestamp of the message to un-pin. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `pins:write` - * } + * @param array{ + * "channel": string, //Channel where the item is pinned to. + * "timestamp"?: string, //Timestamp of the message to un-pin. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `pins:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\PinsRemovePostResponse200|Model\PinsRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\PinsRemovePostResponse200|Model\PinsRemovePostResponsedefault */ - public function pinsRemove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function pinsRemove(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\PinsRemove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\PinsRemove($formParameters, $headerParameters)); } /** * Adds a reaction to an item. * - * @param array $formParameters { - * - * @var string $channel channel where the message to add reaction to was posted - * @var string $name reaction (emoji) name - * @var string $timestamp Timestamp of the message to add reaction to. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reactions:write` - * } + * @param array{ + * "channel": string, //Channel where the message to add reaction to was posted. + * "name": string, //Reaction (emoji) name. + * "timestamp": string, //Timestamp of the message to add reaction to. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reactions:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ReactionsAddPostResponse200|Model\ReactionsAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ReactionsAddPostResponse200|Model\ReactionsAddPostResponsedefault */ - public function reactionsAdd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function reactionsAdd(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ReactionsAdd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ReactionsAdd($formParameters, $headerParameters)); } /** * Gets reactions for an item. * - * @param array $queryParameters { - * - * @var string $channel channel where the message to get reactions for was posted - * @var string $file file to get reactions for - * @var string $file_comment file comment to get reactions for - * @var bool $full if true always return the complete reaction list - * @var string $timestamp timestamp of the message to get reactions for - * @var string $token Authentication token. Requires scope: `reactions:read` - * } + * @param array{ + * "channel"?: string, //Channel where the message to get reactions for was posted. + * "file"?: string, //File to get reactions for. + * "file_comment"?: string, //File comment to get reactions for. + * "full"?: bool, //If true always return the complete reaction list. + * "timestamp"?: string, //Timestamp of the message to get reactions for. + * "token"?: string, //Authentication token. Requires scope: `reactions:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ReactionsGetGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ReactionsGetGetResponsedefault|null */ - public function reactionsGet(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function reactionsGet(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ReactionsGet($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ReactionsGet($queryParameters)); } /** * Lists reactions made by a user. * - * @param array $queryParameters { - * - * @var int $count - * @var string $cursor Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. - * @var bool $full if true always return the complete reaction list - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. - * @var int $page - * @var string $token Authentication token. Requires scope: `reactions:read` - * @var string $user Show reactions made by this user. Defaults to the authed user. - * } + * @param array{ + * "count"?: int, + * "cursor"?: string, //Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. + * "full"?: bool, //If true always return the complete reaction list. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. + * "page"?: int, + * "token"?: string, //Authentication token. Requires scope: `reactions:read` + * "user"?: string, //Show reactions made by this user. Defaults to the authed user. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ReactionsListGetResponse200|Model\ReactionsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ReactionsListGetResponse200|Model\ReactionsListGetResponsedefault */ - public function reactionsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function reactionsList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\ReactionsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ReactionsList($queryParameters)); } /** * Removes a reaction from an item. * - * @param array $formParameters { - * - * @var string $channel channel where the message to remove reaction from was posted - * @var string $file file to remove reaction from - * @var string $file_comment file comment to remove reaction from - * @var string $name reaction (emoji) name - * @var string $timestamp Timestamp of the message to remove reaction from. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reactions:write` - * } + * @param array{ + * "channel"?: string, //Channel where the message to remove reaction from was posted. + * "file"?: string, //File to remove reaction from. + * "file_comment"?: string, //File comment to remove reaction from. + * "name": string, //Reaction (emoji) name. + * "timestamp"?: string, //Timestamp of the message to remove reaction from. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reactions:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ReactionsRemovePostResponse200|Model\ReactionsRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ReactionsRemovePostResponse200|Model\ReactionsRemovePostResponsedefault */ - public function reactionsRemove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function reactionsRemove(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ReactionsRemove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ReactionsRemove($formParameters, $headerParameters)); } /** * Creates a reminder. * - * @param array $formParameters { - * - * @var string $text The content of the reminder - * @var string $time When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday") - * @var string $user The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:write` - * } + * @param array{ + * "text": string, //The content of the reminder + * "time": string, //When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday") + * "user"?: string, //The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\RemindersAddPostResponse200|Model\RemindersAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\RemindersAddPostResponse200|Model\RemindersAddPostResponsedefault */ - public function remindersAdd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function remindersAdd(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\RemindersAdd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\RemindersAdd($formParameters, $headerParameters)); } /** * Marks a reminder as complete. * - * @param array $formParameters { - * - * @var string $reminder The ID of the reminder to be marked as complete - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:write` - * } + * @param array{ + * "reminder"?: string, //The ID of the reminder to be marked as complete + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\RemindersCompletePostResponse200|Model\RemindersCompletePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\RemindersCompletePostResponse200|Model\RemindersCompletePostResponsedefault */ - public function remindersComplete(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function remindersComplete(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\RemindersComplete($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\RemindersComplete($formParameters, $headerParameters)); } /** * Deletes a reminder. * - * @param array $formParameters { - * - * @var string $reminder The ID of the reminder - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:write` - * } + * @param array{ + * "reminder"?: string, //The ID of the reminder + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\RemindersDeletePostResponse200|Model\RemindersDeletePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\RemindersDeletePostResponse200|Model\RemindersDeletePostResponsedefault */ - public function remindersDelete(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function remindersDelete(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\RemindersDelete($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\RemindersDelete($formParameters, $headerParameters)); } /** * Gets information about a reminder. * - * @param array $queryParameters { - * - * @var string $reminder The ID of the reminder - * @var string $token Authentication token. Requires scope: `reminders:read` - * } + * @param array{ + * "reminder"?: string, //The ID of the reminder + * "token"?: string, //Authentication token. Requires scope: `reminders:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\RemindersInfoGetResponse200|Model\RemindersInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\RemindersInfoGetResponse200|Model\RemindersInfoGetResponsedefault */ - public function remindersInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function remindersInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\RemindersInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\RemindersInfo($queryParameters)); } /** * Lists all reminders created by or for a given user. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:read` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\RemindersListGetResponse200|Model\RemindersListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\RemindersListGetResponse200|Model\RemindersListGetResponsedefault */ - public function remindersList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function remindersList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\RemindersList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\RemindersList($queryParameters)); } /** * Starts a Real Time Messaging session. * - * @param array $queryParameters { - * - * @var bool $batch_presence_aware Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching). - * @var bool $presence_sub Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions). - * @var string $token Authentication token. Requires scope: `rtm:stream` - * } + * @param array{ + * "batch_presence_aware"?: bool, //Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching). + * "presence_sub"?: bool, //Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions). + * "token"?: string, //Authentication token. Requires scope: `rtm:stream` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\RtmConnectGetResponse200|Model\RtmConnectGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\RtmConnectGetResponse200|Model\RtmConnectGetResponsedefault */ - public function rtmConnect(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function rtmConnect(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\RtmConnect($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\RtmConnect($queryParameters)); } /** * Searches for messages matching a query. * - * @param array $queryParameters { - * - * @var int $count Pass the number of results you want per "page". Maximum of `100`. - * @var bool $highlight pass a value of `true` to enable query highlight markers (see below) - * @var int $page - * @var string $query search query - * @var string $sort return matches sorted by either `score` or `timestamp` - * @var string $sort_dir change sort direction to ascending (`asc`) or descending (`desc`) - * @var string $token Authentication token. Requires scope: `search:read` - * } + * @param array{ + * "count"?: int, //Pass the number of results you want per "page". Maximum of `100`. + * "highlight"?: bool, //Pass a value of `true` to enable query highlight markers (see below). + * "page"?: int, + * "query": string, //Search query. + * "sort"?: string, //Return matches sorted by either `score` or `timestamp`. + * "sort_dir"?: string, //Change sort direction to ascending (`asc`) or descending (`desc`). + * "token"?: string, //Authentication token. Requires scope: `search:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\SearchMessagesGetResponse200|Model\SearchMessagesGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\SearchMessagesGetResponse200|Model\SearchMessagesGetResponsedefault */ - public function searchMessages(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function searchMessages(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\SearchMessages($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\SearchMessages($queryParameters)); } /** * Adds a star to an item. * - * @param array $formParameters { - * - * @var string $channel channel to add star to, or channel where the message to add star to was posted (used with `timestamp`) - * @var string $file file to add star to - * @var string $file_comment file comment to add star to - * @var string $timestamp Timestamp of the message to add star to. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `stars:write` - * } + * @param array{ + * "channel"?: string, //Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`). + * "file"?: string, //File to add star to. + * "file_comment"?: string, //File comment to add star to. + * "timestamp"?: string, //Timestamp of the message to add star to. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `stars:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\StarsAddPostResponse200|Model\StarsAddPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\StarsAddPostResponse200|Model\StarsAddPostResponsedefault */ - public function starsAdd(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function starsAdd(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\StarsAdd($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\StarsAdd($formParameters, $headerParameters)); } /** * Lists stars for a user. * - * @param array $queryParameters { - * - * @var string $count - * @var string $cursor Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. - * @var string $page - * @var string $token Authentication token. Requires scope: `stars:read` - * } + * @param array{ + * "count"?: string, + * "cursor"?: string, //Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. + * "page"?: string, + * "token"?: string, //Authentication token. Requires scope: `stars:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\StarsListGetResponse200|Model\StarsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\StarsListGetResponse200|Model\StarsListGetResponsedefault */ - public function starsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function starsList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\StarsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\StarsList($queryParameters)); } /** * Removes a star from an item. * - * @param array $formParameters { - * - * @var string $channel channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`) - * @var string $file file to remove star from - * @var string $file_comment file comment to remove star from - * @var string $timestamp Timestamp of the message to remove star from. - * } + * @param array{ + * "channel"?: string, //Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). + * "file"?: string, //File to remove star from. + * "file_comment"?: string, //File comment to remove star from. + * "timestamp"?: string, //Timestamp of the message to remove star from. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `stars:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `stars:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\StarsRemovePostResponse200|Model\StarsRemovePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\StarsRemovePostResponse200|Model\StarsRemovePostResponsedefault */ - public function starsRemove(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function starsRemove(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\StarsRemove($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\StarsRemove($formParameters, $headerParameters)); } /** * Gets the access logs for the current team. * - * @param array $queryParameters { - * - * @var string $before end of time range of logs to include in results (inclusive) - * @var string $count - * @var string $page - * @var string $token Authentication token. Requires scope: `admin` - * } + * @param array{ + * "before"?: string, //End of time range of logs to include in results (inclusive). + * "count"?: string, + * "page"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\TeamAccessLogsGetResponse200|Model\TeamAccessLogsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\TeamAccessLogsGetResponse200|Model\TeamAccessLogsGetResponsedefault */ - public function teamAccessLogs(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function teamAccessLogs(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\TeamAccessLogs($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\TeamAccessLogs($queryParameters)); } /** * Gets billable users information for the current team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `admin` - * @var string $user A user to retrieve the billable information for. Defaults to all users. - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin` + * "user"?: string, //A user to retrieve the billable information for. Defaults to all users. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\TeamBillableInfoGetResponse200|Model\TeamBillableInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\TeamBillableInfoGetResponse200|Model\TeamBillableInfoGetResponsedefault */ - public function teamBillableInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function teamBillableInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\TeamBillableInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\TeamBillableInfo($queryParameters)); } /** * Gets information about the current team. * - * @param array $queryParameters { - * - * @var string $team Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels - * @var string $token Authentication token. Requires scope: `team:read` - * } + * @param array{ + * "team"?: string, //Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels + * "token"?: string, //Authentication token. Requires scope: `team:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\TeamInfoGetResponse200|Model\TeamInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\TeamInfoGetResponse200|Model\TeamInfoGetResponsedefault */ - public function teamInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function teamInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\TeamInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\TeamInfo($queryParameters)); } /** * Gets the integration logs for the current team. * - * @param array $queryParameters { - * - * @var string $app_id Filter logs to this Slack app. Defaults to all logs. - * @var string $change_type Filter logs with this change type. Defaults to all logs. - * @var string $count - * @var string $page - * @var string $service_id Filter logs to this service. Defaults to all logs. - * @var string $token Authentication token. Requires scope: `admin` - * @var string $user Filter logs generated by this user’s actions. Defaults to all logs. - * } + * @param array{ + * "app_id"?: string, //Filter logs to this Slack app. Defaults to all logs. + * "change_type"?: string, //Filter logs with this change type. Defaults to all logs. + * "count"?: string, + * "page"?: string, + * "service_id"?: string, //Filter logs to this service. Defaults to all logs. + * "token"?: string, //Authentication token. Requires scope: `admin` + * "user"?: string, //Filter logs generated by this user’s actions. Defaults to all logs. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\TeamIntegrationLogsGetResponse200|Model\TeamIntegrationLogsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\TeamIntegrationLogsGetResponse200|Model\TeamIntegrationLogsGetResponsedefault */ - public function teamIntegrationLogs(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function teamIntegrationLogs(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\TeamIntegrationLogs($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\TeamIntegrationLogs($queryParameters)); } /** * Retrieve a team's profile. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `users.profile:read` - * @var string $visibility Filter by visibility. - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users.profile:read` + * "visibility"?: string, //Filter by visibility. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\TeamProfileGetGetResponse200|Model\TeamProfileGetGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\TeamProfileGetGetResponse200|Model\TeamProfileGetGetResponsedefault */ - public function teamProfileGet(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function teamProfileGet(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\TeamProfileGet($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\TeamProfileGet($queryParameters)); } /** * Create a User Group. * - * @param array $formParameters { - * - * @var string $channels a comma separated string of encoded channel IDs for which the User Group uses as a default - * @var string $description a short description of the User Group - * @var string $handle A mention handle. Must be unique among channels, users and User Groups. - * @var bool $include_count include the number of users in each User Group - * @var string $name A name for the User Group. Must be unique among User Groups. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "channels"?: string, //A comma separated string of encoded channel IDs for which the User Group uses as a default. + * "description"?: string, //A short description of the User Group. + * "handle"?: string, //A mention handle. Must be unique among channels, users and User Groups. + * "include_count"?: bool, //Include the number of users in each User Group. + * "name": string, //A name for the User Group. Must be unique among User Groups. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsCreatePostResponse200|Model\UsergroupsCreatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsCreatePostResponse200|Model\UsergroupsCreatePostResponsedefault */ - public function usergroupsCreate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsCreate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsergroupsCreate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsCreate($formParameters, $headerParameters)); } /** * Disable an existing User Group. * - * @param array $formParameters { - * - * @var bool $include_count include the number of users in the User Group - * @var string $usergroup The encoded ID of the User Group to disable. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in the User Group. + * "usergroup": string, //The encoded ID of the User Group to disable. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsDisablePostResponse200|Model\UsergroupsDisablePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsDisablePostResponse200|Model\UsergroupsDisablePostResponsedefault */ - public function usergroupsDisable(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsDisable(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsergroupsDisable($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsDisable($formParameters, $headerParameters)); } /** * Enable a User Group. * - * @param array $formParameters { - * - * @var bool $include_count include the number of users in the User Group - * @var string $usergroup The encoded ID of the User Group to enable. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in the User Group. + * "usergroup": string, //The encoded ID of the User Group to enable. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsEnablePostResponse200|Model\UsergroupsEnablePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsEnablePostResponse200|Model\UsergroupsEnablePostResponsedefault */ - public function usergroupsEnable(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsEnable(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsergroupsEnable($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsEnable($formParameters, $headerParameters)); } /** * List all User Groups for a team. * - * @param array $queryParameters { - * - * @var bool $include_count include the number of users in each User Group - * @var bool $include_disabled include disabled User Groups - * @var bool $include_users include the list of users for each User Group - * @var string $team_id Encoded team id to list user groups in, required if org token is used - * @var string $token Authentication token. Requires scope: `usergroups:read` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in each User Group. + * "include_disabled"?: bool, //Include disabled User Groups. + * "include_users"?: bool, //Include the list of users for each User Group. + * "team_id"?: string, //Encoded team id to list user groups in, required if org token is used + * "token"?: string, //Authentication token. Requires scope: `usergroups:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsListGetResponse200|Model\UsergroupsListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsListGetResponse200|Model\UsergroupsListGetResponsedefault */ - public function usergroupsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsergroupsList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsList($queryParameters)); } /** * Update an existing User Group. * - * @param array $formParameters { - * - * @var string $channels a comma separated string of encoded channel IDs for which the User Group uses as a default - * @var string $description a short description of the User Group - * @var string $handle A mention handle. Must be unique among channels, users and User Groups. - * @var bool $include_count include the number of users in the User Group - * @var string $name A name for the User Group. Must be unique among User Groups. - * @var string $usergroup The encoded ID of the User Group to update. - * } + * @param array{ + * "channels"?: string, //A comma separated string of encoded channel IDs for which the User Group uses as a default. + * "description"?: string, //A short description of the User Group. + * "handle"?: string, //A mention handle. Must be unique among channels, users and User Groups. + * "include_count"?: bool, //Include the number of users in the User Group. + * "name"?: string, //A name for the User Group. Must be unique among User Groups. + * "usergroup": string, //The encoded ID of the User Group to update. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsUpdatePostResponse200|Model\UsergroupsUpdatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsUpdatePostResponse200|Model\UsergroupsUpdatePostResponsedefault */ - public function usergroupsUpdate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsUpdate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsergroupsUpdate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsUpdate($formParameters, $headerParameters)); } /** * List all users in a User Group. * - * @param array $queryParameters { - * - * @var bool $include_disabled allow results that involve disabled User Groups - * @var string $team_id The user group's encoded team ID. Required if org token is used. - * @var string $token Authentication token. Requires scope: `usergroups:read` - * @var string $usergroup The encoded ID of the User Group to read. - * } + * @param array{ + * "include_disabled"?: bool, //Allow results that involve disabled User Groups. + * "team_id"?: string, //The user group's encoded team ID. Required if org token is used. + * "token"?: string, //Authentication token. Requires scope: `usergroups:read` + * "usergroup": string, //The encoded ID of the User Group to read. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsUsersListGetResponse200|Model\UsergroupsUsersListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsUsersListGetResponse200|Model\UsergroupsUsersListGetResponsedefault */ - public function usergroupsUsersList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsUsersList(array $queryParameters) { - return $this->executeEndpoint(new Endpoint\UsergroupsUsersList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsUsersList($queryParameters)); } /** * Update the list of users for a User Group. * - * @param array $formParameters { - * - * @var bool $include_count include the number of users in the User Group - * @var string $usergroup the encoded ID of the User Group to update - * @var string $users A comma separated string of encoded user IDs that represent the entire list of users for the User Group. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in the User Group. + * "usergroup": string, //The encoded ID of the User Group to update. + * "users": string, //A comma separated string of encoded user IDs that represent the entire list of users for the User Group. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsergroupsUsersUpdatePostResponse200|Model\UsergroupsUsersUpdatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsergroupsUsersUpdatePostResponse200|Model\UsergroupsUsersUpdatePostResponsedefault */ - public function usergroupsUsersUpdate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usergroupsUsersUpdate(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsergroupsUsersUpdate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsergroupsUsersUpdate($formParameters, $headerParameters)); } /** * List conversations the calling user may access. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $exclude_archived Set to `true` to exclude archived channels from the list - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. - * @var string $token Authentication token. Requires scope: `conversations:read` - * @var string $types Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` - * @var string $user Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "exclude_archived"?: bool, //Set to `true` to exclude archived channels from the list + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * "types"?: string, //Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` + * "user"?: string, //Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersConversationsGetResponse200|Model\UsersConversationsGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersConversationsGetResponse200|Model\UsersConversationsGetResponsedefault */ - public function usersConversations(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersConversations(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersConversations($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersConversations($queryParameters)); } /** * Delete the user profile photo. * - * @param array $formParameters { - * - * @var string $token Authentication token. Requires scope: `users.profile:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users.profile:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersDeletePhotoPostResponse200|Model\UsersDeletePhotoPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersDeletePhotoPostResponse200|Model\UsersDeletePhotoPostResponsedefault */ - public function usersDeletePhoto(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersDeletePhoto(array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersDeletePhoto($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersDeletePhoto($formParameters)); } /** * Gets user presence information. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `users:read` - * @var string $user User to get presence info on. Defaults to the authed user. - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users:read` + * "user"?: string, //User to get presence info on. Defaults to the authed user. + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersGetPresenceGetResponse200|Model\UsersGetPresenceGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersGetPresenceGetResponse200|Model\UsersGetPresenceGetResponsedefault */ - public function usersGetPresence(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersGetPresence(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersGetPresence($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersGetPresence($queryParameters)); } /** * Get a user's identity. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `identity.basic` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `identity.basic` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersIdentityGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersIdentityGetResponsedefault|null */ - public function usersIdentity(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersIdentity(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersIdentity($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersIdentity($queryParameters)); } /** * Gets information about a user. * - * @param array $queryParameters { - * - * @var bool $include_locale Set this to `true` to receive the locale for this user. Defaults to `false` - * @var string $token Authentication token. Requires scope: `users:read` - * @var string $user User to get info on - * } + * @param array{ + * "include_locale"?: bool, //Set this to `true` to receive the locale for this user. Defaults to `false` + * "token"?: string, //Authentication token. Requires scope: `users:read` + * "user"?: string, //User to get info on + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersInfoGetResponse200|Model\UsersInfoGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersInfoGetResponse200|Model\UsersInfoGetResponsedefault */ - public function usersInfo(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersInfo(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersInfo($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersInfo($queryParameters)); } /** * Lists all users in a Slack team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $include_locale Set this to `true` to receive the locale for users. Defaults to `false` - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. Providing no `limit` value will result in Slack attempting to deliver you the entire result set. If the collection is too large you may experience `limit_required` or HTTP 500 errors. - * @var string $team_id Encoded team id to list users in, required if org token is used - * @var string $token Authentication token. Requires scope: `users:read` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "include_locale"?: bool, //Set this to `true` to receive the locale for users. Defaults to `false` + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. Providing no `limit` value will result in Slack attempting to deliver you the entire result set. If the collection is too large you may experience `limit_required` or HTTP 500 errors. + * "team_id"?: string, //Encoded team id to list users in, required if org token is used + * "token"?: string, //Authentication token. Requires scope: `users:read` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersListGetResponse200|Model\UsersListGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersListGetResponse200|Model\UsersListGetResponsedefault */ - public function usersList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersList(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersList($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersList($queryParameters)); } /** * Find a user with an email address. * - * @param array $queryParameters { - * - * @var string $email An email address belonging to a user in the workspace - * @var string $token Authentication token. Requires scope: `users:read.email` - * } + * @param array{ + * "email"?: string, //An email address belonging to a user in the workspace + * "token"?: string, //Authentication token. Requires scope: `users:read.email` + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersLookupByEmailGetResponse200|Model\UsersLookupByEmailGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersLookupByEmailGetResponse200|Model\UsersLookupByEmailGetResponsedefault */ - public function usersLookupByEmail(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersLookupByEmail(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersLookupByEmail($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersLookupByEmail($queryParameters)); } /** * Retrieves a user's profile information. * - * @param array $queryParameters { - * - * @var bool $include_labels Include labels for each ID in custom profile fields - * @var string $token Authentication token. Requires scope: `users.profile:read` - * @var string $user User to retrieve profile info for - * } + * @param array{ + * "include_labels"?: bool, //Include labels for each ID in custom profile fields + * "token"?: string, //Authentication token. Requires scope: `users.profile:read` + * "user"?: string, //User to retrieve profile info for + * } $queryParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersProfileGetGetResponse200|Model\UsersProfileGetGetResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersProfileGetGetResponse200|Model\UsersProfileGetGetResponsedefault */ - public function usersProfileGet(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersProfileGet(array $queryParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersProfileGet($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersProfileGet($queryParameters)); } /** * Set the profile information for a user. * - * @param array $formParameters { - * - * @var string $name Name of a single key to set. Usable only if `profile` is not passed. - * @var string $profile Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters. - * @var string $user ID of user to change. This argument may only be specified by team admins on paid teams. - * @var string $value Value to set a single key to. Usable only if `profile` is not passed. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `users.profile:write` - * } + * @param array{ + * "name"?: string, //Name of a single key to set. Usable only if `profile` is not passed. + * "profile"?: string, //Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters. + * "user"?: string, //ID of user to change. This argument may only be specified by team admins on paid teams. + * "value"?: string, //Value to set a single key to. Usable only if `profile` is not passed. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users.profile:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersProfileSetPostResponse200|Model\UsersProfileSetPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersProfileSetPostResponse200|Model\UsersProfileSetPostResponsedefault */ - public function usersProfileSet(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersProfileSet(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersProfileSet($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersProfileSet($formParameters, $headerParameters)); } /** * Marked a user as active. Deprecated and non-functional. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `users:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersSetActivePostResponse200|Model\UsersSetActivePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersSetActivePostResponse200|Model\UsersSetActivePostResponsedefault */ - public function usersSetActive(array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersSetActive(array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersSetActive($headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersSetActive($headerParameters)); } /** * Set the user profile photo. * - * @param array $formParameters { - * - * @var string $crop_w Width/height of crop box (always square) - * @var string $crop_x X coordinate of top-left corner of crop box - * @var string $crop_y Y coordinate of top-left corner of crop box - * @var string $image file contents via `multipart/form-data` - * @var string $token Authentication token. Requires scope: `users.profile:write` - * } + * @param array{ + * "crop_w"?: string, //Width/height of crop box (always square) + * "crop_x"?: string, //X coordinate of top-left corner of crop box + * "crop_y"?: string, //Y coordinate of top-left corner of crop box + * "image"?: string, //File contents via `multipart/form-data`. + * "token"?: string, //Authentication token. Requires scope: `users.profile:write` + * } $formParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersSetPhotoPostResponse200|Model\UsersSetPhotoPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersSetPhotoPostResponse200|Model\UsersSetPhotoPostResponsedefault */ - public function usersSetPhoto(array $formParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersSetPhoto(array $formParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersSetPhoto($formParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersSetPhoto($formParameters)); } /** * Manually sets user presence. * - * @param array $formParameters { - * - * @var string $presence Either `auto` or `away` - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `users:write` - * } + * @param array{ + * "presence": string, //Either `auto` or `away` + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users:write` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\UsersSetPresencePostResponse200|Model\UsersSetPresencePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\UsersSetPresencePostResponse200|Model\UsersSetPresencePostResponsedefault */ - public function usersSetPresence(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function usersSetPresence(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\UsersSetPresence($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UsersSetPresence($formParameters, $headerParameters)); } /** * Open a view for a user. * - * @param array $formParameters { - * - * @var string $trigger_id exchange a trigger to post to the user - * @var string $view A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "trigger_id": string, //Exchange a trigger to post to the user. + * "view": string, //A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ViewsOpenPostResponse200|Model\ViewsOpenPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ViewsOpenPostResponse200|Model\ViewsOpenPostResponsedefault */ - public function viewsOpen(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function viewsOpen(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ViewsOpen($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ViewsOpen($formParameters, $headerParameters)); } /** * Publish a static view for a User. * - * @param array $formParameters { - * - * @var string $hash a string that represents view state to protect against possible race conditions - * @var string $user_id `id` of the user you want publish a view to - * @var string $view A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "hash"?: string, //A string that represents view state to protect against possible race conditions. + * "user_id": string, //`id` of the user you want publish a view to. + * "view": string, //A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ViewsPublishPostResponse200|Model\ViewsPublishPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ViewsPublishPostResponse200|Model\ViewsPublishPostResponsedefault */ - public function viewsPublish(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function viewsPublish(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ViewsPublish($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ViewsPublish($formParameters, $headerParameters)); } /** * Push a view onto the stack of a root view. * - * @param array $formParameters { - * - * @var string $trigger_id exchange a trigger to post to the user - * @var string $view A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "trigger_id": string, //Exchange a trigger to post to the user. + * "view": string, //A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ViewsPushPostResponse200|Model\ViewsPushPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ViewsPushPostResponse200|Model\ViewsPushPostResponsedefault */ - public function viewsPush(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function viewsPush(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ViewsPush($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ViewsPush($formParameters, $headerParameters)); } /** * Update an existing view. * - * @param array $formParameters { - * - * @var string $external_id A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either `view_id` or `external_id` is required. - * @var string $hash a string that represents view state to protect against possible race conditions - * @var string $view A [view object](/reference/surfaces/views). This must be a JSON-encoded string. - * @var string $view_id A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "external_id"?: string, //A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either `view_id` or `external_id` is required. + * "hash"?: string, //A string that represents view state to protect against possible race conditions. + * "view"?: string, //A [view object](/reference/surfaces/views). This must be a JSON-encoded string. + * "view_id"?: string, //A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\ViewsUpdatePostResponse200|Model\ViewsUpdatePostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\ViewsUpdatePostResponse200|Model\ViewsUpdatePostResponsedefault */ - public function viewsUpdate(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function viewsUpdate(array $formParameters = [], array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\ViewsUpdate($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ViewsUpdate($formParameters, $headerParameters)); } /** * Indicate that an app's step in a workflow completed execution. * - * @param array $formParameters { - * - * @var string $outputs Key-value object of outputs from your step. Keys of this object reflect the configured `key` properties of your [`outputs`](/reference/workflows/workflow_step#output) array from your `workflow_step` object. - * @var string $workflow_step_execute_id Context identifier that maps to the correct workflow step execution. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `workflow.steps:execute` - * } + * @param array{ + * "outputs"?: string, //Key-value object of outputs from your step. Keys of this object reflect the configured `key` properties of your [`outputs`](/reference/workflows/workflow_step#output) array from your `workflow_step` object. + * "workflow_step_execute_id": string, //Context identifier that maps to the correct workflow step execution. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `workflow.steps:execute` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\WorkflowsStepCompletedPostResponse200|Model\WorkflowsStepCompletedPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\WorkflowsStepCompletedPostResponse200|Model\WorkflowsStepCompletedPostResponsedefault */ - public function workflowsStepCompleted(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function workflowsStepCompleted(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\WorkflowsStepCompleted($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\WorkflowsStepCompleted($formParameters, $headerParameters)); } /** * Indicate that an app's step in a workflow failed to execute. * - * @param array $formParameters { - * - * @var string $error a JSON-based object with a `message` property that should contain a human readable error message - * @var string $workflow_step_execute_id Context identifier that maps to the correct workflow step execution. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `workflow.steps:execute` - * } + * @param array{ + * "error": string, //A JSON-based object with a `message` property that should contain a human readable error message. + * "workflow_step_execute_id": string, //Context identifier that maps to the correct workflow step execution. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `workflow.steps:execute` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\WorkflowsStepFailedPostResponse200|Model\WorkflowsStepFailedPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\WorkflowsStepFailedPostResponse200|Model\WorkflowsStepFailedPostResponsedefault */ - public function workflowsStepFailed(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function workflowsStepFailed(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\WorkflowsStepFailed($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\WorkflowsStepFailed($formParameters, $headerParameters)); } /** * Update the configuration for a workflow extension step. * - * @param array $formParameters { - * - * @var string $inputs A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. **Please note**: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime. [Read more about variables in workflow steps here](/workflows/steps#variables). - * @var string $outputs An JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed. - * @var string $step_image_url an optional field that can be used to override app image that is shown in the Workflow Builder - * @var string $step_name an optional field that can be used to override the step name that is shown in the Workflow Builder - * @var string $workflow_step_edit_id A context identifier provided with `view_submission` payloads used to call back to `workflows.updateStep`. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `workflow.steps:execute` - * } + * @param array{ + * "inputs"?: string, //A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. **Please note**: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime. [Read more about variables in workflow steps here](/workflows/steps#variables). + * "outputs"?: string, //An JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed. + * "step_image_url"?: string, //An optional field that can be used to override app image that is shown in the Workflow Builder. + * "step_name"?: string, //An optional field that can be used to override the step name that is shown in the Workflow Builder. + * "workflow_step_edit_id": string, //A context identifier provided with `view_submission` payloads used to call back to `workflows.updateStep`. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `workflow.steps:execute` + * } $headerParameters * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return ($fetch is 'object' ? Model\WorkflowsUpdateStepPostResponse200|Model\WorkflowsUpdateStepPostResponsedefault|null : \Psr\Http\Message\ResponseInterface) + * @return Model\WorkflowsUpdateStepPostResponse200|Model\WorkflowsUpdateStepPostResponsedefault */ - public function workflowsUpdateStep(array $formParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT) + public function workflowsUpdateStep(array $formParameters, array $headerParameters = []) { - return $this->executeEndpoint(new Endpoint\WorkflowsUpdateStep($formParameters, $headerParameters), $fetch); + return $this->executeEndpoint(new Endpoint\WorkflowsUpdateStep($formParameters, $headerParameters)); } - public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = [], bool $applyServerPlugins = true) + /** + * @param list $additionalPlugins HttpClientInterface decorator factories, applied left-to-right after the server URL decorator + * @param list<\Symfony\Component\Serializer\Normalizer\NormalizerInterface|\Symfony\Component\Serializer\Normalizer\DenormalizerInterface> $additionalNormalizers + */ + public static function create(?\Symfony\Contracts\HttpClient\HttpClientInterface $httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = [], bool $applyServerPlugins = true) { $plugins = []; if (null === $httpClient) { - $httpClient = \Http\Discovery\Psr18ClientDiscovery::find(); + $httpClient = \Symfony\Component\HttpClient\HttpClient::create(); } if ($applyServerPlugins) { - $uri = \Http\Discovery\Psr17FactoryDiscovery::findUriFactory()->createUri('https://slack.com/api'); - $plugins[] = new \Http\Client\Common\Plugin\AddHostPlugin($uri); - $plugins[] = new \Http\Client\Common\Plugin\AddPathPlugin($uri); + $plugins[] = new \Jane\Component\OpenApiRuntime\Client\Plugin\ServerUrlHttpClient('https://slack.com/api'); } if (\count($additionalPlugins) > 0) { $plugins = array_merge($plugins, $additionalPlugins); } - $httpClient = new \Http\Client\Common\PluginClient($httpClient, $plugins); - $requestFactory = \Http\Discovery\Psr17FactoryDiscovery::findRequestFactory(); - $streamFactory = \Http\Discovery\Psr17FactoryDiscovery::findStreamFactory(); + foreach ($plugins as $plugin) { + $httpClient = $plugin($httpClient); + } $normalizers = [new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new Normalizer\JaneObjectNormalizer()]; if (\count($additionalNormalizers) > 0) { $normalizers = array_merge($normalizers, $additionalNormalizers); } $serializer = new \Symfony\Component\Serializer\Serializer($normalizers, [new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode(['json_decode_associative' => true])), new Runtime\Client\FormEncoder()]); - return new static($httpClient, $requestFactory, $serializer, $streamFactory); + return new static($httpClient, $serializer); } } diff --git a/generated/Endpoint/AdminAppsApprove.php b/generated/Endpoint/AdminAppsApprove.php index 914f7c6f..de7298e6 100644 --- a/generated/Endpoint/AdminAppsApprove.php +++ b/generated/Endpoint/AdminAppsApprove.php @@ -20,17 +20,14 @@ class AdminAppsApprove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Approve an app for installation on a workspace. * - * @param array $formParameters { - * - * @var string $app_id the id of the app to approve - * @var string $request_id the id of the request to approve - * @var string $team_id - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.apps:write` - * } + * @param array{ + * "app_id"?: string, //The id of the app to approve. + * "request_id"?: string, //The id of the request to approve. + * "team_id"?: string, + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.apps:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.apps.approve'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminAppsApprovePostResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminAppsApprovePostResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsApprovePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminAppsApprovedList.php b/generated/Endpoint/AdminAppsApprovedList.php index cb447f78..ad78e19a 100644 --- a/generated/Endpoint/AdminAppsApprovedList.php +++ b/generated/Endpoint/AdminAppsApprovedList.php @@ -20,14 +20,13 @@ class AdminAppsApprovedList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpo /** * List approved apps for an org or workspace. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var string $enterprise_id - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.apps:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "enterprise_id"?: string, + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin.apps:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/admin.apps.approved.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsApprovedListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminAppsRequestsList.php b/generated/Endpoint/AdminAppsRequestsList.php index 2acb9ced..8d3c1077 100644 --- a/generated/Endpoint/AdminAppsRequestsList.php +++ b/generated/Endpoint/AdminAppsRequestsList.php @@ -20,13 +20,12 @@ class AdminAppsRequestsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpo /** * List app requests for a team/workspace. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.apps:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin.apps:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -43,7 +42,7 @@ public function getUri(): string return '/admin.apps.requests.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRequestsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminAppsRestrict.php b/generated/Endpoint/AdminAppsRestrict.php index 54287847..8e23fbfb 100644 --- a/generated/Endpoint/AdminAppsRestrict.php +++ b/generated/Endpoint/AdminAppsRestrict.php @@ -20,17 +20,14 @@ class AdminAppsRestrict extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Restrict an app for installation on a workspace. * - * @param array $formParameters { - * - * @var string $app_id the id of the app to restrict - * @var string $request_id the id of the request to restrict - * @var string $team_id - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.apps:write` - * } + * @param array{ + * "app_id"?: string, //The id of the app to restrict. + * "request_id"?: string, //The id of the request to restrict. + * "team_id"?: string, + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.apps:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.apps.restrict'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRestrictPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminAppsRestrictedList.php b/generated/Endpoint/AdminAppsRestrictedList.php index e023abd0..60cbde6f 100644 --- a/generated/Endpoint/AdminAppsRestrictedList.php +++ b/generated/Endpoint/AdminAppsRestrictedList.php @@ -20,14 +20,13 @@ class AdminAppsRestrictedList extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * List restricted apps for an org or workspace. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var string $enterprise_id - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.apps:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "enterprise_id"?: string, + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin.apps:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/admin.apps.restricted.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponse200|\JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminAppsRestrictedListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsArchive.php b/generated/Endpoint/AdminConversationsArchive.php index 2e539976..6abbffb5 100644 --- a/generated/Endpoint/AdminConversationsArchive.php +++ b/generated/Endpoint/AdminConversationsArchive.php @@ -20,17 +20,14 @@ class AdminConversationsArchive extends \JoliCode\Slack\Api\Runtime\Client\BaseE /** * Archive a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to archive. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to archive. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/admin.conversations.archive'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsArchivePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsConvertToPrivate.php b/generated/Endpoint/AdminConversationsConvertToPrivate.php index b6ffb3bd..0d9dfb96 100644 --- a/generated/Endpoint/AdminConversationsConvertToPrivate.php +++ b/generated/Endpoint/AdminConversationsConvertToPrivate.php @@ -20,17 +20,14 @@ class AdminConversationsConvertToPrivate extends \JoliCode\Slack\Api\Runtime\Cli /** * Convert a public channel to a private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to convert to private. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to convert to private. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/admin.conversations.convertToPrivate'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsConvertToPrivatePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsCreate.php b/generated/Endpoint/AdminConversationsCreate.php index 458047cc..37bb9fd5 100644 --- a/generated/Endpoint/AdminConversationsCreate.php +++ b/generated/Endpoint/AdminConversationsCreate.php @@ -20,21 +20,18 @@ class AdminConversationsCreate extends \JoliCode\Slack\Api\Runtime\Client\BaseEn /** * Create a public or private channel-based conversation. * - * @param array $formParameters { - * - * @var string $description description of the public or private channel to create - * @var bool $is_private When `true`, creates a private channel instead of a public channel - * @var string $name name of the public or private channel to create - * @var bool $org_wide When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel - * @var string $team_id The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "description"?: string, //Description of the public or private channel to create. + * "is_private": bool, //When `true`, creates a private channel instead of a public channel + * "name": string, //Name of the public or private channel to create. + * "org_wide"?: bool, //When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel + * "team_id"?: string, //The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -50,7 +47,7 @@ public function getUri(): string return '/admin.conversations.create'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -65,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -92,12 +99,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsCreatePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsDelete.php b/generated/Endpoint/AdminConversationsDelete.php index c6e97996..3596af65 100644 --- a/generated/Endpoint/AdminConversationsDelete.php +++ b/generated/Endpoint/AdminConversationsDelete.php @@ -20,17 +20,14 @@ class AdminConversationsDelete extends \JoliCode\Slack\Api\Runtime\Client\BaseEn /** * Delete a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to delete. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to delete. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/admin.conversations.delete'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsDeletePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsDisconnectShared.php b/generated/Endpoint/AdminConversationsDisconnectShared.php index 875443db..eb3f2f1a 100644 --- a/generated/Endpoint/AdminConversationsDisconnectShared.php +++ b/generated/Endpoint/AdminConversationsDisconnectShared.php @@ -20,18 +20,15 @@ class AdminConversationsDisconnectShared extends \JoliCode\Slack\Api\Runtime\Cli /** * Disconnect a connected channel from one or more workspaces. * - * @param array $formParameters { - * - * @var string $channel_id the channel to be disconnected from some workspaces - * @var string $leaving_team_ids The team to be removed from the channel. Currently only a single team id can be specified. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to be disconnected from some workspaces. + * "leaving_team_ids"?: string, //The team to be removed from the channel. Currently only a single team id can be specified. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.conversations.disconnectShared'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsDisconnectSharedPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsEkmListOriginalConnectedChannelInfo.php b/generated/Endpoint/AdminConversationsEkmListOriginalConnectedChannelInfo.php index f93a6db6..c4364098 100644 --- a/generated/Endpoint/AdminConversationsEkmListOriginalConnectedChannelInfo.php +++ b/generated/Endpoint/AdminConversationsEkmListOriginalConnectedChannelInfo.php @@ -20,14 +20,13 @@ class AdminConversationsEkmListOriginalConnectedChannelInfo extends \JoliCode\Sl /** * List all disconnected channels—i.e., channels that were once connected to other workspaces and then disconnected—and the corresponding original channel IDs for key revocation with EKM. * - * @param array $queryParameters { - * - * @var string $channel_ids a comma-separated list of channels to filter to - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_ids a comma-separated list of the workspaces to which the channels you would like returned belong - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "channel_ids"?: string, //A comma-separated list of channels to filter to. + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_ids"?: string, //A comma-separated list of the workspaces to which the channels you would like returned belong. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/admin.conversations.ekm.listOriginalConnectedChannelInfo'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsGetConversationPrefs.php b/generated/Endpoint/AdminConversationsGetConversationPrefs.php index 61d7f6fa..035b09f3 100644 --- a/generated/Endpoint/AdminConversationsGetConversationPrefs.php +++ b/generated/Endpoint/AdminConversationsGetConversationPrefs.php @@ -20,17 +20,14 @@ class AdminConversationsGetConversationPrefs extends \JoliCode\Slack\Api\Runtime /** * Get conversation preferences for a public or private channel. * - * @param array $queryParameters { - * - * @var string $channel_id The channel to get preferences for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "channel_id": string, //The channel to get preferences for. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/admin.conversations.getConversationPrefs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsGetTeams.php b/generated/Endpoint/AdminConversationsGetTeams.php index 656459b7..4840855c 100644 --- a/generated/Endpoint/AdminConversationsGetTeams.php +++ b/generated/Endpoint/AdminConversationsGetTeams.php @@ -20,19 +20,16 @@ class AdminConversationsGetTeams extends \JoliCode\Slack\Api\Runtime\Client\Base /** * Get all the workspaces a given public or private channel is connected to within this Enterprise org. * - * @param array $queryParameters { - * - * @var string $channel_id the channel to determine connected workspaces within the organization for - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "channel_id": string, //The channel to determine connected workspaces within the organization for. + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.conversations.getTeams'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsInvite.php b/generated/Endpoint/AdminConversationsInvite.php index 4818b647..231f79bc 100644 --- a/generated/Endpoint/AdminConversationsInvite.php +++ b/generated/Endpoint/AdminConversationsInvite.php @@ -20,18 +20,15 @@ class AdminConversationsInvite extends \JoliCode\Slack\Api\Runtime\Client\BaseEn /** * Invite a user to a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel that the users will be invited to - * @var string $user_ids The users to invite. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel that the users will be invited to. + * "user_ids": string, //The users to invite. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.conversations.invite'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsInvitePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsRename.php b/generated/Endpoint/AdminConversationsRename.php index 2bbc656f..eb57d66b 100644 --- a/generated/Endpoint/AdminConversationsRename.php +++ b/generated/Endpoint/AdminConversationsRename.php @@ -20,18 +20,15 @@ class AdminConversationsRename extends \JoliCode\Slack\Api\Runtime\Client\BaseEn /** * Rename a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel to rename - * @var string $name - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to rename. + * "name": string, + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.conversations.rename'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsRenamePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsRestrictAccessAddGroup.php b/generated/Endpoint/AdminConversationsRestrictAccessAddGroup.php index 7a45402f..e455cf22 100644 --- a/generated/Endpoint/AdminConversationsRestrictAccessAddGroup.php +++ b/generated/Endpoint/AdminConversationsRestrictAccessAddGroup.php @@ -20,15 +20,14 @@ class AdminConversationsRestrictAccessAddGroup extends \JoliCode\Slack\Api\Runti /** * Add an allowlist of IDP groups for accessing a channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel to link this group to - * @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel. - * @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to link this group to. + * "group_id": string, //The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel. + * "team_id"?: string, //The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/admin.conversations.restrictAccess.addGroup'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -73,12 +82,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessAddGroupPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsRestrictAccessListGroups.php b/generated/Endpoint/AdminConversationsRestrictAccessListGroups.php index fcd7e795..2e9d68b2 100644 --- a/generated/Endpoint/AdminConversationsRestrictAccessListGroups.php +++ b/generated/Endpoint/AdminConversationsRestrictAccessListGroups.php @@ -20,14 +20,13 @@ class AdminConversationsRestrictAccessListGroups extends \JoliCode\Slack\Api\Run /** * List all IDP Groups linked to a channel. * - * @param array $queryParameters { - * - * @var string $channel_id - * @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "channel_id": string, + * "team_id"?: string, //The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.conversations.restrictAccess.listGroups'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessListGroupsGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsRestrictAccessRemoveGroup.php b/generated/Endpoint/AdminConversationsRestrictAccessRemoveGroup.php index 10097da1..0c947855 100644 --- a/generated/Endpoint/AdminConversationsRestrictAccessRemoveGroup.php +++ b/generated/Endpoint/AdminConversationsRestrictAccessRemoveGroup.php @@ -20,15 +20,14 @@ class AdminConversationsRestrictAccessRemoveGroup extends \JoliCode\Slack\Api\Ru /** * Remove a linked IDP group linked from a private channel. * - * @param array $formParameters { - * - * @var string $channel_id the channel to remove the linked group from - * @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel. - * @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to remove the linked group from. + * "group_id": string, //The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel. + * "team_id": string, //The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/admin.conversations.restrictAccess.removeGroup'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -73,12 +82,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsRestrictAccessRemoveGroupPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsSearch.php b/generated/Endpoint/AdminConversationsSearch.php index 4b6c58d6..e6f869f0 100644 --- a/generated/Endpoint/AdminConversationsSearch.php +++ b/generated/Endpoint/AdminConversationsSearch.php @@ -20,21 +20,18 @@ class AdminConversationsSearch extends \JoliCode\Slack\Api\Runtime\Client\BaseEn /** * Search for public or private channels in an Enterprise organization. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. - * @var string $query name of the the channel to query by - * @var string $search_channel_types The type of channel to include or exclude in the search. For example `private` will search private channels, while `private_exclude` will exclude them. For a full list of types, check the [Types section](#types). - * @var string $sort Possible values are `relevant` (search ranking based on what we think is closest), `name` (alphabetical), `member_count` (number of users in the channel), and `created` (date channel was created). You can optionally pair this with the `sort_dir` arg to change how it is sorted - * @var string $sort_dir Sort direction. Possible values are `asc` for ascending order like (1, 2, 3) or (a, b, c), and `desc` for descending order like (3, 2, 1) or (c, b, a) - * @var string $team_ids Comma separated string of team IDs, signifying the workspaces to search through. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. + * "query"?: string, //Name of the the channel to query by. + * "search_channel_types"?: string, //The type of channel to include or exclude in the search. For example `private` will search private channels, while `private_exclude` will exclude them. For a full list of types, check the [Types section](#types). + * "sort"?: string, //Possible values are `relevant` (search ranking based on what we think is closest), `name` (alphabetical), `member_count` (number of users in the channel), and `created` (date channel was created). You can optionally pair this with the `sort_dir` arg to change how it is sorted + * "sort_dir"?: string, //Sort direction. Possible values are `asc` for ascending order like (1, 2, 3) or (a, b, c), and `desc` for descending order like (3, 2, 1) or (c, b, a) + * "team_ids"?: string, //Comma separated string of team IDs, signifying the workspaces to search through. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:read` + * } $headerParameters */ public function __construct(array $queryParameters = [], array $headerParameters = []) { @@ -52,7 +49,7 @@ public function getUri(): string return '/admin.conversations.search'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -67,6 +64,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -96,12 +103,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsSearchGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsSetConversationPrefs.php b/generated/Endpoint/AdminConversationsSetConversationPrefs.php index 50c43ffe..36080c6b 100644 --- a/generated/Endpoint/AdminConversationsSetConversationPrefs.php +++ b/generated/Endpoint/AdminConversationsSetConversationPrefs.php @@ -20,18 +20,15 @@ class AdminConversationsSetConversationPrefs extends \JoliCode\Slack\Api\Runtime /** * Set the posting permissions for a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to set the prefs for - * @var string $prefs The prefs for this channel in a stringified JSON format. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to set the prefs for + * "prefs": string, //The prefs for this channel in a stringified JSON format. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.conversations.setConversationPrefs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsSetConversationPrefsPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSetConversationPrefsPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsSetConversationPrefsPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSetConversationPrefsPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsSetConversationPrefsPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsSetTeams.php b/generated/Endpoint/AdminConversationsSetTeams.php index d8f0d576..a8bef6da 100644 --- a/generated/Endpoint/AdminConversationsSetTeams.php +++ b/generated/Endpoint/AdminConversationsSetTeams.php @@ -20,20 +20,17 @@ class AdminConversationsSetTeams extends \JoliCode\Slack\Api\Runtime\Client\Base /** * Set the workspaces in an Enterprise grid org that connect to a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id the encoded `channel_id` to add or remove to workspaces - * @var bool $org_channel True if channel has to be converted to an org channel - * @var string $target_team_ids A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. - * @var string $team_id The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The encoded `channel_id` to add or remove to workspaces. + * "org_channel"?: bool, //True if channel has to be converted to an org channel + * "target_team_ids"?: string, //A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. + * "team_id"?: string, //The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -49,7 +46,7 @@ public function getUri(): string return '/admin.conversations.setTeams'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsSetTeamsPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSetTeamsPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsSetTeamsPostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsSetTeamsPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsSetTeamsPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminConversationsUnarchive.php b/generated/Endpoint/AdminConversationsUnarchive.php index 79c6013b..5a08d434 100644 --- a/generated/Endpoint/AdminConversationsUnarchive.php +++ b/generated/Endpoint/AdminConversationsUnarchive.php @@ -20,17 +20,14 @@ class AdminConversationsUnarchive extends \JoliCode\Slack\Api\Runtime\Client\Bas /** * Unarchive a public or private channel. * - * @param array $formParameters { - * - * @var string $channel_id The channel to unarchive. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.conversations:write` - * } + * @param array{ + * "channel_id": string, //The channel to unarchive. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.conversations:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/admin.conversations.unarchive'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminConversationsUnarchivePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsUnarchivePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminConversationsUnarchivePostResponse200|\JoliCode\Slack\Api\Model\AdminConversationsUnarchivePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminConversationsUnarchivePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminEmojiAdd.php b/generated/Endpoint/AdminEmojiAdd.php index 2ec109de..bb726120 100644 --- a/generated/Endpoint/AdminEmojiAdd.php +++ b/generated/Endpoint/AdminEmojiAdd.php @@ -20,14 +20,13 @@ class AdminEmojiAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Add an emoji. * - * @param array $formParameters { - * - * @var string $name The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * @var string $url The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best. - * } + * @param array{ + * "name": string, //The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * "url": string, //The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best. + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.emoji.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,12 +80,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminEmojiAddPostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminEmojiAddPostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminEmojiAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminEmojiAddAlias.php b/generated/Endpoint/AdminEmojiAddAlias.php index aec94fd8..5a3fec69 100644 --- a/generated/Endpoint/AdminEmojiAddAlias.php +++ b/generated/Endpoint/AdminEmojiAddAlias.php @@ -20,14 +20,13 @@ class AdminEmojiAddAlias extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Add an emoji alias. * - * @param array $formParameters { - * - * @var string $alias_for the alias of the emoji - * @var string $name The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "alias_for": string, //The alias of the emoji. + * "name": string, //The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.emoji.addAlias'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,12 +80,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminEmojiAddAliasPostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiAddAliasPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminEmojiAddAliasPostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiAddAliasPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminEmojiAddAliasPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminEmojiList.php b/generated/Endpoint/AdminEmojiList.php index 884bc22f..691938e0 100644 --- a/generated/Endpoint/AdminEmojiList.php +++ b/generated/Endpoint/AdminEmojiList.php @@ -20,12 +20,11 @@ class AdminEmojiList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * List emoji for an Enterprise Grid organization. * - * @param array $queryParameters { - * - * @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.emoji.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminEmojiListGetResponse200|\JoliCode\Slack\Api\Model\AdminEmojiListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminEmojiListGetResponse200|\JoliCode\Slack\Api\Model\AdminEmojiListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminEmojiListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminEmojiRemove.php b/generated/Endpoint/AdminEmojiRemove.php index 939140cf..20003258 100644 --- a/generated/Endpoint/AdminEmojiRemove.php +++ b/generated/Endpoint/AdminEmojiRemove.php @@ -20,13 +20,12 @@ class AdminEmojiRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Remove an emoji across an Enterprise Grid organization. * - * @param array $formParameters { - * - * @var string $name The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "name": string, //The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -41,7 +40,7 @@ public function getUri(): string return '/admin.emoji.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -69,12 +78,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminEmojiRemovePostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminEmojiRemovePostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminEmojiRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminEmojiRename.php b/generated/Endpoint/AdminEmojiRename.php index 322b156a..5d835442 100644 --- a/generated/Endpoint/AdminEmojiRename.php +++ b/generated/Endpoint/AdminEmojiRename.php @@ -20,14 +20,13 @@ class AdminEmojiRename extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Rename an emoji. * - * @param array $formParameters { - * - * @var string $name The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included. - * @var string $new_name the new name of the emoji - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "name": string, //The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included. + * "new_name": string, //The new name of the emoji. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.emoji.rename'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,12 +80,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminEmojiRenamePostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiRenamePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminEmojiRenamePostResponse200|\JoliCode\Slack\Api\Model\AdminEmojiRenamePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminEmojiRenamePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminInviteRequestsApprove.php b/generated/Endpoint/AdminInviteRequestsApprove.php index f0d6d5dc..17a3e9bb 100644 --- a/generated/Endpoint/AdminInviteRequestsApprove.php +++ b/generated/Endpoint/AdminInviteRequestsApprove.php @@ -20,18 +20,15 @@ class AdminInviteRequestsApprove extends \JoliCode\Slack\Api\Runtime\Client\Base /** * Approve a workspace invite request. * - * @param array $formParameters { - * - * @var string $invite_request_id ID of the request to invite - * @var string $team_id ID for the workspace where the invite request was made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:write` - * } + * @param array{ + * "invite_request_id": string, //ID of the request to invite. + * "team_id"?: string, //ID for the workspace where the invite request was made. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.inviteRequests.approve'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsApprovePostResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsApprovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsApprovePostResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsApprovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminInviteRequestsApprovePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminInviteRequestsApprovedList.php b/generated/Endpoint/AdminInviteRequestsApprovedList.php index 39bb2aa3..702b370e 100644 --- a/generated/Endpoint/AdminInviteRequestsApprovedList.php +++ b/generated/Endpoint/AdminInviteRequestsApprovedList.php @@ -20,17 +20,14 @@ class AdminInviteRequestsApprovedList extends \JoliCode\Slack\Api\Runtime\Client /** * List all approved workspace invite requests. * - * @param array $queryParameters { - * - * @var string $cursor Value of the `next_cursor` field sent as part of the previous API response - * @var int $limit The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive - * @var string $team_id ID for the workspace where the invite requests were made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:read` - * } + * @param array{ + * "cursor"?: string, //Value of the `next_cursor` field sent as part of the previous API response + * "limit"?: int, //The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive + * "team_id"?: string, //ID for the workspace where the invite requests were made. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:read` + * } $headerParameters */ public function __construct(array $queryParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.inviteRequests.approved.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsApprovedListGetResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsApprovedListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsApprovedListGetResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsApprovedListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminInviteRequestsApprovedListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminInviteRequestsDeniedList.php b/generated/Endpoint/AdminInviteRequestsDeniedList.php index d325d3b4..49b7a9e6 100644 --- a/generated/Endpoint/AdminInviteRequestsDeniedList.php +++ b/generated/Endpoint/AdminInviteRequestsDeniedList.php @@ -20,17 +20,14 @@ class AdminInviteRequestsDeniedList extends \JoliCode\Slack\Api\Runtime\Client\B /** * List all denied workspace invite requests. * - * @param array $queryParameters { - * - * @var string $cursor Value of the `next_cursor` field sent as part of the previous api response - * @var int $limit The number of results that will be returned by the API on each invocation. Must be between 1 - 1000 both inclusive - * @var string $team_id ID for the workspace where the invite requests were made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:read` - * } + * @param array{ + * "cursor"?: string, //Value of the `next_cursor` field sent as part of the previous api response + * "limit"?: int, //The number of results that will be returned by the API on each invocation. Must be between 1 - 1000 both inclusive + * "team_id"?: string, //ID for the workspace where the invite requests were made. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:read` + * } $headerParameters */ public function __construct(array $queryParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.inviteRequests.denied.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsDeniedListGetResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsDeniedListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsDeniedListGetResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsDeniedListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminInviteRequestsDeniedListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminInviteRequestsDeny.php b/generated/Endpoint/AdminInviteRequestsDeny.php index 3b708da3..a751d616 100644 --- a/generated/Endpoint/AdminInviteRequestsDeny.php +++ b/generated/Endpoint/AdminInviteRequestsDeny.php @@ -20,18 +20,15 @@ class AdminInviteRequestsDeny extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * Deny a workspace invite request. * - * @param array $formParameters { - * - * @var string $invite_request_id ID of the request to invite - * @var string $team_id ID for the workspace where the invite request was made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:write` - * } + * @param array{ + * "invite_request_id": string, //ID of the request to invite. + * "team_id"?: string, //ID for the workspace where the invite request was made. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.inviteRequests.deny'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsDenyPostResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsDenyPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsDenyPostResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsDenyPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminInviteRequestsDenyPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminInviteRequestsList.php b/generated/Endpoint/AdminInviteRequestsList.php index 9130c103..59629882 100644 --- a/generated/Endpoint/AdminInviteRequestsList.php +++ b/generated/Endpoint/AdminInviteRequestsList.php @@ -20,17 +20,14 @@ class AdminInviteRequestsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * List all pending workspace invite requests. * - * @param array $queryParameters { - * - * @var string $cursor Value of the `next_cursor` field sent as part of the previous API response - * @var int $limit The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive - * @var string $team_id ID for the workspace where the invite requests were made. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.invites:read` - * } + * @param array{ + * "cursor"?: string, //Value of the `next_cursor` field sent as part of the previous API response + * "limit"?: int, //The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive + * "team_id"?: string, //ID for the workspace where the invite requests were made. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.invites:read` + * } $headerParameters */ public function __construct(array $queryParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.inviteRequests.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsListGetResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminInviteRequestsListGetResponse200|\JoliCode\Slack\Api\Model\AdminInviteRequestsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminInviteRequestsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsAdminsList.php b/generated/Endpoint/AdminTeamsAdminsList.php index d38a2150..e44bbc71 100644 --- a/generated/Endpoint/AdminTeamsAdminsList.php +++ b/generated/Endpoint/AdminTeamsAdminsList.php @@ -20,15 +20,14 @@ class AdminTeamsAdminsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * List all of the admins on a given workspace. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit the maximum number of items to return - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. + * "team_id": string, + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/admin.teams.admins.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsAdminsListGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsAdminsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsAdminsListGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsAdminsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsAdminsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsCreate.php b/generated/Endpoint/AdminTeamsCreate.php index 93b9383e..86c96236 100644 --- a/generated/Endpoint/AdminTeamsCreate.php +++ b/generated/Endpoint/AdminTeamsCreate.php @@ -20,20 +20,17 @@ class AdminTeamsCreate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Create an Enterprise team. * - * @param array $formParameters { - * - * @var string $team_description description for the team - * @var string $team_discoverability Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. - * @var string $team_domain team domain (for example, slacksoftballteam) - * @var string $team_name Team name (for example, Slack Softball Team). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "team_description"?: string, //Description for the team. + * "team_discoverability"?: string, //Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. + * "team_domain": string, //Team domain (for example, slacksoftballteam). + * "team_name": string, //Team name (for example, Slack Softball Team). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -49,7 +46,7 @@ public function getUri(): string return '/admin.teams.create'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsCreatePostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsCreatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsCreatePostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsCreatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsCreatePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsList.php b/generated/Endpoint/AdminTeamsList.php index 16aa38d7..6d451c6a 100644 --- a/generated/Endpoint/AdminTeamsList.php +++ b/generated/Endpoint/AdminTeamsList.php @@ -20,16 +20,13 @@ class AdminTeamsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * List all teams on an Enterprise organization. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 100 both inclusive. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 100 both inclusive. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $headerParameters */ public function __construct(array $queryParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.teams.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsListGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsListGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsOwnersList.php b/generated/Endpoint/AdminTeamsOwnersList.php index 6b7c75c5..5077d52c 100644 --- a/generated/Endpoint/AdminTeamsOwnersList.php +++ b/generated/Endpoint/AdminTeamsOwnersList.php @@ -20,15 +20,14 @@ class AdminTeamsOwnersList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * List all of the owners on a given workspace. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive. - * @var string $team_id - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //The maximum number of items to return. Must be between 1 - 1000 both inclusive. + * "team_id": string, + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/admin.teams.owners.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsOwnersListGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsOwnersListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsOwnersListGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsOwnersListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsOwnersListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsSettingsInfo.php b/generated/Endpoint/AdminTeamsSettingsInfo.php index f0816ffb..ef00aa27 100644 --- a/generated/Endpoint/AdminTeamsSettingsInfo.php +++ b/generated/Endpoint/AdminTeamsSettingsInfo.php @@ -20,17 +20,14 @@ class AdminTeamsSettingsInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndp /** * Fetch information about settings in a workspace. * - * @param array $queryParameters { - * - * @var string $team_id - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:read` - * } + * @param array{ + * "team_id": string, + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/admin.teams.settings.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsInfoGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsInfoGetResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsSettingsInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsSettingsSetDefaultChannels.php b/generated/Endpoint/AdminTeamsSettingsSetDefaultChannels.php index 745053e6..85429a79 100644 --- a/generated/Endpoint/AdminTeamsSettingsSetDefaultChannels.php +++ b/generated/Endpoint/AdminTeamsSettingsSetDefaultChannels.php @@ -20,14 +20,13 @@ class AdminTeamsSettingsSetDefaultChannels extends \JoliCode\Slack\Api\Runtime\C /** * Set the default channels of a workspace. * - * @param array $formParameters { - * - * @var string $channel_ids an array of channel IDs - * @var string $team_id ID for the workspace to set the default channel for - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "channel_ids": string, //An array of channel IDs. + * "team_id": string, //ID for the workspace to set the default channel for. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.teams.settings.setDefaultChannels'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,12 +80,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDefaultChannelsPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDefaultChannelsPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDefaultChannelsPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDefaultChannelsPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDefaultChannelsPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsSettingsSetDescription.php b/generated/Endpoint/AdminTeamsSettingsSetDescription.php index eb96051e..05c6f995 100644 --- a/generated/Endpoint/AdminTeamsSettingsSetDescription.php +++ b/generated/Endpoint/AdminTeamsSettingsSetDescription.php @@ -20,18 +20,15 @@ class AdminTeamsSettingsSetDescription extends \JoliCode\Slack\Api\Runtime\Clien /** * Set the description of a given workspace. * - * @param array $formParameters { - * - * @var string $description the new description for the workspace - * @var string $team_id ID for the workspace to set the description for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "description": string, //The new description for the workspace. + * "team_id": string, //ID for the workspace to set the description for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.teams.settings.setDescription'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDescriptionPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDescriptionPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDescriptionPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDescriptionPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDescriptionPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsSettingsSetDiscoverability.php b/generated/Endpoint/AdminTeamsSettingsSetDiscoverability.php index 894881d9..e408b234 100644 --- a/generated/Endpoint/AdminTeamsSettingsSetDiscoverability.php +++ b/generated/Endpoint/AdminTeamsSettingsSetDiscoverability.php @@ -20,18 +20,15 @@ class AdminTeamsSettingsSetDiscoverability extends \JoliCode\Slack\Api\Runtime\C /** * An API method that allows admins to set the discoverability of a given workspace. * - * @param array $formParameters { - * - * @var string $discoverability This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. - * @var string $team_id The ID of the workspace to set discoverability on. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "discoverability": string, //This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. + * "team_id": string, //The ID of the workspace to set discoverability on. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.teams.settings.setDiscoverability'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDiscoverabilityPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDiscoverabilityPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDiscoverabilityPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDiscoverabilityPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsSettingsSetDiscoverabilityPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsSettingsSetIcon.php b/generated/Endpoint/AdminTeamsSettingsSetIcon.php index 1dac5b96..9f045ca9 100644 --- a/generated/Endpoint/AdminTeamsSettingsSetIcon.php +++ b/generated/Endpoint/AdminTeamsSettingsSetIcon.php @@ -20,14 +20,13 @@ class AdminTeamsSettingsSetIcon extends \JoliCode\Slack\Api\Runtime\Client\BaseE /** * Sets the icon of a workspace. * - * @param array $formParameters { - * - * @var string $image_url Image URL for the icon - * @var string $team_id ID for the workspace to set the icon for - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "image_url": string, //Image URL for the icon + * "team_id": string, //ID for the workspace to set the icon for. + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/admin.teams.settings.setIcon'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,12 +80,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetIconPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetIconPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetIconPostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetIconPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsSettingsSetIconPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminTeamsSettingsSetName.php b/generated/Endpoint/AdminTeamsSettingsSetName.php index b3c621f0..c19fce39 100644 --- a/generated/Endpoint/AdminTeamsSettingsSetName.php +++ b/generated/Endpoint/AdminTeamsSettingsSetName.php @@ -20,18 +20,15 @@ class AdminTeamsSettingsSetName extends \JoliCode\Slack\Api\Runtime\Client\BaseE /** * Set the name of a given workspace. * - * @param array $formParameters { - * - * @var string $name the new name of the workspace - * @var string $team_id ID for the workspace to set the name for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "name": string, //The new name of the workspace. + * "team_id": string, //ID for the workspace to set the name for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.teams.settings.setName'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetNamePostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetNamePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminTeamsSettingsSetNamePostResponse200|\JoliCode\Slack\Api\Model\AdminTeamsSettingsSetNamePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminTeamsSettingsSetNamePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsergroupsAddChannels.php b/generated/Endpoint/AdminUsergroupsAddChannels.php index 1a7a8fd7..9f840b1a 100644 --- a/generated/Endpoint/AdminUsergroupsAddChannels.php +++ b/generated/Endpoint/AdminUsergroupsAddChannels.php @@ -20,19 +20,16 @@ class AdminUsergroupsAddChannels extends \JoliCode\Slack\Api\Runtime\Client\Base /** * Add one or more default channels to an IDP group. * - * @param array $formParameters { - * - * @var string $channel_ids comma separated string of channel IDs - * @var string $team_id the workspace to add default channels in - * @var string $usergroup_id ID of the IDP group to add default channels for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.usergroups:write` - * } + * @param array{ + * "channel_ids": string, //Comma separated string of channel IDs. + * "team_id"?: string, //The workspace to add default channels in. + * "usergroup_id": string, //ID of the IDP group to add default channels for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.usergroups.addChannels'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsergroupsAddChannelsPostResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsAddChannelsPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsergroupsAddChannelsPostResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsAddChannelsPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsergroupsAddChannelsPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsergroupsAddTeams.php b/generated/Endpoint/AdminUsergroupsAddTeams.php index 0d4470ce..038ec68d 100644 --- a/generated/Endpoint/AdminUsergroupsAddTeams.php +++ b/generated/Endpoint/AdminUsergroupsAddTeams.php @@ -20,19 +20,16 @@ class AdminUsergroupsAddTeams extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * Associate one or more default workspaces with an organization-wide IDP group. * - * @param array $formParameters { - * - * @var bool $auto_provision when `true`, this method automatically creates new workspace accounts for the IDP group members - * @var string $team_ids A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. - * @var string $usergroup_id An encoded usergroup (IDP Group) ID. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.teams:write` - * } + * @param array{ + * "auto_provision"?: bool, //When `true`, this method automatically creates new workspace accounts for the IDP group members. + * "team_ids": string, //A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. + * "usergroup_id": string, //An encoded usergroup (IDP Group) ID. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.teams:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.usergroups.addTeams'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsergroupsAddTeamsPostResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsAddTeamsPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsergroupsAddTeamsPostResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsAddTeamsPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsergroupsAddTeamsPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsergroupsListChannels.php b/generated/Endpoint/AdminUsergroupsListChannels.php index 8c895a54..c0904d8b 100644 --- a/generated/Endpoint/AdminUsergroupsListChannels.php +++ b/generated/Endpoint/AdminUsergroupsListChannels.php @@ -20,19 +20,16 @@ class AdminUsergroupsListChannels extends \JoliCode\Slack\Api\Runtime\Client\Bas /** * List the channels linked to an org-level IDP group (user group). * - * @param array $queryParameters { - * - * @var bool $include_num_members flag to include or exclude the count of members per channel - * @var string $team_id ID of the the workspace - * @var string $usergroup_id ID of the IDP group to list default channels for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.usergroups:read` - * } + * @param array{ + * "include_num_members"?: bool, //Flag to include or exclude the count of members per channel. + * "team_id"?: string, //ID of the the workspace. + * "usergroup_id": string, //ID of the IDP group to list default channels for. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.usergroups:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.usergroups.listChannels'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsergroupsListChannelsGetResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsListChannelsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsergroupsListChannelsGetResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsListChannelsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsergroupsListChannelsGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsergroupsRemoveChannels.php b/generated/Endpoint/AdminUsergroupsRemoveChannels.php index 7adb9d5a..5bca4410 100644 --- a/generated/Endpoint/AdminUsergroupsRemoveChannels.php +++ b/generated/Endpoint/AdminUsergroupsRemoveChannels.php @@ -20,18 +20,15 @@ class AdminUsergroupsRemoveChannels extends \JoliCode\Slack\Api\Runtime\Client\B /** * Remove one or more default channels from an org-level IDP group (user group). * - * @param array $formParameters { - * - * @var string $channel_ids Comma-separated string of channel IDs - * @var string $usergroup_id ID of the IDP Group - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.usergroups:write` - * } + * @param array{ + * "channel_ids": string, //Comma-separated string of channel IDs + * "usergroup_id": string, //ID of the IDP Group + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.usergroups.removeChannels'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsergroupsRemoveChannelsPostResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsRemoveChannelsPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsergroupsRemoveChannelsPostResponse200|\JoliCode\Slack\Api\Model\AdminUsergroupsRemoveChannelsPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsergroupsRemoveChannelsPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersAssign.php b/generated/Endpoint/AdminUsersAssign.php index 097e6cf0..0d76739e 100644 --- a/generated/Endpoint/AdminUsersAssign.php +++ b/generated/Endpoint/AdminUsersAssign.php @@ -20,21 +20,18 @@ class AdminUsersAssign extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Add an Enterprise user to a workspace. * - * @param array $formParameters { - * - * @var string $channel_ids comma separated values of channel IDs to add user in the new workspace - * @var bool $is_restricted true if user should be added to the workspace as a guest - * @var bool $is_ultra_restricted true if user should be added to the workspace as a single-channel guest - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to add to the workspace. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "channel_ids"?: string, //Comma separated values of channel IDs to add user in the new workspace. + * "is_restricted"?: bool, //True if user should be added to the workspace as a guest. + * "is_ultra_restricted"?: bool, //True if user should be added to the workspace as a single-channel guest. + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to add to the workspace. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -50,7 +47,7 @@ public function getUri(): string return '/admin.users.assign'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -65,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -92,12 +99,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersAssignPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersAssignPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersAssignPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersAssignPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersAssignPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersInvite.php b/generated/Endpoint/AdminUsersInvite.php index f1f638ac..0fcd0b1c 100644 --- a/generated/Endpoint/AdminUsersInvite.php +++ b/generated/Endpoint/AdminUsersInvite.php @@ -20,25 +20,22 @@ class AdminUsersInvite extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Invite a user to a workspace. * - * @param array $formParameters { - * - * @var string $channel_ids A comma-separated list of `channel_id`s for this user to join. At least one channel is required. - * @var string $custom_message an optional message to send to the user in the invite email - * @var string $email the email address of the person to invite - * @var string $guest_expiration_ts Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. - * @var bool $is_restricted Is this user a multi-channel guest user? (default: false) - * @var bool $is_ultra_restricted Is this user a single channel guest user? (default: false) - * @var string $real_name full name of the user - * @var bool $resend Allow this invite to be resent in the future if a user has not signed up yet. (default: false) - * @var string $team_id The ID (`T1234`) of the workspace. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "channel_ids": string, //A comma-separated list of `channel_id`s for this user to join. At least one channel is required. + * "custom_message"?: string, //An optional message to send to the user in the invite email. + * "email": string, //The email address of the person to invite. + * "guest_expiration_ts"?: string, //Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. + * "is_restricted"?: bool, //Is this user a multi-channel guest user? (default: false) + * "is_ultra_restricted"?: bool, //Is this user a single channel guest user? (default: false) + * "real_name"?: string, //Full name of the user. + * "resend"?: bool, //Allow this invite to be resent in the future if a user has not signed up yet. (default: false) + * "team_id": string, //The ID (`T1234`) of the workspace. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -54,7 +51,7 @@ public function getUri(): string return '/admin.users.invite'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -69,6 +66,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -100,12 +107,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersInvitePostResponse200|\JoliCode\Slack\Api\Model\AdminUsersInvitePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersInvitePostResponse200|\JoliCode\Slack\Api\Model\AdminUsersInvitePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersInvitePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersList.php b/generated/Endpoint/AdminUsersList.php index 052a2c17..2ed19fed 100644 --- a/generated/Endpoint/AdminUsersList.php +++ b/generated/Endpoint/AdminUsersList.php @@ -20,19 +20,16 @@ class AdminUsersList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * List users on a workspace. * - * @param array $queryParameters { - * - * @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page - * @var int $limit Limit for how many users to be retrieved per page - * @var string $team_id The ID (`T1234`) of the workspace. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:read` - * } + * @param array{ + * "cursor"?: string, //Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. + * "limit"?: int, //Limit for how many users to be retrieved per page + * "team_id": string, //The ID (`T1234`) of the workspace. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.users.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersListGetResponse200|\JoliCode\Slack\Api\Model\AdminUsersListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersListGetResponse200|\JoliCode\Slack\Api\Model\AdminUsersListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersRemove.php b/generated/Endpoint/AdminUsersRemove.php index 125f68ff..d4d0a22e 100644 --- a/generated/Endpoint/AdminUsersRemove.php +++ b/generated/Endpoint/AdminUsersRemove.php @@ -20,18 +20,15 @@ class AdminUsersRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Remove a user from a workspace. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to remove. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to remove. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.users.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersRemovePostResponse200|\JoliCode\Slack\Api\Model\AdminUsersRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersRemovePostResponse200|\JoliCode\Slack\Api\Model\AdminUsersRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersSessionInvalidate.php b/generated/Endpoint/AdminUsersSessionInvalidate.php index e750b78d..dab562a4 100644 --- a/generated/Endpoint/AdminUsersSessionInvalidate.php +++ b/generated/Endpoint/AdminUsersSessionInvalidate.php @@ -20,18 +20,15 @@ class AdminUsersSessionInvalidate extends \JoliCode\Slack\Api\Runtime\Client\Bas /** * Invalidate a single session for a user by session_id. * - * @param array $formParameters { - * - * @var int $session_id - * @var string $team_id ID of the team that the session belongs to - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "session_id": int, + * "team_id": string, //ID of the team that the session belongs to + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.users.session.invalidate'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersSessionInvalidatePostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSessionInvalidatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersSessionInvalidatePostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSessionInvalidatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersSessionInvalidatePostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersSessionReset.php b/generated/Endpoint/AdminUsersSessionReset.php index b58a0688..84eaec76 100644 --- a/generated/Endpoint/AdminUsersSessionReset.php +++ b/generated/Endpoint/AdminUsersSessionReset.php @@ -20,19 +20,16 @@ class AdminUsersSessionReset extends \JoliCode\Slack\Api\Runtime\Client\BaseEndp /** * Wipes all valid sessions on all devices for a given user. * - * @param array $formParameters { - * - * @var bool $mobile_only Only expire mobile sessions (default: false) - * @var string $user_id The ID of the user to wipe sessions for - * @var bool $web_only Only expire web sessions (default: false) - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "mobile_only"?: bool, //Only expire mobile sessions (default: false) + * "user_id": string, //The ID of the user to wipe sessions for + * "web_only"?: bool, //Only expire web sessions (default: false) + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.users.session.reset'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersSessionResetPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSessionResetPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersSessionResetPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSessionResetPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersSessionResetPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersSetAdmin.php b/generated/Endpoint/AdminUsersSetAdmin.php index 5c8f1dea..e71fc45f 100644 --- a/generated/Endpoint/AdminUsersSetAdmin.php +++ b/generated/Endpoint/AdminUsersSetAdmin.php @@ -20,18 +20,15 @@ class AdminUsersSetAdmin extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Set an existing guest, regular user, or owner to be an admin user. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to designate as an admin. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to designate as an admin. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.users.setAdmin'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersSetAdminPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetAdminPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersSetAdminPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetAdminPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersSetAdminPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersSetExpiration.php b/generated/Endpoint/AdminUsersSetExpiration.php index 1cc4396d..1b5a1400 100644 --- a/generated/Endpoint/AdminUsersSetExpiration.php +++ b/generated/Endpoint/AdminUsersSetExpiration.php @@ -20,19 +20,16 @@ class AdminUsersSetExpiration extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * Set an expiration for a guest user. * - * @param array $formParameters { - * - * @var int $expiration_ts timestamp when guest account should be disabled - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to set an expiration for. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "expiration_ts": int, //Timestamp when guest account should be disabled. + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to set an expiration for. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/admin.users.setExpiration'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersSetExpirationPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetExpirationPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersSetExpirationPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetExpirationPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersSetExpirationPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersSetOwner.php b/generated/Endpoint/AdminUsersSetOwner.php index 8f1ff9a6..9f13756e 100644 --- a/generated/Endpoint/AdminUsersSetOwner.php +++ b/generated/Endpoint/AdminUsersSetOwner.php @@ -20,18 +20,15 @@ class AdminUsersSetOwner extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Set an existing guest, regular user, or admin user to be a workspace owner. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id Id of the user to promote to owner. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //Id of the user to promote to owner. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.users.setOwner'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersSetOwnerPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetOwnerPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersSetOwnerPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetOwnerPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersSetOwnerPostResponse200', 'json'); } diff --git a/generated/Endpoint/AdminUsersSetRegular.php b/generated/Endpoint/AdminUsersSetRegular.php index 87b8db41..69d296b9 100644 --- a/generated/Endpoint/AdminUsersSetRegular.php +++ b/generated/Endpoint/AdminUsersSetRegular.php @@ -20,18 +20,15 @@ class AdminUsersSetRegular extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Set an existing guest user, admin user, or owner to be a regular user. * - * @param array $formParameters { - * - * @var string $team_id the ID (`T1234`) of the workspace - * @var string $user_id The ID of the user to designate as a regular user. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `admin.users:write` - * } + * @param array{ + * "team_id": string, //The ID (`T1234`) of the workspace. + * "user_id": string, //The ID of the user to designate as a regular user. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin.users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/admin.users.setRegular'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AdminUsersSetRegularPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetRegularPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AdminUsersSetRegularPostResponse200|\JoliCode\Slack\Api\Model\AdminUsersSetRegularPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AdminUsersSetRegularPostResponse200', 'json'); } diff --git a/generated/Endpoint/ApiTest.php b/generated/Endpoint/ApiTest.php index fd4c867f..d1284e48 100644 --- a/generated/Endpoint/ApiTest.php +++ b/generated/Endpoint/ApiTest.php @@ -20,11 +20,10 @@ class ApiTest extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implements /** * Checks API calling code. * - * @param array $queryParameters { - * - * @var string $error Error response to return - * @var string $foo example property to return - * } + * @param array{ + * "error"?: string, //Error response to return + * "foo"?: string, //example property to return + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/api.test'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ApiTestGetResponse200|\JoliCode\Slack\Api\Model\ApiTestGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ApiTestGetResponse200|\JoliCode\Slack\Api\Model\ApiTestGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ApiTestGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsEventAuthorizationsList.php b/generated/Endpoint/AppsEventAuthorizationsList.php index 62eea0f0..6c03fd2b 100644 --- a/generated/Endpoint/AppsEventAuthorizationsList.php +++ b/generated/Endpoint/AppsEventAuthorizationsList.php @@ -20,19 +20,16 @@ class AppsEventAuthorizationsList extends \JoliCode\Slack\Api\Runtime\Client\Bas /** * Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to. * - * @param array $queryParameters { - * - * @var string $cursor - * @var string $event_context - * @var int $limit - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `authorizations:read` - * } + * @param array{ + * "cursor"?: string, + * "event_context": string, + * "limit"?: int, + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `authorizations:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/apps.event.authorizations.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AppsEventAuthorizationsListGetResponse200|\JoliCode\Slack\Api\Model\AppsEventAuthorizationsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsEventAuthorizationsListGetResponse200|\JoliCode\Slack\Api\Model\AppsEventAuthorizationsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsEventAuthorizationsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsPermissionsInfo.php b/generated/Endpoint/AppsPermissionsInfo.php index a56928f1..379c3ffd 100644 --- a/generated/Endpoint/AppsPermissionsInfo.php +++ b/generated/Endpoint/AppsPermissionsInfo.php @@ -20,10 +20,9 @@ class AppsPermissionsInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Returns list of permissions this app has on a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/apps.permissions.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -67,12 +76,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsPermissionsRequest.php b/generated/Endpoint/AppsPermissionsRequest.php index aeaa209b..7f926f9a 100644 --- a/generated/Endpoint/AppsPermissionsRequest.php +++ b/generated/Endpoint/AppsPermissionsRequest.php @@ -20,14 +20,13 @@ class AppsPermissionsRequest extends \JoliCode\Slack\Api\Runtime\Client\BaseEndp /** * Allows an app to request additional scopes. * - * @param array $queryParameters { - * - * @var string $scopes A comma separated list of scopes to request for - * @var string $token Authentication token. Requires scope: `none` - * @var string $trigger_id Token used to trigger the permissions API - * } + * @param array{ + * "scopes": string, //A comma separated list of scopes to request for + * "token"?: string, //Authentication token. Requires scope: `none` + * "trigger_id": string, //Token used to trigger the permissions API + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/apps.permissions.request'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsPermissionsRequestGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsRequestGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsPermissionsRequestGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsRequestGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsPermissionsRequestGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsPermissionsResourcesList.php b/generated/Endpoint/AppsPermissionsResourcesList.php index 57d9706c..012a9ab8 100644 --- a/generated/Endpoint/AppsPermissionsResourcesList.php +++ b/generated/Endpoint/AppsPermissionsResourcesList.php @@ -20,12 +20,11 @@ class AppsPermissionsResourcesList extends \JoliCode\Slack\Api\Runtime\Client\Ba /** * Returns list of resource grants this app has on a team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit the maximum number of items to return - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/apps.permissions.resources.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsPermissionsScopesList.php b/generated/Endpoint/AppsPermissionsScopesList.php index e3410f5f..b1b64bed 100644 --- a/generated/Endpoint/AppsPermissionsScopesList.php +++ b/generated/Endpoint/AppsPermissionsScopesList.php @@ -20,10 +20,9 @@ class AppsPermissionsScopesList extends \JoliCode\Slack\Api\Runtime\Client\BaseE /** * Returns list of scopes this app has on a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/apps.permissions.scopes.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -67,12 +76,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsPermissionsUsersList.php b/generated/Endpoint/AppsPermissionsUsersList.php index ce138a32..20e28143 100644 --- a/generated/Endpoint/AppsPermissionsUsersList.php +++ b/generated/Endpoint/AppsPermissionsUsersList.php @@ -20,12 +20,11 @@ class AppsPermissionsUsersList extends \JoliCode\Slack\Api\Runtime\Client\BaseEn /** * Returns list of user grants and corresponding scopes this app has on a team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit the maximum number of items to return - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/apps.permissions.users.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsPermissionsUsersListGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsUsersListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsPermissionsUsersListGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsUsersListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsPermissionsUsersListGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsPermissionsUsersRequest.php b/generated/Endpoint/AppsPermissionsUsersRequest.php index 837646b4..4c5b7cfd 100644 --- a/generated/Endpoint/AppsPermissionsUsersRequest.php +++ b/generated/Endpoint/AppsPermissionsUsersRequest.php @@ -20,15 +20,14 @@ class AppsPermissionsUsersRequest extends \JoliCode\Slack\Api\Runtime\Client\Bas /** * Enables an app to trigger a permissions modal to grant an app access to a user access scope. * - * @param array $queryParameters { - * - * @var string $scopes A comma separated list of user scopes to request for - * @var string $token Authentication token. Requires scope: `none` - * @var string $trigger_id Token used to trigger the request - * @var string $user The user this scope is being requested for - * } + * @param array{ + * "scopes": string, //A comma separated list of user scopes to request for + * "token"?: string, //Authentication token. Requires scope: `none` + * "trigger_id": string, //Token used to trigger the request + * "user": string, //The user this scope is being requested for + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/apps.permissions.users.request'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsPermissionsUsersRequestGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsUsersRequestGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsPermissionsUsersRequestGetResponse200|\JoliCode\Slack\Api\Model\AppsPermissionsUsersRequestGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsPermissionsUsersRequestGetResponse200', 'json'); } diff --git a/generated/Endpoint/AppsUninstall.php b/generated/Endpoint/AppsUninstall.php index 57bf63b2..e92e0748 100644 --- a/generated/Endpoint/AppsUninstall.php +++ b/generated/Endpoint/AppsUninstall.php @@ -20,12 +20,11 @@ class AppsUninstall extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Uninstalls your app from a workspace. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/apps.uninstall'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AppsUninstallGetResponse200|\JoliCode\Slack\Api\Model\AppsUninstallGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AppsUninstallGetResponse200|\JoliCode\Slack\Api\Model\AppsUninstallGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AppsUninstallGetResponse200', 'json'); } diff --git a/generated/Endpoint/AuthRevoke.php b/generated/Endpoint/AuthRevoke.php index c83a9835..8ee151c7 100644 --- a/generated/Endpoint/AuthRevoke.php +++ b/generated/Endpoint/AuthRevoke.php @@ -20,11 +20,10 @@ class AuthRevoke extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Revokes a token. * - * @param array $queryParameters { - * - * @var bool $test setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "test"?: bool, //Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked. + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/auth.revoke'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\AuthRevokeGetResponse200|\JoliCode\Slack\Api\Model\AuthRevokeGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AuthRevokeGetResponse200|\JoliCode\Slack\Api\Model\AuthRevokeGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AuthRevokeGetResponse200', 'json'); } diff --git a/generated/Endpoint/AuthTest.php b/generated/Endpoint/AuthTest.php index 8a6888b3..048b066f 100644 --- a/generated/Endpoint/AuthTest.php +++ b/generated/Endpoint/AuthTest.php @@ -20,10 +20,9 @@ class AuthTest extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Checks authentication & identity. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ public function __construct(array $headerParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/auth.test'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getHeadersOptionsResolver(); @@ -67,12 +76,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\AuthTestGetResponse200|\JoliCode\Slack\Api\Model\AuthTestGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\AuthTestGetResponse200|\JoliCode\Slack\Api\Model\AuthTestGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\AuthTestGetResponse200', 'json'); } diff --git a/generated/Endpoint/BotsInfo.php b/generated/Endpoint/BotsInfo.php index 59d639a5..b95a3134 100644 --- a/generated/Endpoint/BotsInfo.php +++ b/generated/Endpoint/BotsInfo.php @@ -20,11 +20,10 @@ class BotsInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Gets information about a bot user. * - * @param array $queryParameters { - * - * @var string $bot Bot user to get info on - * @var string $token Authentication token. Requires scope: `users:read` - * } + * @param array{ + * "bot"?: string, //Bot user to get info on + * "token"?: string, //Authentication token. Requires scope: `users:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/bots.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\BotsInfoGetResponse200|\JoliCode\Slack\Api\Model\BotsInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\BotsInfoGetResponse200|\JoliCode\Slack\Api\Model\BotsInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\BotsInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/CallsAdd.php b/generated/Endpoint/CallsAdd.php index b1a176f3..a2ec3161 100644 --- a/generated/Endpoint/CallsAdd.php +++ b/generated/Endpoint/CallsAdd.php @@ -20,24 +20,21 @@ class CallsAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Registers a new Call. * - * @param array $formParameters { - * - * @var string $created_by The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required. - * @var int $date_start Call start time in UTC UNIX timestamp format - * @var string $desktop_app_join_url when supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL - * @var string $external_display_id An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object. - * @var string $external_unique_id An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service. - * @var string $join_url the URL required for a client to join the Call - * @var string $title the name of the Call - * @var string $users The list of users to register as participants in the Call. [Read more on how to specify users here](/apis/calls#users). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } + * @param array{ + * "created_by"?: string, //The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required. + * "date_start"?: int, //Call start time in UTC UNIX timestamp format + * "desktop_app_join_url"?: string, //When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. + * "external_display_id"?: string, //An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object. + * "external_unique_id": string, //An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service. + * "join_url": string, //The URL required for a client to join the Call. + * "title"?: string, //The name of the Call. + * "users"?: string, //The list of users to register as participants in the Call. [Read more on how to specify users here](/apis/calls#users). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -53,7 +50,7 @@ public function getUri(): string return '/calls.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -68,6 +65,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -98,12 +105,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\CallsAddPostResponse200|\JoliCode\Slack\Api\Model\CallsAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\CallsAddPostResponse200|\JoliCode\Slack\Api\Model\CallsAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\CallsAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/CallsEnd.php b/generated/Endpoint/CallsEnd.php index 2df319da..36e4d2c6 100644 --- a/generated/Endpoint/CallsEnd.php +++ b/generated/Endpoint/CallsEnd.php @@ -20,18 +20,15 @@ class CallsEnd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Ends a Call. * - * @param array $formParameters { - * - * @var int $duration Call duration in seconds - * @var string $id `id` returned when registering the call using the [`calls.add`](/methods/calls.add) method. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } + * @param array{ + * "duration"?: int, //Call duration in seconds + * "id": string, //`id` returned when registering the call using the [`calls.add`](/methods/calls.add) method. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/calls.end'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\CallsEndPostResponse200|\JoliCode\Slack\Api\Model\CallsEndPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\CallsEndPostResponse200|\JoliCode\Slack\Api\Model\CallsEndPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\CallsEndPostResponse200', 'json'); } diff --git a/generated/Endpoint/CallsInfo.php b/generated/Endpoint/CallsInfo.php index 34edc02b..6acb58e5 100644 --- a/generated/Endpoint/CallsInfo.php +++ b/generated/Endpoint/CallsInfo.php @@ -20,17 +20,14 @@ class CallsInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Returns information about a Call. * - * @param array $queryParameters { - * - * @var string $id `id` of the Call returned by the [`calls.add`](/methods/calls.add) method. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:read` - * } + * @param array{ + * "id": string, //`id` of the Call returned by the [`calls.add`](/methods/calls.add) method. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:read` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/calls.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\CallsInfoGetResponse200|\JoliCode\Slack\Api\Model\CallsInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\CallsInfoGetResponse200|\JoliCode\Slack\Api\Model\CallsInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\CallsInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/CallsParticipantsAdd.php b/generated/Endpoint/CallsParticipantsAdd.php index db3810d1..386601aa 100644 --- a/generated/Endpoint/CallsParticipantsAdd.php +++ b/generated/Endpoint/CallsParticipantsAdd.php @@ -20,18 +20,15 @@ class CallsParticipantsAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Registers new participants added to a Call. * - * @param array $formParameters { - * - * @var string $id `id` returned by the [`calls.add`](/methods/calls.add) method. - * @var string $users The list of users to add as participants in the Call. [Read more on how to specify users here](/apis/calls#users). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } + * @param array{ + * "id": string, //`id` returned by the [`calls.add`](/methods/calls.add) method. + * "users": string, //The list of users to add as participants in the Call. [Read more on how to specify users here](/apis/calls#users). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/calls.participants.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\CallsParticipantsAddPostResponse200|\JoliCode\Slack\Api\Model\CallsParticipantsAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\CallsParticipantsAddPostResponse200|\JoliCode\Slack\Api\Model\CallsParticipantsAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\CallsParticipantsAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/CallsParticipantsRemove.php b/generated/Endpoint/CallsParticipantsRemove.php index aab35960..0b060e4c 100644 --- a/generated/Endpoint/CallsParticipantsRemove.php +++ b/generated/Endpoint/CallsParticipantsRemove.php @@ -20,18 +20,15 @@ class CallsParticipantsRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * Registers participants removed from a Call. * - * @param array $formParameters { - * - * @var string $id `id` returned by the [`calls.add`](/methods/calls.add) method. - * @var string $users The list of users to remove as participants in the Call. [Read more on how to specify users here](/apis/calls#users). - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } + * @param array{ + * "id": string, //`id` returned by the [`calls.add`](/methods/calls.add) method. + * "users": string, //The list of users to remove as participants in the Call. [Read more on how to specify users here](/apis/calls#users). + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/calls.participants.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\CallsParticipantsRemovePostResponse200|\JoliCode\Slack\Api\Model\CallsParticipantsRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\CallsParticipantsRemovePostResponse200|\JoliCode\Slack\Api\Model\CallsParticipantsRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\CallsParticipantsRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/CallsUpdate.php b/generated/Endpoint/CallsUpdate.php index 7b53dcdc..b2d801af 100644 --- a/generated/Endpoint/CallsUpdate.php +++ b/generated/Endpoint/CallsUpdate.php @@ -20,20 +20,17 @@ class CallsUpdate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Updates information about a Call. * - * @param array $formParameters { - * - * @var string $desktop_app_join_url when supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL - * @var string $id `id` returned by the [`calls.add`](/methods/calls.add) method. - * @var string $join_url the URL required for a client to join the Call - * @var string $title The name of the Call. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `calls:write` - * } + * @param array{ + * "desktop_app_join_url"?: string, //When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. + * "id": string, //`id` returned by the [`calls.add`](/methods/calls.add) method. + * "join_url"?: string, //The URL required for a client to join the Call. + * "title"?: string, //The name of the Call. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `calls:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -49,7 +46,7 @@ public function getUri(): string return '/calls.update'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\CallsUpdatePostResponse200|\JoliCode\Slack\Api\Model\CallsUpdatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\CallsUpdatePostResponse200|\JoliCode\Slack\Api\Model\CallsUpdatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\CallsUpdatePostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatDelete.php b/generated/Endpoint/ChatDelete.php index 04ad28c3..f1dc8f9d 100644 --- a/generated/Endpoint/ChatDelete.php +++ b/generated/Endpoint/ChatDelete.php @@ -20,17 +20,14 @@ class ChatDelete extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Deletes a message. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. - * @var string $channel channel containing the message to be deleted - * @var string $ts Timestamp of the message to be deleted. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "as_user"?: bool, //Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. + * "channel"?: string, //Channel containing the message to be deleted. + * "ts"?: string, //Timestamp of the message to be deleted. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/chat.delete'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatDeletePostResponse200|\JoliCode\Slack\Api\Model\ChatDeletePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatDeletePostResponse200|\JoliCode\Slack\Api\Model\ChatDeletePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatDeletePostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatDeleteScheduledMessage.php b/generated/Endpoint/ChatDeleteScheduledMessage.php index b0e06291..838f9631 100644 --- a/generated/Endpoint/ChatDeleteScheduledMessage.php +++ b/generated/Endpoint/ChatDeleteScheduledMessage.php @@ -20,19 +20,16 @@ class ChatDeleteScheduledMessage extends \JoliCode\Slack\Api\Runtime\Client\Base /** * Deletes a pending scheduled message from the queue. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. - * @var string $channel The channel the scheduled_message is posting to - * @var string $scheduled_message_id `scheduled_message_id` returned from call to chat.scheduleMessage - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "as_user"?: bool, //Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. + * "channel": string, //The channel the scheduled_message is posting to + * "scheduled_message_id": string, //`scheduled_message_id` returned from call to chat.scheduleMessage + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/chat.deleteScheduledMessage'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatDeleteScheduledMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatDeleteScheduledMessagePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatDeleteScheduledMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatDeleteScheduledMessagePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatDeleteScheduledMessagePostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatGetPermalink.php b/generated/Endpoint/ChatGetPermalink.php index 303c7d61..64a49a4f 100644 --- a/generated/Endpoint/ChatGetPermalink.php +++ b/generated/Endpoint/ChatGetPermalink.php @@ -20,14 +20,13 @@ class ChatGetPermalink extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Retrieve a permalink URL for a specific extant message. * - * @param array $queryParameters { - * - * @var string $channel The ID of the conversation or channel containing the message - * @var string $message_ts A message's `ts` value, uniquely identifying it within a channel - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "channel": string, //The ID of the conversation or channel containing the message + * "message_ts": string, //A message's `ts` value, uniquely identifying it within a channel + * "token"?: string, //Authentication token. Requires scope: `none` + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -42,7 +41,7 @@ public function getUri(): string return '/chat.getPermalink'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ChatGetPermalinkGetResponse200|\JoliCode\Slack\Api\Model\ChatGetPermalinkGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatGetPermalinkGetResponse200|\JoliCode\Slack\Api\Model\ChatGetPermalinkGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatGetPermalinkGetResponse200', 'json'); } diff --git a/generated/Endpoint/ChatMeMessage.php b/generated/Endpoint/ChatMeMessage.php index 2e6b6768..8c047293 100644 --- a/generated/Endpoint/ChatMeMessage.php +++ b/generated/Endpoint/ChatMeMessage.php @@ -20,16 +20,13 @@ class ChatMeMessage extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Share a me message into a channel. * - * @param array $formParameters { - * - * @var string $channel Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. - * @var string $text Text of the message to send. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "channel"?: string, //Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. + * "text"?: string, //Text of the message to send. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/chat.meMessage'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatMeMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatMeMessagePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatMeMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatMeMessagePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatMeMessagePostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatPostEphemeral.php b/generated/Endpoint/ChatPostEphemeral.php index f8466dc7..85c29cc8 100644 --- a/generated/Endpoint/ChatPostEphemeral.php +++ b/generated/Endpoint/ChatPostEphemeral.php @@ -20,28 +20,25 @@ class ChatPostEphemeral extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Sends an ephemeral message to a user in a channel. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false. - * @var string $attachments a JSON-based array of structured attachments, presented as a URL-encoded string - * @var string $blocks a JSON-based array of structured blocks, presented as a URL-encoded string - * @var string $channel Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. - * @var string $icon_emoji Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. - * @var string $icon_url URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * @var bool $link_names find and link channel names and usernames - * @var string $parse Change how messages are treated. Defaults to `none`. See [below](#formatting). - * @var string $text How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. - * @var string $thread_ts Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread. - * @var string $user `id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument. - * @var string $username Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "as_user"?: bool, //Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false. + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. + * "blocks"?: string, //A JSON-based array of structured blocks, presented as a URL-encoded string. + * "channel": string, //Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. + * "icon_emoji"?: string, //Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. + * "icon_url"?: string, //URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * "link_names"?: bool, //Find and link channel names and usernames. + * "parse"?: string, //Change how messages are treated. Defaults to `none`. See [below](#formatting). + * "text"?: string, //How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. + * "thread_ts"?: string, //Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread. + * "user": string, //`id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument. + * "username"?: string, //Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -57,7 +54,7 @@ public function getUri(): string return '/chat.postEphemeral'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -72,6 +69,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -106,12 +113,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatPostEphemeralPostResponse200|\JoliCode\Slack\Api\Model\ChatPostEphemeralPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatPostEphemeralPostResponse200|\JoliCode\Slack\Api\Model\ChatPostEphemeralPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatPostEphemeralPostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatPostMessage.php b/generated/Endpoint/ChatPostMessage.php index 352710c1..c23d19fa 100644 --- a/generated/Endpoint/ChatPostMessage.php +++ b/generated/Endpoint/ChatPostMessage.php @@ -20,32 +20,29 @@ class ChatPostMessage extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Sends a message to a channel. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](#authorship) below. - * @var string $attachments a JSON-based array of structured attachments, presented as a URL-encoded string - * @var string $blocks a JSON-based array of structured blocks, presented as a URL-encoded string - * @var string $channel Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. - * @var string $icon_emoji Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. - * @var string $icon_url URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * @var bool $link_names find and link channel names and usernames - * @var string $metadata JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. - * @var bool $mrkdwn Disable Slack markup parsing by setting to `false`. Enabled by default. - * @var string $parse Change how messages are treated. Defaults to `none`. See [below](#formatting). - * @var bool $reply_broadcast Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. - * @var string $text How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. - * @var string $thread_ts Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. - * @var bool $unfurl_links pass true to enable unfurling of primarily text-based content - * @var bool $unfurl_media pass false to disable unfurling of media content - * @var string $username Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "as_user"?: bool, //Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](#authorship) below. + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. + * "blocks"?: string, //A JSON-based array of structured blocks, presented as a URL-encoded string. + * "channel": string, //Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. + * "icon_emoji"?: string, //Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below. + * "icon_url"?: string, //URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * "link_names"?: bool, //Find and link channel names and usernames. + * "metadata"?: string, //JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. + * "mrkdwn"?: bool, //Disable Slack markup parsing by setting to `false`. Enabled by default. + * "parse"?: string, //Change how messages are treated. Defaults to `none`. See [below](#formatting). + * "reply_broadcast"?: bool, //Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. + * "text"?: string, //How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. + * "thread_ts"?: string, //Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. + * "unfurl_links"?: bool, //Pass true to enable unfurling of primarily text-based content. + * "unfurl_media"?: bool, //Pass false to disable unfurling of media content. + * "username"?: string, //Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -61,7 +58,7 @@ public function getUri(): string return '/chat.postMessage'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -76,6 +73,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -114,12 +121,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatPostMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatPostMessagePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatPostMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatPostMessagePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatPostMessagePostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatScheduleMessage.php b/generated/Endpoint/ChatScheduleMessage.php index 9e6856cf..43b69a45 100644 --- a/generated/Endpoint/ChatScheduleMessage.php +++ b/generated/Endpoint/ChatScheduleMessage.php @@ -20,26 +20,23 @@ class ChatScheduleMessage extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Schedules a message to be sent to a channel. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [chat.postMessage](chat.postMessage#authorship). - * @var string $attachments a JSON-based array of structured attachments, presented as a URL-encoded string - * @var string $blocks a JSON-based array of structured blocks, presented as a URL-encoded string - * @var string $channel Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. - * @var bool $link_names find and link channel names and usernames - * @var string $parse Change how messages are treated. Defaults to `none`. See [chat.postMessage](chat.postMessage#formatting). - * @var int $post_at unix EPOCH timestamp of time in future to send the message - * @var bool $reply_broadcast Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. - * @var string $text How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. - * @var string $thread_ts Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. - * @var bool $unfurl_links pass true to enable unfurling of primarily text-based content - * @var bool $unfurl_media Pass false to disable unfurling of media content. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "as_user"?: bool, //Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [chat.postMessage](chat.postMessage#authorship). + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. + * "blocks"?: string, //A JSON-based array of structured blocks, presented as a URL-encoded string. + * "channel"?: string, //Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. + * "link_names"?: bool, //Find and link channel names and usernames. + * "parse"?: string, //Change how messages are treated. Defaults to `none`. See [chat.postMessage](chat.postMessage#formatting). + * "post_at"?: int, //Unix EPOCH timestamp of time in future to send the message. + * "reply_broadcast"?: bool, //Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. + * "text"?: string, //How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. + * "thread_ts"?: string, //Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. + * "unfurl_links"?: bool, //Pass true to enable unfurling of primarily text-based content. + * "unfurl_media"?: bool, //Pass false to disable unfurling of media content. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -57,7 +54,7 @@ public function getUri(): string return '/chat.scheduleMessage'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -72,6 +69,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -106,12 +113,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponse200|\JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatScheduledMessagesList.php b/generated/Endpoint/ChatScheduledMessagesList.php index 4cde033c..464d11ae 100644 --- a/generated/Endpoint/ChatScheduledMessagesList.php +++ b/generated/Endpoint/ChatScheduledMessagesList.php @@ -20,19 +20,16 @@ class ChatScheduledMessagesList extends \JoliCode\Slack\Api\Runtime\Client\BaseE /** * Returns a list of scheduled messages. * - * @param array $queryParameters { - * - * @var string $channel The channel of the scheduled messages - * @var string $cursor For pagination purposes, this is the `cursor` value returned from a previous call to `chat.scheduledmessages.list` indicating where you want to start this call from. - * @var string $latest A UNIX timestamp of the latest value in the time range - * @var int $limit maximum number of original entries to return - * @var string $oldest A UNIX timestamp of the oldest value in the time range - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "channel"?: string, //The channel of the scheduled messages + * "cursor"?: string, //For pagination purposes, this is the `cursor` value returned from a previous call to `chat.scheduledmessages.list` indicating where you want to start this call from. + * "latest"?: string, //A UNIX timestamp of the latest value in the time range + * "limit"?: int, //Maximum number of original entries to return. + * "oldest"?: string, //A UNIX timestamp of the oldest value in the time range + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ public function __construct(array $queryParameters = [], array $headerParameters = []) { @@ -50,7 +47,7 @@ public function getUri(): string return '/chat.scheduledMessages.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -65,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -92,12 +99,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponse200|\JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponse200|\JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponse200', 'json'); } diff --git a/generated/Endpoint/ChatUnfurl.php b/generated/Endpoint/ChatUnfurl.php index 1f617eb5..507062ba 100644 --- a/generated/Endpoint/ChatUnfurl.php +++ b/generated/Endpoint/ChatUnfurl.php @@ -20,22 +20,19 @@ class ChatUnfurl extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Provide custom unfurl behavior for user-posted URLs. * - * @param array $formParameters { - * - * @var string $channel Channel ID of the message - * @var string $ts timestamp of the message to add unfurl behavior to - * @var string $unfurls URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments - * @var string $user_auth_message Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior - * @var bool $user_auth_required Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain - * @var string $user_auth_url Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `links:write` - * } + * @param array{ + * "channel": string, //Channel ID of the message + * "ts": string, //Timestamp of the message to add unfurl behavior to. + * "unfurls"?: string, //URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments. + * "user_auth_message"?: string, //Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior + * "user_auth_required"?: bool, //Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain + * "user_auth_url"?: string, //Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `links:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -51,7 +48,7 @@ public function getUri(): string return '/chat.unfurl'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -66,6 +63,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -94,12 +101,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatUnfurlPostResponse200|\JoliCode\Slack\Api\Model\ChatUnfurlPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatUnfurlPostResponse200|\JoliCode\Slack\Api\Model\ChatUnfurlPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatUnfurlPostResponse200', 'json'); } diff --git a/generated/Endpoint/ChatUpdate.php b/generated/Endpoint/ChatUpdate.php index 4b422c44..cacdae56 100644 --- a/generated/Endpoint/ChatUpdate.php +++ b/generated/Endpoint/ChatUpdate.php @@ -20,24 +20,21 @@ class ChatUpdate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Updates a message. * - * @param array $formParameters { - * - * @var bool $as_user Pass true to update the message as the authed user. [Bot users](/bot-users) in this context are considered authed users. - * @var string $attachments A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`. If you don't include this field, the message's previous `attachments` will be retained. To remove previous `attachments`, include an empty array for this field. - * @var string $blocks A JSON-based array of [structured blocks](/block-kit/building), presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field. - * @var string $channel channel containing the message to be updated - * @var string $link_names Find and link channel names and usernames. Defaults to `none`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `none`. - * @var string $parse Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. Accepts either `none` or `full`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `client`. - * @var string $text New text for the message, using the [default formatting rules](/reference/surfaces/formatting). It's not required when presenting `blocks` or `attachments`. - * @var string $ts Timestamp of the message to be updated. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `chat:write` - * } + * @param array{ + * "as_user"?: bool, //Pass true to update the message as the authed user. [Bot users](/bot-users) in this context are considered authed users. + * "attachments"?: string, //A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`. If you don't include this field, the message's previous `attachments` will be retained. To remove previous `attachments`, include an empty array for this field. + * "blocks"?: string, //A JSON-based array of [structured blocks](/block-kit/building), presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field. + * "channel": string, //Channel containing the message to be updated. + * "link_names"?: string, //Find and link channel names and usernames. Defaults to `none`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `none`. + * "parse"?: string, //Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. Accepts either `none` or `full`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `client`. + * "text"?: string, //New text for the message, using the [default formatting rules](/reference/surfaces/formatting). It's not required when presenting `blocks` or `attachments`. + * "ts": string, //Timestamp of the message to be updated. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `chat:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -53,7 +50,7 @@ public function getUri(): string return '/chat.update'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -68,6 +65,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -98,12 +105,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ChatUpdatePostResponse200|\JoliCode\Slack\Api\Model\ChatUpdatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ChatUpdatePostResponse200|\JoliCode\Slack\Api\Model\ChatUpdatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ChatUpdatePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsArchive.php b/generated/Endpoint/ConversationsArchive.php index ef0e5f3a..4a31b350 100644 --- a/generated/Endpoint/ConversationsArchive.php +++ b/generated/Endpoint/ConversationsArchive.php @@ -20,15 +20,12 @@ class ConversationsArchive extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Archives a conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to archive - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //ID of conversation to archive + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/conversations.archive'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsArchivePostResponse200|\JoliCode\Slack\Api\Model\ConversationsArchivePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsArchivePostResponse200|\JoliCode\Slack\Api\Model\ConversationsArchivePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsArchivePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsClose.php b/generated/Endpoint/ConversationsClose.php index 49864a84..df90d50a 100644 --- a/generated/Endpoint/ConversationsClose.php +++ b/generated/Endpoint/ConversationsClose.php @@ -20,15 +20,12 @@ class ConversationsClose extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Closes a direct message or multi-person direct message. * - * @param array $formParameters { - * - * @var string $channel Conversation to close. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Conversation to close. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/conversations.close'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsClosePostResponse200|\JoliCode\Slack\Api\Model\ConversationsClosePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsClosePostResponse200|\JoliCode\Slack\Api\Model\ConversationsClosePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsClosePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsCreate.php b/generated/Endpoint/ConversationsCreate.php index bd8cce3c..2b0a96e1 100644 --- a/generated/Endpoint/ConversationsCreate.php +++ b/generated/Endpoint/ConversationsCreate.php @@ -20,16 +20,13 @@ class ConversationsCreate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Initiates a public or private channel-based conversation. * - * @param array $formParameters { - * - * @var bool $is_private Create a private channel instead of a public one - * @var string $name Name of the public or private channel to create - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "is_private"?: bool, //Create a private channel instead of a public one + * "name"?: string, //Name of the public or private channel to create + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.create'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsCreatePostResponse200|\JoliCode\Slack\Api\Model\ConversationsCreatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsCreatePostResponse200|\JoliCode\Slack\Api\Model\ConversationsCreatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsCreatePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsHistory.php b/generated/Endpoint/ConversationsHistory.php index 735ba785..d7adead1 100644 --- a/generated/Endpoint/ConversationsHistory.php +++ b/generated/Endpoint/ConversationsHistory.php @@ -20,17 +20,16 @@ class ConversationsHistory extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Fetches a conversation's history of messages and events. * - * @param array $queryParameters { - * - * @var string $channel conversation ID to fetch history for - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $include_all_metadata return all metadata associated with this message - * @var bool $inclusive include messages with latest or oldest timestamp in results only when either timestamp is specified - * @var string $latest end of time range of messages to include in results - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. - * @var string $oldest start of time range of messages to include in results - * @var string $token Authentication token. Requires scope: `conversations:history` - * } + * @param array{ + * "channel"?: string, //Conversation ID to fetch history for. + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "include_all_metadata"?: bool, //Return all metadata associated with this message. + * "inclusive"?: bool, //Include messages with latest or oldest timestamp in results only when either timestamp is specified. + * "latest"?: string, //End of time range of messages to include in results. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. + * "oldest"?: string, //Start of time range of messages to include in results. + * "token"?: string, //Authentication token. Requires scope: `conversations:history` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -47,7 +46,7 @@ public function getUri(): string return '/conversations.history'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -62,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -81,12 +90,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ConversationsHistoryGetResponse200|\JoliCode\Slack\Api\Model\ConversationsHistoryGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsHistoryGetResponse200|\JoliCode\Slack\Api\Model\ConversationsHistoryGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsHistoryGetResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsInfo.php b/generated/Endpoint/ConversationsInfo.php index 4b3b1634..c48db510 100644 --- a/generated/Endpoint/ConversationsInfo.php +++ b/generated/Endpoint/ConversationsInfo.php @@ -20,13 +20,12 @@ class ConversationsInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Retrieve information about a conversation. * - * @param array $queryParameters { - * - * @var string $channel Conversation ID to learn more about - * @var bool $include_locale Set this to `true` to receive the locale for this conversation. Defaults to `false` - * @var bool $include_num_members Set to `true` to include the member count for the specified conversation. Defaults to `false` - * @var string $token Authentication token. Requires scope: `conversations:read` - * } + * @param array{ + * "channel"?: string, //Conversation ID to learn more about + * "include_locale"?: bool, //Set this to `true` to receive the locale for this conversation. Defaults to `false` + * "include_num_members"?: bool, //Set to `true` to include the member count for the specified conversation. Defaults to `false` + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -43,7 +42,7 @@ public function getUri(): string return '/conversations.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ConversationsInfoGetResponse200|\JoliCode\Slack\Api\Model\ConversationsInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsInfoGetResponse200|\JoliCode\Slack\Api\Model\ConversationsInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsInvite.php b/generated/Endpoint/ConversationsInvite.php index cbe09b86..81a742d4 100644 --- a/generated/Endpoint/ConversationsInvite.php +++ b/generated/Endpoint/ConversationsInvite.php @@ -20,16 +20,13 @@ class ConversationsInvite extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Invites users to a channel. * - * @param array $formParameters { - * - * @var string $channel the ID of the public or private channel to invite user(s) to - * @var string $users A comma separated list of user IDs. Up to 1000 users may be listed. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //The ID of the public or private channel to invite user(s) to. + * "users"?: string, //A comma separated list of user IDs. Up to 1000 users may be listed. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.invite'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsInvitePostResponse200|\JoliCode\Slack\Api\Model\ConversationsInvitePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsInvitePostResponse200|\JoliCode\Slack\Api\Model\ConversationsInvitePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsInvitePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsJoin.php b/generated/Endpoint/ConversationsJoin.php index 7cebf163..53e935e3 100644 --- a/generated/Endpoint/ConversationsJoin.php +++ b/generated/Endpoint/ConversationsJoin.php @@ -20,15 +20,12 @@ class ConversationsJoin extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Joins an existing conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to join - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `channels:write` - * } + * @param array{ + * "channel"?: string, //ID of conversation to join + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `channels:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/conversations.join'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsJoinPostResponse200|\JoliCode\Slack\Api\Model\ConversationsJoinPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsJoinPostResponse200|\JoliCode\Slack\Api\Model\ConversationsJoinPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsJoinPostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsKick.php b/generated/Endpoint/ConversationsKick.php index dd8922ba..5cccf9b1 100644 --- a/generated/Endpoint/ConversationsKick.php +++ b/generated/Endpoint/ConversationsKick.php @@ -20,16 +20,13 @@ class ConversationsKick extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Removes a user from a conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to remove user from - * @var string $user User ID to be removed. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //ID of conversation to remove user from. + * "user"?: string, //User ID to be removed. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.kick'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsKickPostResponse200|\JoliCode\Slack\Api\Model\ConversationsKickPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsKickPostResponse200|\JoliCode\Slack\Api\Model\ConversationsKickPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsKickPostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsLeave.php b/generated/Endpoint/ConversationsLeave.php index d7120f33..c7511888 100644 --- a/generated/Endpoint/ConversationsLeave.php +++ b/generated/Endpoint/ConversationsLeave.php @@ -20,15 +20,12 @@ class ConversationsLeave extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Leaves a conversation. * - * @param array $formParameters { - * - * @var string $channel Conversation to leave - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Conversation to leave + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/conversations.leave'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsLeavePostResponse200|\JoliCode\Slack\Api\Model\ConversationsLeavePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsLeavePostResponse200|\JoliCode\Slack\Api\Model\ConversationsLeavePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsLeavePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsList.php b/generated/Endpoint/ConversationsList.php index b24c7dc2..962e2f16 100644 --- a/generated/Endpoint/ConversationsList.php +++ b/generated/Endpoint/ConversationsList.php @@ -20,15 +20,14 @@ class ConversationsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Lists all channels in a Slack team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $exclude_archived Set to `true` to exclude archived channels from the list - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. - * @var string $team_id Encoded team id to list channels in, required if token belongs to org-wide app - * @var string $token Authentication token. Requires scope: `conversations:read` - * @var string $types Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "exclude_archived"?: bool, //Set to `true` to exclude archived channels from the list + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. + * "team_id"?: string, //Encoded team id to list channels in, required if token belongs to org-wide app + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * "types"?: string, //Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -45,7 +44,7 @@ public function getUri(): string return '/conversations.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -60,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -77,12 +86,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ConversationsListGetResponse200|\JoliCode\Slack\Api\Model\ConversationsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsListGetResponse200|\JoliCode\Slack\Api\Model\ConversationsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsMark.php b/generated/Endpoint/ConversationsMark.php index 47e5f595..d4c50817 100644 --- a/generated/Endpoint/ConversationsMark.php +++ b/generated/Endpoint/ConversationsMark.php @@ -20,16 +20,13 @@ class ConversationsMark extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Sets the read cursor in a channel. * - * @param array $formParameters { - * - * @var string $channel channel or conversation to set the read cursor for - * @var string $ts Unique identifier of message you want marked as most recently seen in this conversation. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Channel or conversation to set the read cursor for. + * "ts"?: string, //Unique identifier of message you want marked as most recently seen in this conversation. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.mark'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsMarkPostResponse200|\JoliCode\Slack\Api\Model\ConversationsMarkPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsMarkPostResponse200|\JoliCode\Slack\Api\Model\ConversationsMarkPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsMarkPostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsMembers.php b/generated/Endpoint/ConversationsMembers.php index 66612f71..32b9c4bf 100644 --- a/generated/Endpoint/ConversationsMembers.php +++ b/generated/Endpoint/ConversationsMembers.php @@ -20,13 +20,12 @@ class ConversationsMembers extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Retrieve members of a conversation. * - * @param array $queryParameters { - * - * @var string $channel ID of the conversation to retrieve members for - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. - * @var string $token Authentication token. Requires scope: `conversations:read` - * } + * @param array{ + * "channel"?: string, //ID of the conversation to retrieve members for + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -43,7 +42,7 @@ public function getUri(): string return '/conversations.members'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ConversationsMembersGetResponse200|\JoliCode\Slack\Api\Model\ConversationsMembersGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsMembersGetResponse200|\JoliCode\Slack\Api\Model\ConversationsMembersGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsMembersGetResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsOpen.php b/generated/Endpoint/ConversationsOpen.php index 31f3f4af..38746ee1 100644 --- a/generated/Endpoint/ConversationsOpen.php +++ b/generated/Endpoint/ConversationsOpen.php @@ -20,17 +20,14 @@ class ConversationsOpen extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Opens or resumes a direct message or multi-person direct message. * - * @param array $formParameters { - * - * @var string $channel Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. - * @var bool $return_im boolean, indicates you want the full IM channel definition in the response - * @var string $users Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. + * "return_im"?: bool, //Boolean, indicates you want the full IM channel definition in the response. + * "users"?: string, //Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -48,7 +45,7 @@ public function getUri(): string return '/conversations.open'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsOpenPostResponse200|\JoliCode\Slack\Api\Model\ConversationsOpenPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsOpenPostResponse200|\JoliCode\Slack\Api\Model\ConversationsOpenPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsOpenPostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsRename.php b/generated/Endpoint/ConversationsRename.php index 376992c0..d813ae50 100644 --- a/generated/Endpoint/ConversationsRename.php +++ b/generated/Endpoint/ConversationsRename.php @@ -20,16 +20,13 @@ class ConversationsRename extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Renames a conversation. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to rename - * @var string $name New name for conversation. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //ID of conversation to rename + * "name"?: string, //New name for conversation. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.rename'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsRenamePostResponse200|\JoliCode\Slack\Api\Model\ConversationsRenamePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsRenamePostResponse200|\JoliCode\Slack\Api\Model\ConversationsRenamePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsRenamePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsReplies.php b/generated/Endpoint/ConversationsReplies.php index f74bd0b3..226cb6f1 100644 --- a/generated/Endpoint/ConversationsReplies.php +++ b/generated/Endpoint/ConversationsReplies.php @@ -20,17 +20,16 @@ class ConversationsReplies extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Retrieve a thread of messages posted to a conversation. * - * @param array $queryParameters { - * - * @var string $channel conversation ID to fetch thread from - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $inclusive include messages with latest or oldest timestamp in results only when either timestamp is specified - * @var string $latest end of time range of messages to include in results - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. - * @var string $oldest start of time range of messages to include in results - * @var string $token Authentication token. Requires scope: `conversations:history` - * @var string $ts Unique identifier of a thread's parent message. `ts` must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by `ts` will return - it is just an ordinary, unthreaded message. - * } + * @param array{ + * "channel"?: string, //Conversation ID to fetch thread from. + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "inclusive"?: bool, //Include messages with latest or oldest timestamp in results only when either timestamp is specified. + * "latest"?: string, //End of time range of messages to include in results. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. + * "oldest"?: string, //Start of time range of messages to include in results. + * "token"?: string, //Authentication token. Requires scope: `conversations:history` + * "ts"?: string, //Unique identifier of a thread's parent message. `ts` must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by `ts` will return - it is just an ordinary, unthreaded message. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -47,7 +46,7 @@ public function getUri(): string return '/conversations.replies'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -62,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -81,12 +90,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ConversationsRepliesGetResponse200|\JoliCode\Slack\Api\Model\ConversationsRepliesGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsRepliesGetResponse200|\JoliCode\Slack\Api\Model\ConversationsRepliesGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsRepliesGetResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsSetPurpose.php b/generated/Endpoint/ConversationsSetPurpose.php index 4014114a..26817af7 100644 --- a/generated/Endpoint/ConversationsSetPurpose.php +++ b/generated/Endpoint/ConversationsSetPurpose.php @@ -20,16 +20,13 @@ class ConversationsSetPurpose extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd /** * Sets the purpose for a conversation. * - * @param array $formParameters { - * - * @var string $channel Conversation to set the purpose of - * @var string $purpose A new, specialer purpose - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Conversation to set the purpose of + * "purpose"?: string, //A new, specialer purpose + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.setPurpose'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsSetPurposePostResponse200|\JoliCode\Slack\Api\Model\ConversationsSetPurposePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsSetPurposePostResponse200|\JoliCode\Slack\Api\Model\ConversationsSetPurposePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsSetPurposePostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsSetTopic.php b/generated/Endpoint/ConversationsSetTopic.php index 127d3568..72bb5509 100644 --- a/generated/Endpoint/ConversationsSetTopic.php +++ b/generated/Endpoint/ConversationsSetTopic.php @@ -20,16 +20,13 @@ class ConversationsSetTopic extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpo /** * Sets the topic for a conversation. * - * @param array $formParameters { - * - * @var string $channel Conversation to set the topic of - * @var string $topic The new topic string. Does not support formatting or linkification. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //Conversation to set the topic of + * "topic"?: string, //The new topic string. Does not support formatting or linkification. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/conversations.setTopic'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsSetTopicPostResponse200|\JoliCode\Slack\Api\Model\ConversationsSetTopicPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsSetTopicPostResponse200|\JoliCode\Slack\Api\Model\ConversationsSetTopicPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsSetTopicPostResponse200', 'json'); } diff --git a/generated/Endpoint/ConversationsUnarchive.php b/generated/Endpoint/ConversationsUnarchive.php index d2ef07a0..8485498b 100644 --- a/generated/Endpoint/ConversationsUnarchive.php +++ b/generated/Endpoint/ConversationsUnarchive.php @@ -20,15 +20,12 @@ class ConversationsUnarchive extends \JoliCode\Slack\Api\Runtime\Client\BaseEndp /** * Reverses conversation archival. * - * @param array $formParameters { - * - * @var string $channel ID of conversation to unarchive - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `conversations:write` - * } + * @param array{ + * "channel"?: string, //ID of conversation to unarchive + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `conversations:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/conversations.unarchive'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ConversationsUnarchivePostResponse200|\JoliCode\Slack\Api\Model\ConversationsUnarchivePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ConversationsUnarchivePostResponse200|\JoliCode\Slack\Api\Model\ConversationsUnarchivePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ConversationsUnarchivePostResponse200', 'json'); } diff --git a/generated/Endpoint/DialogOpen.php b/generated/Endpoint/DialogOpen.php index 77b0f9d2..dd1ccb4e 100644 --- a/generated/Endpoint/DialogOpen.php +++ b/generated/Endpoint/DialogOpen.php @@ -20,18 +20,15 @@ class DialogOpen extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Open a dialog with a user. * - * @param array $queryParameters { - * - * @var string $dialog The dialog definition. This must be a JSON-encoded string. - * @var string $trigger_id Exchange a trigger to post to the user. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "dialog": string, //The dialog definition. This must be a JSON-encoded string. + * "trigger_id": string, //Exchange a trigger to post to the user. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ - public function __construct(array $queryParameters = [], array $headerParameters = []) + public function __construct(array $queryParameters, array $headerParameters = []) { $this->queryParameters = $queryParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/dialog.open'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\DialogOpenGetResponse200|\JoliCode\Slack\Api\Model\DialogOpenGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\DialogOpenGetResponse200|\JoliCode\Slack\Api\Model\DialogOpenGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\DialogOpenGetResponse200', 'json'); } diff --git a/generated/Endpoint/DndEndDnd.php b/generated/Endpoint/DndEndDnd.php index f5a5616f..b0ffdd92 100644 --- a/generated/Endpoint/DndEndDnd.php +++ b/generated/Endpoint/DndEndDnd.php @@ -20,10 +20,9 @@ class DndEndDnd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Ends the current user's Do Not Disturb session immediately. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:write` + * } $headerParameters */ public function __construct(array $headerParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/dnd.endDnd'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getHeadersOptionsResolver(); @@ -67,12 +76,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\DndEndDndPostResponse200|\JoliCode\Slack\Api\Model\DndEndDndPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\DndEndDndPostResponse200|\JoliCode\Slack\Api\Model\DndEndDndPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\DndEndDndPostResponse200', 'json'); } diff --git a/generated/Endpoint/DndEndSnooze.php b/generated/Endpoint/DndEndSnooze.php index 1906a38c..3540613f 100644 --- a/generated/Endpoint/DndEndSnooze.php +++ b/generated/Endpoint/DndEndSnooze.php @@ -20,10 +20,9 @@ class DndEndSnooze extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imple /** * Ends the current user's snooze mode immediately. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:write` + * } $headerParameters */ public function __construct(array $headerParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/dnd.endSnooze'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getHeadersOptionsResolver(); @@ -67,12 +76,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\DndEndSnoozePostResponse200|\JoliCode\Slack\Api\Model\DndEndSnoozePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\DndEndSnoozePostResponse200|\JoliCode\Slack\Api\Model\DndEndSnoozePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\DndEndSnoozePostResponse200', 'json'); } diff --git a/generated/Endpoint/DndInfo.php b/generated/Endpoint/DndInfo.php index 5d880d35..325dd01b 100644 --- a/generated/Endpoint/DndInfo.php +++ b/generated/Endpoint/DndInfo.php @@ -20,11 +20,10 @@ class DndInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implements /** * Retrieves a user's current Do Not Disturb status. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:read` - * @var string $user User to fetch status for (defaults to current user) - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:read` + * "user"?: string, //User to fetch status for (defaults to current user) + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/dnd.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\DndInfoGetResponse200|\JoliCode\Slack\Api\Model\DndInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\DndInfoGetResponse200|\JoliCode\Slack\Api\Model\DndInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\DndInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/DndSetSnooze.php b/generated/Endpoint/DndSetSnooze.php index ab97bd75..c3bfd96e 100644 --- a/generated/Endpoint/DndSetSnooze.php +++ b/generated/Endpoint/DndSetSnooze.php @@ -20,13 +20,12 @@ class DndSetSnooze extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imple /** * Turns on Do Not Disturb mode for the current user, or changes its duration. * - * @param array $formParameters { - * - * @var string $num_minutes number of minutes, from now, to snooze until - * @var string $token Authentication token. Requires scope: `dnd:write` - * } + * @param array{ + * "num_minutes": string, //Number of minutes, from now, to snooze until. + * "token"?: string, //Authentication token. Requires scope: `dnd:write` + * } $formParameters */ - public function __construct(array $formParameters = []) + public function __construct(array $formParameters) { $this->formParameters = $formParameters; } @@ -41,7 +40,7 @@ public function getUri(): string return '/dnd.setSnooze'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -69,12 +78,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\DndSetSnoozePostResponse200|\JoliCode\Slack\Api\Model\DndSetSnoozePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\DndSetSnoozePostResponse200|\JoliCode\Slack\Api\Model\DndSetSnoozePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\DndSetSnoozePostResponse200', 'json'); } diff --git a/generated/Endpoint/DndTeamInfo.php b/generated/Endpoint/DndTeamInfo.php index 01184098..d78c0d23 100644 --- a/generated/Endpoint/DndTeamInfo.php +++ b/generated/Endpoint/DndTeamInfo.php @@ -20,11 +20,10 @@ class DndTeamInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Retrieves the Do Not Disturb status for up to 50 users on a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `dnd:read` - * @var string $users Comma-separated list of users to fetch Do Not Disturb status for - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `dnd:read` + * "users"?: string, //Comma-separated list of users to fetch Do Not Disturb status for + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/dnd.teamInfo'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\DndTeamInfoGetResponse200|\JoliCode\Slack\Api\Model\DndTeamInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\DndTeamInfoGetResponse200|\JoliCode\Slack\Api\Model\DndTeamInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\DndTeamInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/EmojiList.php b/generated/Endpoint/EmojiList.php index 175d0c95..4a57dbcf 100644 --- a/generated/Endpoint/EmojiList.php +++ b/generated/Endpoint/EmojiList.php @@ -20,10 +20,9 @@ class EmojiList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Lists custom emoji for a team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `emoji:read` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `emoji:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/emoji.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -67,12 +76,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\EmojiListGetResponse200|\JoliCode\Slack\Api\Model\EmojiListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\EmojiListGetResponse200|\JoliCode\Slack\Api\Model\EmojiListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\EmojiListGetResponse200', 'json'); } diff --git a/generated/Endpoint/FilesCommentsDelete.php b/generated/Endpoint/FilesCommentsDelete.php index 9bb1a1c8..09f89bfa 100644 --- a/generated/Endpoint/FilesCommentsDelete.php +++ b/generated/Endpoint/FilesCommentsDelete.php @@ -20,16 +20,13 @@ class FilesCommentsDelete extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Deletes an existing comment on a file. * - * @param array $formParameters { - * - * @var string $file file to delete a comment from - * @var string $id The comment to delete. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //File to delete a comment from. + * "id"?: string, //The comment to delete. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/files.comments.delete'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\FilesCommentsDeletePostResponse200|\JoliCode\Slack\Api\Model\FilesCommentsDeletePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesCommentsDeletePostResponse200|\JoliCode\Slack\Api\Model\FilesCommentsDeletePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesCommentsDeletePostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesCompleteUploadExternal.php b/generated/Endpoint/FilesCompleteUploadExternal.php index 22881b29..041b3276 100644 --- a/generated/Endpoint/FilesCompleteUploadExternal.php +++ b/generated/Endpoint/FilesCompleteUploadExternal.php @@ -20,22 +20,19 @@ class FilesCompleteUploadExternal extends \JoliCode\Slack\Api\Runtime\Client\Bas /** * Finishes an upload started with files.getUploadURLExternal. * - * @param array $queryParameters { - * - * @var string $blocks A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the `initial_comment` field is provided, the `blocks` field is ignored. - * @var string $channel_id Channel ID where the file will be shared. If not specified, the file will remain private. - * @var string $channels comma-separated list of channel IDs where the file will be shared - * @var string $files an array of file objects, each containing the `id` of the file to be completed - * @var string $initial_comment the message text introducing the file in specified channels - * @var string $thread_ts Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. Also, make sure to provide only one channel when using `thread_ts`. - * } - * - * @param array $formParameters { - * - * @var string $token Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. - * } + * @param array{ + * "blocks"?: string, //A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the `initial_comment` field is provided, the `blocks` field is ignored. + * "channel_id"?: string, //Channel ID where the file will be shared. If not specified, the file will remain private. + * "channels"?: string, //Comma-separated list of channel IDs where the file will be shared. + * "files": string, //An array of file objects, each containing the `id` of the file to be completed. + * "initial_comment"?: string, //The message text introducing the file in specified channels. + * "thread_ts"?: string, //Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. Also, make sure to provide only one channel when using `thread_ts`. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. + * } $formParameters */ - public function __construct(array $queryParameters = [], array $formParameters = []) + public function __construct(array $queryParameters, array $formParameters = []) { $this->queryParameters = $queryParameters; $this->formParameters = $formParameters; @@ -51,7 +48,7 @@ public function getUri(): string return '/files.completeUploadExternal'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -66,6 +63,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -94,12 +101,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponse200|\JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponse200|\JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesDelete.php b/generated/Endpoint/FilesDelete.php index 568e577b..626ae95c 100644 --- a/generated/Endpoint/FilesDelete.php +++ b/generated/Endpoint/FilesDelete.php @@ -20,15 +20,12 @@ class FilesDelete extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Deletes a file. * - * @param array $formParameters { - * - * @var string $file ID of file to delete. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //ID of file to delete. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/files.delete'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\FilesDeletePostResponse200|\JoliCode\Slack\Api\Model\FilesDeletePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesDeletePostResponse200|\JoliCode\Slack\Api\Model\FilesDeletePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesDeletePostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesGetUploadUrlExternal.php b/generated/Endpoint/FilesGetUploadUrlExternal.php index ade794c5..4be0e44b 100644 --- a/generated/Endpoint/FilesGetUploadUrlExternal.php +++ b/generated/Endpoint/FilesGetUploadUrlExternal.php @@ -20,20 +20,17 @@ class FilesGetUploadUrlExternal extends \JoliCode\Slack\Api\Runtime\Client\BaseE /** * Gets a URL for an edge external file upload. * - * @param array $queryParameters { - * - * @var string $alt_txt description of image for screen-reader - * @var string $filename name of the file being uploaded - * @var int $length size in bytes of the file being uploaded - * @var string $snippet_type Syntax type of the snippet being uploaded. - * } - * - * @param array $formParameters { - * - * @var string $token Authentication token. Requires scope: `files:write` - * } + * @param array{ + * "alt_txt"?: string, //Description of image for screen-reader. + * "filename": string, //Name of the file being uploaded. + * "length": int, //Size in bytes of the file being uploaded. + * "snippet_type"?: string, //Syntax type of the snippet being uploaded. + * } $queryParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write` + * } $formParameters */ - public function __construct(array $queryParameters = [], array $formParameters = []) + public function __construct(array $queryParameters, array $formParameters = []) { $this->queryParameters = $queryParameters; $this->formParameters = $formParameters; @@ -49,7 +46,7 @@ public function getUri(): string return '/files.getUploadURLExternal'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -90,12 +97,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\FilesGetUploadURLExternalPostResponse200|\JoliCode\Slack\Api\Model\FilesGetUploadURLExternalPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesGetUploadURLExternalPostResponse200|\JoliCode\Slack\Api\Model\FilesGetUploadURLExternalPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesGetUploadURLExternalPostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesInfo.php b/generated/Endpoint/FilesInfo.php index 08ad8a3f..e9515a64 100644 --- a/generated/Endpoint/FilesInfo.php +++ b/generated/Endpoint/FilesInfo.php @@ -20,15 +20,14 @@ class FilesInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Gets information about a file. * - * @param array $queryParameters { - * - * @var string $count - * @var string $cursor Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/docs/pagination) for more details. - * @var string $file specify a file by providing its ID - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. - * @var string $page - * @var string $token Authentication token. Requires scope: `files:read` - * } + * @param array{ + * "count"?: string, + * "cursor"?: string, //Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/docs/pagination) for more details. + * "file"?: string, //Specify a file by providing its ID. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. + * "page"?: string, + * "token"?: string, //Authentication token. Requires scope: `files:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -45,7 +44,7 @@ public function getUri(): string return '/files.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -60,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -77,12 +86,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\FilesInfoGetResponse200|\JoliCode\Slack\Api\Model\FilesInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesInfoGetResponse200|\JoliCode\Slack\Api\Model\FilesInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/FilesList.php b/generated/Endpoint/FilesList.php index bc53edca..555ec327 100644 --- a/generated/Endpoint/FilesList.php +++ b/generated/Endpoint/FilesList.php @@ -20,18 +20,17 @@ class FilesList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * List for a team, in a channel, or from a user with applied filters. * - * @param array $queryParameters { - * - * @var string $channel filter files appearing in a specific channel, indicated by its ID - * @var string $count - * @var string $page - * @var bool $show_files_hidden_by_limit show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit - * @var string $token Authentication token. Requires scope: `files:read` - * @var string $ts_from filter files created after this timestamp (inclusive) - * @var string $ts_to filter files created before this timestamp (inclusive) - * @var string $types Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list. - * @var string $user Filter files created by a single user. - * } + * @param array{ + * "channel"?: string, //Filter files appearing in a specific channel, indicated by its ID. + * "count"?: string, + * "page"?: string, + * "show_files_hidden_by_limit"?: bool, //Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit. + * "token"?: string, //Authentication token. Requires scope: `files:read` + * "ts_from"?: string, //Filter files created after this timestamp (inclusive). + * "ts_to"?: string, //Filter files created before this timestamp (inclusive). + * "types"?: string, //Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list. + * "user"?: string, //Filter files created by a single user. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -48,7 +47,7 @@ public function getUri(): string return '/files.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -63,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -83,12 +92,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\FilesListGetResponse200|\JoliCode\Slack\Api\Model\FilesListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesListGetResponse200|\JoliCode\Slack\Api\Model\FilesListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesListGetResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRemoteAdd.php b/generated/Endpoint/FilesRemoteAdd.php index 8cb740e8..26cdb687 100644 --- a/generated/Endpoint/FilesRemoteAdd.php +++ b/generated/Endpoint/FilesRemoteAdd.php @@ -20,16 +20,15 @@ class FilesRemoteAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * Adds a file from a remote service. * - * @param array $formParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $external_url URL of the remote file - * @var string $filetype type of file - * @var string $indexable_file_contents A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file. - * @var string $preview_image preview of the document via `multipart/form-data` - * @var string $title title of the file being shared - * @var string $token Authentication token. Requires scope: `remote_files:write` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "external_url"?: string, //URL of the remote file. + * "filetype"?: string, //type of file + * "indexable_file_contents"?: string, //A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file. + * "preview_image"?: string, //Preview of the document via `multipart/form-data`. + * "title"?: string, //Title of the file being shared. + * "token"?: string, //Authentication token. Requires scope: `remote_files:write` + * } $formParameters */ public function __construct(array $formParameters = []) { @@ -46,7 +45,7 @@ public function getUri(): string return '/files.remote.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -79,12 +88,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\FilesRemoteAddPostResponse200|\JoliCode\Slack\Api\Model\FilesRemoteAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRemoteAddPostResponse200|\JoliCode\Slack\Api\Model\FilesRemoteAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRemoteAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRemoteInfo.php b/generated/Endpoint/FilesRemoteInfo.php index 8c54f469..dd348089 100644 --- a/generated/Endpoint/FilesRemoteInfo.php +++ b/generated/Endpoint/FilesRemoteInfo.php @@ -20,12 +20,11 @@ class FilesRemoteInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Retrieve information about a remote file added to Slack. * - * @param array $queryParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $file specify a file by providing its ID - * @var string $token Authentication token. Requires scope: `remote_files:read` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "file"?: string, //Specify a file by providing its ID. + * "token"?: string, //Authentication token. Requires scope: `remote_files:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/files.remote.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\FilesRemoteInfoGetResponse200|\JoliCode\Slack\Api\Model\FilesRemoteInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRemoteInfoGetResponse200|\JoliCode\Slack\Api\Model\FilesRemoteInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRemoteInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRemoteList.php b/generated/Endpoint/FilesRemoteList.php index fc8244d5..4dc1e5c2 100644 --- a/generated/Endpoint/FilesRemoteList.php +++ b/generated/Endpoint/FilesRemoteList.php @@ -20,15 +20,14 @@ class FilesRemoteList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Retrieve information about a remote file added to Slack. * - * @param array $queryParameters { - * - * @var string $channel filter files appearing in a specific channel, indicated by its ID - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var int $limit the maximum number of items to return - * @var string $token Authentication token. Requires scope: `remote_files:read` - * @var string $ts_from filter files created after this timestamp (inclusive) - * @var string $ts_to Filter files created before this timestamp (inclusive). - * } + * @param array{ + * "channel"?: string, //Filter files appearing in a specific channel, indicated by its ID. + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "limit"?: int, //The maximum number of items to return. + * "token"?: string, //Authentication token. Requires scope: `remote_files:read` + * "ts_from"?: string, //Filter files created after this timestamp (inclusive). + * "ts_to"?: string, //Filter files created before this timestamp (inclusive). + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -45,7 +44,7 @@ public function getUri(): string return '/files.remote.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -60,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -77,12 +86,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\FilesRemoteListGetResponse200|\JoliCode\Slack\Api\Model\FilesRemoteListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRemoteListGetResponse200|\JoliCode\Slack\Api\Model\FilesRemoteListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRemoteListGetResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRemoteRemove.php b/generated/Endpoint/FilesRemoteRemove.php index 839b7ed5..0eb87326 100644 --- a/generated/Endpoint/FilesRemoteRemove.php +++ b/generated/Endpoint/FilesRemoteRemove.php @@ -20,12 +20,11 @@ class FilesRemoteRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Remove a remote file. * - * @param array $formParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $file specify a file by providing its ID - * @var string $token Authentication token. Requires scope: `remote_files:write` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "file"?: string, //Specify a file by providing its ID. + * "token"?: string, //Authentication token. Requires scope: `remote_files:write` + * } $formParameters */ public function __construct(array $formParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/files.remote.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,12 +80,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\FilesRemoteRemovePostResponse200|\JoliCode\Slack\Api\Model\FilesRemoteRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRemoteRemovePostResponse200|\JoliCode\Slack\Api\Model\FilesRemoteRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRemoteRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRemoteShare.php b/generated/Endpoint/FilesRemoteShare.php index 60d4aff0..9c88c500 100644 --- a/generated/Endpoint/FilesRemoteShare.php +++ b/generated/Endpoint/FilesRemoteShare.php @@ -20,13 +20,12 @@ class FilesRemoteShare extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Share a remote file into a channel. * - * @param array $queryParameters { - * - * @var string $channels comma-separated list of channel IDs where the file will be shared - * @var string $external_id The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required. - * @var string $file Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required. - * @var string $token Authentication token. Requires scope: `remote_files:share` - * } + * @param array{ + * "channels"?: string, //Comma-separated list of channel IDs where the file will be shared. + * "external_id"?: string, //The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required. + * "file"?: string, //Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required. + * "token"?: string, //Authentication token. Requires scope: `remote_files:share` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -43,7 +42,7 @@ public function getUri(): string return '/files.remote.share'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\FilesRemoteShareGetResponse200|\JoliCode\Slack\Api\Model\FilesRemoteShareGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRemoteShareGetResponse200|\JoliCode\Slack\Api\Model\FilesRemoteShareGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRemoteShareGetResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRemoteUpdate.php b/generated/Endpoint/FilesRemoteUpdate.php index 7aa4e08a..df71b56a 100644 --- a/generated/Endpoint/FilesRemoteUpdate.php +++ b/generated/Endpoint/FilesRemoteUpdate.php @@ -20,17 +20,16 @@ class FilesRemoteUpdate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Updates an existing remote file. * - * @param array $formParameters { - * - * @var string $external_id creator defined GUID for the file - * @var string $external_url URL of the remote file - * @var string $file specify a file by providing its ID - * @var string $filetype type of file - * @var string $indexable_file_contents file containing contents that can be used to improve searchability for the remote file - * @var string $preview_image preview of the document via `multipart/form-data` - * @var string $title title of the file being shared - * @var string $token Authentication token. Requires scope: `remote_files:write` - * } + * @param array{ + * "external_id"?: string, //Creator defined GUID for the file. + * "external_url"?: string, //URL of the remote file. + * "file"?: string, //Specify a file by providing its ID. + * "filetype"?: string, //type of file + * "indexable_file_contents"?: string, //File containing contents that can be used to improve searchability for the remote file. + * "preview_image"?: string, //Preview of the document via `multipart/form-data`. + * "title"?: string, //Title of the file being shared. + * "token"?: string, //Authentication token. Requires scope: `remote_files:write` + * } $formParameters */ public function __construct(array $formParameters = []) { @@ -47,7 +46,7 @@ public function getUri(): string return '/files.remote.update'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -81,12 +90,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\FilesRemoteUpdatePostResponse200|\JoliCode\Slack\Api\Model\FilesRemoteUpdatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRemoteUpdatePostResponse200|\JoliCode\Slack\Api\Model\FilesRemoteUpdatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRemoteUpdatePostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesRevokePublicURL.php b/generated/Endpoint/FilesRevokePublicURL.php index f8795146..11da50ce 100644 --- a/generated/Endpoint/FilesRevokePublicURL.php +++ b/generated/Endpoint/FilesRevokePublicURL.php @@ -20,15 +20,12 @@ class FilesRevokePublicURL extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Revokes public/external sharing access for a file. * - * @param array $formParameters { - * - * @var string $file File to revoke - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //File to revoke + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/files.revokePublicURL'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\FilesRevokePublicURLPostResponse200|\JoliCode\Slack\Api\Model\FilesRevokePublicURLPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesRevokePublicURLPostResponse200|\JoliCode\Slack\Api\Model\FilesRevokePublicURLPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesRevokePublicURLPostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesSharedPublicURL.php b/generated/Endpoint/FilesSharedPublicURL.php index 96f1da8e..e77d9de6 100644 --- a/generated/Endpoint/FilesSharedPublicURL.php +++ b/generated/Endpoint/FilesSharedPublicURL.php @@ -20,15 +20,12 @@ class FilesSharedPublicURL extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoi /** * Enables a file for public/external sharing. * - * @param array $formParameters { - * - * @var string $file File to share - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "file"?: string, //File to share + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/files.sharedPublicURL'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\FilesSharedPublicURLPostResponse200|\JoliCode\Slack\Api\Model\FilesSharedPublicURLPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesSharedPublicURLPostResponse200|\JoliCode\Slack\Api\Model\FilesSharedPublicURLPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesSharedPublicURLPostResponse200', 'json'); } diff --git a/generated/Endpoint/FilesUpload.php b/generated/Endpoint/FilesUpload.php index da03ffb5..30bb859c 100644 --- a/generated/Endpoint/FilesUpload.php +++ b/generated/Endpoint/FilesUpload.php @@ -20,18 +20,17 @@ class FilesUpload extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Uploads or creates a file. * - * @param array $formParameters { - * - * @var string $channels comma-separated list of channel names or IDs where the file will be shared - * @var string $content File contents via a POST variable. If omitting this parameter, you must provide a `file`. - * @var string|resource|\Psr\Http\Message\StreamInterface $file File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. - * @var string $filename filename of file - * @var string $filetype a [file type](/types/file#file_types) identifier - * @var string $initial_comment the message text introducing the file in specified `channels` - * @var string $thread_ts Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. - * @var string $title title of file - * @var string $token Authentication token. Requires scope: `files:write:user` - * } + * @param array{ + * "channels"?: string, //Comma-separated list of channel names or IDs where the file will be shared. + * "content"?: string, //File contents via a POST variable. If omitting this parameter, you must provide a `file`. + * "file"?: string|resource, //File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. + * "filename"?: string, //Filename of file. + * "filetype"?: string, //A [file type](/types/file#file_types) identifier. + * "initial_comment"?: string, //The message text introducing the file in specified `channels`. + * "thread_ts"?: string, //Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. + * "title"?: string, //Title of file. + * "token"?: string, //Authentication token. Requires scope: `files:write:user` + * } $formParameters */ public function __construct(array $formParameters = []) { @@ -48,9 +47,9 @@ public function getUri(): string return '/files.upload'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { - return $this->getMultipartBody($streamFactory); + return $this->getMultipartBody(); } public function getExtraHeaders(): array @@ -63,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -71,7 +80,7 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ $optionsResolver->setDefaults([]); $optionsResolver->addAllowedTypes('channels', ['string']); $optionsResolver->addAllowedTypes('content', ['string']); - $optionsResolver->addAllowedTypes('file', ['string', 'resource', '\Psr\Http\Message\StreamInterface']); + $optionsResolver->addAllowedTypes('file', ['string', 'resource']); $optionsResolver->addAllowedTypes('filename', ['string']); $optionsResolver->addAllowedTypes('filetype', ['string']); $optionsResolver->addAllowedTypes('initial_comment', ['string']); @@ -83,12 +92,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\FilesUploadPostResponse200|\JoliCode\Slack\Api\Model\FilesUploadPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\FilesUploadPostResponse200|\JoliCode\Slack\Api\Model\FilesUploadPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\FilesUploadPostResponse200', 'json'); } diff --git a/generated/Endpoint/MigrationExchange.php b/generated/Endpoint/MigrationExchange.php index 6604299a..0191fb7f 100644 --- a/generated/Endpoint/MigrationExchange.php +++ b/generated/Endpoint/MigrationExchange.php @@ -20,15 +20,14 @@ class MigrationExchange extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * For Enterprise Grid workspaces, map local user IDs to global user IDs. * - * @param array $queryParameters { - * - * @var string $team_id Specify team_id starts with `T` in case of Org Token - * @var bool $to_old Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`. - * @var string $token Authentication token. Requires scope: `tokens.basic` - * @var string $users A comma-separated list of user ids, up to 400 per request - * } + * @param array{ + * "team_id"?: string, //Specify team_id starts with `T` in case of Org Token + * "to_old"?: bool, //Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`. + * "token"?: string, //Authentication token. Requires scope: `tokens.basic` + * "users": string, //A comma-separated list of user ids, up to 400 per request + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/migration.exchange'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\MigrationExchangeGetResponse200|\JoliCode\Slack\Api\Model\MigrationExchangeGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\MigrationExchangeGetResponse200|\JoliCode\Slack\Api\Model\MigrationExchangeGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\MigrationExchangeGetResponse200', 'json'); } diff --git a/generated/Endpoint/OauthAccess.php b/generated/Endpoint/OauthAccess.php index c97d9f57..4cded113 100644 --- a/generated/Endpoint/OauthAccess.php +++ b/generated/Endpoint/OauthAccess.php @@ -20,14 +20,13 @@ class OauthAccess extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Exchanges a temporary OAuth verifier code for an access token. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $code the `code` param returned via the OAuth callback - * @var string $redirect_uri this must match the originally submitted URI (if one was sent) - * @var bool $single_channel Request the user to add your app only to a single channel. Only valid with a [legacy workspace app](https://api.slack.com/legacy-workspace-apps). - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "code"?: string, //The `code` param returned via the OAuth callback. + * "redirect_uri"?: string, //This must match the originally submitted URI (if one was sent). + * "single_channel"?: bool, //Request the user to add your app only to a single channel. Only valid with a [legacy workspace app](https://api.slack.com/legacy-workspace-apps). + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/oauth.access'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\OauthAccessGetResponse200|\JoliCode\Slack\Api\Model\OauthAccessGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\OauthAccessGetResponse200|\JoliCode\Slack\Api\Model\OauthAccessGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\OauthAccessGetResponse200', 'json'); } diff --git a/generated/Endpoint/OauthToken.php b/generated/Endpoint/OauthToken.php index 754c061e..734791e3 100644 --- a/generated/Endpoint/OauthToken.php +++ b/generated/Endpoint/OauthToken.php @@ -20,14 +20,13 @@ class OauthToken extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Exchanges a temporary OAuth verifier code for a workspace token. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $code the `code` param returned via the OAuth callback - * @var string $redirect_uri this must match the originally submitted URI (if one was sent) - * @var bool $single_channel Request the user to add your app only to a single channel. - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "code"?: string, //The `code` param returned via the OAuth callback. + * "redirect_uri"?: string, //This must match the originally submitted URI (if one was sent). + * "single_channel"?: bool, //Request the user to add your app only to a single channel. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/oauth.token'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\OauthTokenGetResponse200|\JoliCode\Slack\Api\Model\OauthTokenGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\OauthTokenGetResponse200|\JoliCode\Slack\Api\Model\OauthTokenGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\OauthTokenGetResponse200', 'json'); } diff --git a/generated/Endpoint/OauthV2Access.php b/generated/Endpoint/OauthV2Access.php index 8b59f6d0..f68a2758 100644 --- a/generated/Endpoint/OauthV2Access.php +++ b/generated/Endpoint/OauthV2Access.php @@ -20,15 +20,14 @@ class OauthV2Access extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Exchanges a temporary OAuth verifier code for an access token. * - * @param array $queryParameters { - * - * @var string $client_id issued when you created your application - * @var string $client_secret issued when you created your application - * @var string $code the `code` param returned via the OAuth callback - * @var string $redirect_uri This must match the originally submitted URI (if one was sent). - * } + * @param array{ + * "client_id"?: string, //Issued when you created your application. + * "client_secret"?: string, //Issued when you created your application. + * "code": string, //The `code` param returned via the OAuth callback. + * "redirect_uri"?: string, //This must match the originally submitted URI (if one was sent). + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/oauth.v2.access'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\OauthV2AccessGetResponse200|\JoliCode\Slack\Api\Model\OauthV2AccessGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\OauthV2AccessGetResponse200|\JoliCode\Slack\Api\Model\OauthV2AccessGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\OauthV2AccessGetResponse200', 'json'); } diff --git a/generated/Endpoint/PinsAdd.php b/generated/Endpoint/PinsAdd.php index 633219eb..4239993e 100644 --- a/generated/Endpoint/PinsAdd.php +++ b/generated/Endpoint/PinsAdd.php @@ -20,16 +20,13 @@ class PinsAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implements /** * Pins an item to a channel. * - * @param array $formParameters { - * - * @var string $channel channel to pin the item in - * @var string $timestamp Timestamp of the message to pin. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `pins:write` - * } + * @param array{ + * "channel"?: string, //Channel to pin the item in. + * "timestamp"?: string, //Timestamp of the message to pin. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `pins:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -47,7 +44,7 @@ public function getUri(): string return '/pins.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\PinsAddPostResponse200|\JoliCode\Slack\Api\Model\PinsAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\PinsAddPostResponse200|\JoliCode\Slack\Api\Model\PinsAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\PinsAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/PinsList.php b/generated/Endpoint/PinsList.php index 5c4d491f..9edaefcf 100644 --- a/generated/Endpoint/PinsList.php +++ b/generated/Endpoint/PinsList.php @@ -20,11 +20,10 @@ class PinsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Lists items pinned to a channel. * - * @param array $queryParameters { - * - * @var string $channel channel to get pinned items for - * @var string $token Authentication token. Requires scope: `pins:read` - * } + * @param array{ + * "channel"?: string, //Channel to get pinned items for. + * "token"?: string, //Authentication token. Requires scope: `pins:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/pins.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return \JoliCode\Slack\Api\Model\PinsListGetResponsedefault::class; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,10 +80,10 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * @return \JoliCode\Slack\Api\Model\PinsListGetResponsedefault|null */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { try { return json_decode($body, false, 512, \JSON_THROW_ON_ERROR); diff --git a/generated/Endpoint/PinsRemove.php b/generated/Endpoint/PinsRemove.php index 12e3f24d..25901b13 100644 --- a/generated/Endpoint/PinsRemove.php +++ b/generated/Endpoint/PinsRemove.php @@ -20,18 +20,15 @@ class PinsRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Un-pins an item from a channel. * - * @param array $formParameters { - * - * @var string $channel channel where the item is pinned to - * @var string $timestamp Timestamp of the message to un-pin. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `pins:write` - * } + * @param array{ + * "channel": string, //Channel where the item is pinned to. + * "timestamp"?: string, //Timestamp of the message to un-pin. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `pins:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/pins.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\PinsRemovePostResponse200|\JoliCode\Slack\Api\Model\PinsRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\PinsRemovePostResponse200|\JoliCode\Slack\Api\Model\PinsRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\PinsRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/ReactionsAdd.php b/generated/Endpoint/ReactionsAdd.php index db579eab..6e05d0f8 100644 --- a/generated/Endpoint/ReactionsAdd.php +++ b/generated/Endpoint/ReactionsAdd.php @@ -20,19 +20,16 @@ class ReactionsAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imple /** * Adds a reaction to an item. * - * @param array $formParameters { - * - * @var string $channel channel where the message to add reaction to was posted - * @var string $name reaction (emoji) name - * @var string $timestamp Timestamp of the message to add reaction to. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reactions:write` - * } + * @param array{ + * "channel": string, //Channel where the message to add reaction to was posted. + * "name": string, //Reaction (emoji) name. + * "timestamp": string, //Timestamp of the message to add reaction to. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reactions:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/reactions.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ReactionsAddPostResponse200|\JoliCode\Slack\Api\Model\ReactionsAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ReactionsAddPostResponse200|\JoliCode\Slack\Api\Model\ReactionsAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ReactionsAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/ReactionsGet.php b/generated/Endpoint/ReactionsGet.php index 4a6b78b3..5a178c99 100644 --- a/generated/Endpoint/ReactionsGet.php +++ b/generated/Endpoint/ReactionsGet.php @@ -20,15 +20,14 @@ class ReactionsGet extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imple /** * Gets reactions for an item. * - * @param array $queryParameters { - * - * @var string $channel channel where the message to get reactions for was posted - * @var string $file file to get reactions for - * @var string $file_comment file comment to get reactions for - * @var bool $full if true always return the complete reaction list - * @var string $timestamp timestamp of the message to get reactions for - * @var string $token Authentication token. Requires scope: `reactions:read` - * } + * @param array{ + * "channel"?: string, //Channel where the message to get reactions for was posted. + * "file"?: string, //File to get reactions for. + * "file_comment"?: string, //File comment to get reactions for. + * "full"?: bool, //If true always return the complete reaction list. + * "timestamp"?: string, //Timestamp of the message to get reactions for. + * "token"?: string, //Authentication token. Requires scope: `reactions:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -45,7 +44,7 @@ public function getUri(): string return '/reactions.get'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -60,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return \JoliCode\Slack\Api\Model\ReactionsGetGetResponsedefault::class; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -79,10 +88,10 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * @return \JoliCode\Slack\Api\Model\ReactionsGetGetResponsedefault|null */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { try { return json_decode($body, false, 512, \JSON_THROW_ON_ERROR); diff --git a/generated/Endpoint/ReactionsList.php b/generated/Endpoint/ReactionsList.php index 6cd6aae3..f6b90733 100644 --- a/generated/Endpoint/ReactionsList.php +++ b/generated/Endpoint/ReactionsList.php @@ -20,16 +20,15 @@ class ReactionsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Lists reactions made by a user. * - * @param array $queryParameters { - * - * @var int $count - * @var string $cursor Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. - * @var bool $full if true always return the complete reaction list - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. - * @var int $page - * @var string $token Authentication token. Requires scope: `reactions:read` - * @var string $user Show reactions made by this user. Defaults to the authed user. - * } + * @param array{ + * "count"?: int, + * "cursor"?: string, //Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. + * "full"?: bool, //If true always return the complete reaction list. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. + * "page"?: int, + * "token"?: string, //Authentication token. Requires scope: `reactions:read` + * "user"?: string, //Show reactions made by this user. Defaults to the authed user. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -46,7 +45,7 @@ public function getUri(): string return '/reactions.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -61,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -79,12 +88,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\ReactionsListGetResponse200|\JoliCode\Slack\Api\Model\ReactionsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ReactionsListGetResponse200|\JoliCode\Slack\Api\Model\ReactionsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ReactionsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/ReactionsRemove.php b/generated/Endpoint/ReactionsRemove.php index a2a1dae5..30f82b1d 100644 --- a/generated/Endpoint/ReactionsRemove.php +++ b/generated/Endpoint/ReactionsRemove.php @@ -20,21 +20,18 @@ class ReactionsRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Removes a reaction from an item. * - * @param array $formParameters { - * - * @var string $channel channel where the message to remove reaction from was posted - * @var string $file file to remove reaction from - * @var string $file_comment file comment to remove reaction from - * @var string $name reaction (emoji) name - * @var string $timestamp Timestamp of the message to remove reaction from. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reactions:write` - * } + * @param array{ + * "channel"?: string, //Channel where the message to remove reaction from was posted. + * "file"?: string, //File to remove reaction from. + * "file_comment"?: string, //File comment to remove reaction from. + * "name": string, //Reaction (emoji) name. + * "timestamp"?: string, //Timestamp of the message to remove reaction from. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reactions:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -50,7 +47,7 @@ public function getUri(): string return '/reactions.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -65,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -92,12 +99,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ReactionsRemovePostResponse200|\JoliCode\Slack\Api\Model\ReactionsRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ReactionsRemovePostResponse200|\JoliCode\Slack\Api\Model\ReactionsRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ReactionsRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/RemindersAdd.php b/generated/Endpoint/RemindersAdd.php index 0af02628..834ad634 100644 --- a/generated/Endpoint/RemindersAdd.php +++ b/generated/Endpoint/RemindersAdd.php @@ -20,19 +20,16 @@ class RemindersAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imple /** * Creates a reminder. * - * @param array $formParameters { - * - * @var string $text The content of the reminder - * @var string $time When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday") - * @var string $user The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:write` - * } + * @param array{ + * "text": string, //The content of the reminder + * "time": string, //When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday") + * "user"?: string, //The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/reminders.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\RemindersAddPostResponse200|\JoliCode\Slack\Api\Model\RemindersAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\RemindersAddPostResponse200|\JoliCode\Slack\Api\Model\RemindersAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\RemindersAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/RemindersComplete.php b/generated/Endpoint/RemindersComplete.php index 376b767f..7bee47a7 100644 --- a/generated/Endpoint/RemindersComplete.php +++ b/generated/Endpoint/RemindersComplete.php @@ -20,15 +20,12 @@ class RemindersComplete extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Marks a reminder as complete. * - * @param array $formParameters { - * - * @var string $reminder The ID of the reminder to be marked as complete - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:write` - * } + * @param array{ + * "reminder"?: string, //The ID of the reminder to be marked as complete + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/reminders.complete'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\RemindersCompletePostResponse200|\JoliCode\Slack\Api\Model\RemindersCompletePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\RemindersCompletePostResponse200|\JoliCode\Slack\Api\Model\RemindersCompletePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\RemindersCompletePostResponse200', 'json'); } diff --git a/generated/Endpoint/RemindersDelete.php b/generated/Endpoint/RemindersDelete.php index 3bf5beb5..62f8fc0c 100644 --- a/generated/Endpoint/RemindersDelete.php +++ b/generated/Endpoint/RemindersDelete.php @@ -20,15 +20,12 @@ class RemindersDelete extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Deletes a reminder. * - * @param array $formParameters { - * - * @var string $reminder The ID of the reminder - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:write` - * } + * @param array{ + * "reminder"?: string, //The ID of the reminder + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -46,7 +43,7 @@ public function getUri(): string return '/reminders.delete'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\RemindersDeletePostResponse200|\JoliCode\Slack\Api\Model\RemindersDeletePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\RemindersDeletePostResponse200|\JoliCode\Slack\Api\Model\RemindersDeletePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\RemindersDeletePostResponse200', 'json'); } diff --git a/generated/Endpoint/RemindersInfo.php b/generated/Endpoint/RemindersInfo.php index 820e114b..6a18a5dd 100644 --- a/generated/Endpoint/RemindersInfo.php +++ b/generated/Endpoint/RemindersInfo.php @@ -20,11 +20,10 @@ class RemindersInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Gets information about a reminder. * - * @param array $queryParameters { - * - * @var string $reminder The ID of the reminder - * @var string $token Authentication token. Requires scope: `reminders:read` - * } + * @param array{ + * "reminder"?: string, //The ID of the reminder + * "token"?: string, //Authentication token. Requires scope: `reminders:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/reminders.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\RemindersInfoGetResponse200|\JoliCode\Slack\Api\Model\RemindersInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\RemindersInfoGetResponse200|\JoliCode\Slack\Api\Model\RemindersInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\RemindersInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/RemindersList.php b/generated/Endpoint/RemindersList.php index d1528ade..a2e35f34 100644 --- a/generated/Endpoint/RemindersList.php +++ b/generated/Endpoint/RemindersList.php @@ -20,10 +20,9 @@ class RemindersList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Lists all reminders created by or for a given user. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `reminders:read` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `reminders:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/reminders.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -67,12 +76,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\RemindersListGetResponse200|\JoliCode\Slack\Api\Model\RemindersListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\RemindersListGetResponse200|\JoliCode\Slack\Api\Model\RemindersListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\RemindersListGetResponse200', 'json'); } diff --git a/generated/Endpoint/RtmConnect.php b/generated/Endpoint/RtmConnect.php index c8891faf..9ee87243 100644 --- a/generated/Endpoint/RtmConnect.php +++ b/generated/Endpoint/RtmConnect.php @@ -20,12 +20,11 @@ class RtmConnect extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impleme /** * Starts a Real Time Messaging session. * - * @param array $queryParameters { - * - * @var bool $batch_presence_aware Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching). - * @var bool $presence_sub Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions). - * @var string $token Authentication token. Requires scope: `rtm:stream` - * } + * @param array{ + * "batch_presence_aware"?: bool, //Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching). + * "presence_sub"?: bool, //Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions). + * "token"?: string, //Authentication token. Requires scope: `rtm:stream` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/rtm.connect'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\RtmConnectGetResponse200|\JoliCode\Slack\Api\Model\RtmConnectGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\RtmConnectGetResponse200|\JoliCode\Slack\Api\Model\RtmConnectGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\RtmConnectGetResponse200', 'json'); } diff --git a/generated/Endpoint/SearchMessages.php b/generated/Endpoint/SearchMessages.php index 06e9da02..243da400 100644 --- a/generated/Endpoint/SearchMessages.php +++ b/generated/Endpoint/SearchMessages.php @@ -20,18 +20,17 @@ class SearchMessages extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * Searches for messages matching a query. * - * @param array $queryParameters { - * - * @var int $count Pass the number of results you want per "page". Maximum of `100`. - * @var bool $highlight pass a value of `true` to enable query highlight markers (see below) - * @var int $page - * @var string $query search query - * @var string $sort return matches sorted by either `score` or `timestamp` - * @var string $sort_dir change sort direction to ascending (`asc`) or descending (`desc`) - * @var string $token Authentication token. Requires scope: `search:read` - * } + * @param array{ + * "count"?: int, //Pass the number of results you want per "page". Maximum of `100`. + * "highlight"?: bool, //Pass a value of `true` to enable query highlight markers (see below). + * "page"?: int, + * "query": string, //Search query. + * "sort"?: string, //Return matches sorted by either `score` or `timestamp`. + * "sort_dir"?: string, //Change sort direction to ascending (`asc`) or descending (`desc`). + * "token"?: string, //Authentication token. Requires scope: `search:read` + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -46,7 +45,7 @@ public function getUri(): string return '/search.messages'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -61,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -79,12 +88,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\SearchMessagesGetResponse200|\JoliCode\Slack\Api\Model\SearchMessagesGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\SearchMessagesGetResponse200|\JoliCode\Slack\Api\Model\SearchMessagesGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\SearchMessagesGetResponse200', 'json'); } diff --git a/generated/Endpoint/StarsAdd.php b/generated/Endpoint/StarsAdd.php index d8f5af97..af5b4ff1 100644 --- a/generated/Endpoint/StarsAdd.php +++ b/generated/Endpoint/StarsAdd.php @@ -20,18 +20,15 @@ class StarsAdd extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Adds a star to an item. * - * @param array $formParameters { - * - * @var string $channel channel to add star to, or channel where the message to add star to was posted (used with `timestamp`) - * @var string $file file to add star to - * @var string $file_comment file comment to add star to - * @var string $timestamp Timestamp of the message to add star to. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `stars:write` - * } + * @param array{ + * "channel"?: string, //Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`). + * "file"?: string, //File to add star to. + * "file_comment"?: string, //File comment to add star to. + * "timestamp"?: string, //Timestamp of the message to add star to. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `stars:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -49,7 +46,7 @@ public function getUri(): string return '/stars.add'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\StarsAddPostResponse200|\JoliCode\Slack\Api\Model\StarsAddPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\StarsAddPostResponse200|\JoliCode\Slack\Api\Model\StarsAddPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\StarsAddPostResponse200', 'json'); } diff --git a/generated/Endpoint/StarsList.php b/generated/Endpoint/StarsList.php index 4777eae4..83dee458 100644 --- a/generated/Endpoint/StarsList.php +++ b/generated/Endpoint/StarsList.php @@ -20,14 +20,13 @@ class StarsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Lists stars for a user. * - * @param array $queryParameters { - * - * @var string $count - * @var string $cursor Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. - * @var string $page - * @var string $token Authentication token. Requires scope: `stars:read` - * } + * @param array{ + * "count"?: string, + * "cursor"?: string, //Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See [pagination](/docs/pagination) for more details. + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. + * "page"?: string, + * "token"?: string, //Authentication token. Requires scope: `stars:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/stars.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\StarsListGetResponse200|\JoliCode\Slack\Api\Model\StarsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\StarsListGetResponse200|\JoliCode\Slack\Api\Model\StarsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\StarsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/StarsRemove.php b/generated/Endpoint/StarsRemove.php index d91e0131..0c9a01f3 100644 --- a/generated/Endpoint/StarsRemove.php +++ b/generated/Endpoint/StarsRemove.php @@ -20,18 +20,15 @@ class StarsRemove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Removes a star from an item. * - * @param array $formParameters { - * - * @var string $channel channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`) - * @var string $file file to remove star from - * @var string $file_comment file comment to remove star from - * @var string $timestamp Timestamp of the message to remove star from. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `stars:write` - * } + * @param array{ + * "channel"?: string, //Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). + * "file"?: string, //File to remove star from. + * "file_comment"?: string, //File comment to remove star from. + * "timestamp"?: string, //Timestamp of the message to remove star from. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `stars:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -49,7 +46,7 @@ public function getUri(): string return '/stars.remove'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\StarsRemovePostResponse200|\JoliCode\Slack\Api\Model\StarsRemovePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\StarsRemovePostResponse200|\JoliCode\Slack\Api\Model\StarsRemovePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\StarsRemovePostResponse200', 'json'); } diff --git a/generated/Endpoint/TeamAccessLogs.php b/generated/Endpoint/TeamAccessLogs.php index a40ca39b..7cfe241c 100644 --- a/generated/Endpoint/TeamAccessLogs.php +++ b/generated/Endpoint/TeamAccessLogs.php @@ -20,13 +20,12 @@ class TeamAccessLogs extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * Gets the access logs for the current team. * - * @param array $queryParameters { - * - * @var string $before end of time range of logs to include in results (inclusive) - * @var string $count - * @var string $page - * @var string $token Authentication token. Requires scope: `admin` - * } + * @param array{ + * "before"?: string, //End of time range of logs to include in results (inclusive). + * "count"?: string, + * "page"?: string, + * "token"?: string, //Authentication token. Requires scope: `admin` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -43,7 +42,7 @@ public function getUri(): string return '/team.accessLogs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\TeamAccessLogsGetResponse200|\JoliCode\Slack\Api\Model\TeamAccessLogsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\TeamAccessLogsGetResponse200|\JoliCode\Slack\Api\Model\TeamAccessLogsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\TeamAccessLogsGetResponse200', 'json'); } diff --git a/generated/Endpoint/TeamBillableInfo.php b/generated/Endpoint/TeamBillableInfo.php index 243544f6..c38539cb 100644 --- a/generated/Endpoint/TeamBillableInfo.php +++ b/generated/Endpoint/TeamBillableInfo.php @@ -20,11 +20,10 @@ class TeamBillableInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Gets billable users information for the current team. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `admin` - * @var string $user A user to retrieve the billable information for. Defaults to all users. - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `admin` + * "user"?: string, //A user to retrieve the billable information for. Defaults to all users. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/team.billableInfo'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\TeamBillableInfoGetResponse200|\JoliCode\Slack\Api\Model\TeamBillableInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\TeamBillableInfoGetResponse200|\JoliCode\Slack\Api\Model\TeamBillableInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\TeamBillableInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/TeamInfo.php b/generated/Endpoint/TeamInfo.php index abfa3166..d18ba386 100644 --- a/generated/Endpoint/TeamInfo.php +++ b/generated/Endpoint/TeamInfo.php @@ -20,11 +20,10 @@ class TeamInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implement /** * Gets information about the current team. * - * @param array $queryParameters { - * - * @var string $team Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels - * @var string $token Authentication token. Requires scope: `team:read` - * } + * @param array{ + * "team"?: string, //Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels + * "token"?: string, //Authentication token. Requires scope: `team:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/team.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\TeamInfoGetResponse200|\JoliCode\Slack\Api\Model\TeamInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\TeamInfoGetResponse200|\JoliCode\Slack\Api\Model\TeamInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\TeamInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/TeamIntegrationLogs.php b/generated/Endpoint/TeamIntegrationLogs.php index 45b98967..275d99d7 100644 --- a/generated/Endpoint/TeamIntegrationLogs.php +++ b/generated/Endpoint/TeamIntegrationLogs.php @@ -20,16 +20,15 @@ class TeamIntegrationLogs extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Gets the integration logs for the current team. * - * @param array $queryParameters { - * - * @var string $app_id Filter logs to this Slack app. Defaults to all logs. - * @var string $change_type Filter logs with this change type. Defaults to all logs. - * @var string $count - * @var string $page - * @var string $service_id Filter logs to this service. Defaults to all logs. - * @var string $token Authentication token. Requires scope: `admin` - * @var string $user Filter logs generated by this user’s actions. Defaults to all logs. - * } + * @param array{ + * "app_id"?: string, //Filter logs to this Slack app. Defaults to all logs. + * "change_type"?: string, //Filter logs with this change type. Defaults to all logs. + * "count"?: string, + * "page"?: string, + * "service_id"?: string, //Filter logs to this service. Defaults to all logs. + * "token"?: string, //Authentication token. Requires scope: `admin` + * "user"?: string, //Filter logs generated by this user’s actions. Defaults to all logs. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -46,7 +45,7 @@ public function getUri(): string return '/team.integrationLogs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -61,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -79,12 +88,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\TeamIntegrationLogsGetResponse200|\JoliCode\Slack\Api\Model\TeamIntegrationLogsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\TeamIntegrationLogsGetResponse200|\JoliCode\Slack\Api\Model\TeamIntegrationLogsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\TeamIntegrationLogsGetResponse200', 'json'); } diff --git a/generated/Endpoint/TeamProfileGet.php b/generated/Endpoint/TeamProfileGet.php index 059090e6..c05baebe 100644 --- a/generated/Endpoint/TeamProfileGet.php +++ b/generated/Endpoint/TeamProfileGet.php @@ -20,11 +20,10 @@ class TeamProfileGet extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * Retrieve a team's profile. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `users.profile:read` - * @var string $visibility Filter by visibility. - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users.profile:read` + * "visibility"?: string, //Filter by visibility. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/team.profile.get'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\TeamProfileGetGetResponse200|\JoliCode\Slack\Api\Model\TeamProfileGetGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\TeamProfileGetGetResponse200|\JoliCode\Slack\Api\Model\TeamProfileGetGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\TeamProfileGetGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsCreate.php b/generated/Endpoint/UsergroupsCreate.php index 559fca06..cc262fde 100644 --- a/generated/Endpoint/UsergroupsCreate.php +++ b/generated/Endpoint/UsergroupsCreate.php @@ -20,21 +20,18 @@ class UsergroupsCreate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Create a User Group. * - * @param array $formParameters { - * - * @var string $channels a comma separated string of encoded channel IDs for which the User Group uses as a default - * @var string $description a short description of the User Group - * @var string $handle A mention handle. Must be unique among channels, users and User Groups. - * @var bool $include_count include the number of users in each User Group - * @var string $name A name for the User Group. Must be unique among User Groups. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "channels"?: string, //A comma separated string of encoded channel IDs for which the User Group uses as a default. + * "description"?: string, //A short description of the User Group. + * "handle"?: string, //A mention handle. Must be unique among channels, users and User Groups. + * "include_count"?: bool, //Include the number of users in each User Group. + * "name": string, //A name for the User Group. Must be unique among User Groups. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -50,7 +47,7 @@ public function getUri(): string return '/usergroups.create'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -65,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -92,12 +99,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsCreatePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsCreatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsCreatePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsCreatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsCreatePostResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsDisable.php b/generated/Endpoint/UsergroupsDisable.php index 27e62d79..3948b301 100644 --- a/generated/Endpoint/UsergroupsDisable.php +++ b/generated/Endpoint/UsergroupsDisable.php @@ -20,18 +20,15 @@ class UsergroupsDisable extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Disable an existing User Group. * - * @param array $formParameters { - * - * @var bool $include_count include the number of users in the User Group - * @var string $usergroup The encoded ID of the User Group to disable. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in the User Group. + * "usergroup": string, //The encoded ID of the User Group to disable. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/usergroups.disable'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsDisablePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsDisablePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsDisablePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsDisablePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsDisablePostResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsEnable.php b/generated/Endpoint/UsergroupsEnable.php index f7409aed..fe0e49f2 100644 --- a/generated/Endpoint/UsergroupsEnable.php +++ b/generated/Endpoint/UsergroupsEnable.php @@ -20,18 +20,15 @@ class UsergroupsEnable extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Enable a User Group. * - * @param array $formParameters { - * - * @var bool $include_count include the number of users in the User Group - * @var string $usergroup The encoded ID of the User Group to enable. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in the User Group. + * "usergroup": string, //The encoded ID of the User Group to enable. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/usergroups.enable'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsEnablePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsEnablePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsEnablePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsEnablePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsEnablePostResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsList.php b/generated/Endpoint/UsergroupsList.php index caafc6f6..a6c983e1 100644 --- a/generated/Endpoint/UsergroupsList.php +++ b/generated/Endpoint/UsergroupsList.php @@ -20,14 +20,13 @@ class UsergroupsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * List all User Groups for a team. * - * @param array $queryParameters { - * - * @var bool $include_count include the number of users in each User Group - * @var bool $include_disabled include disabled User Groups - * @var bool $include_users include the list of users for each User Group - * @var string $team_id Encoded team id to list user groups in, required if org token is used - * @var string $token Authentication token. Requires scope: `usergroups:read` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in each User Group. + * "include_disabled"?: bool, //Include disabled User Groups. + * "include_users"?: bool, //Include the list of users for each User Group. + * "team_id"?: string, //Encoded team id to list user groups in, required if org token is used + * "token"?: string, //Authentication token. Requires scope: `usergroups:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/usergroups.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsListGetResponse200|\JoliCode\Slack\Api\Model\UsergroupsListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsListGetResponse200|\JoliCode\Slack\Api\Model\UsergroupsListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsListGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsUpdate.php b/generated/Endpoint/UsergroupsUpdate.php index 3f25e3cb..dd546b0b 100644 --- a/generated/Endpoint/UsergroupsUpdate.php +++ b/generated/Endpoint/UsergroupsUpdate.php @@ -20,22 +20,19 @@ class UsergroupsUpdate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Update an existing User Group. * - * @param array $formParameters { - * - * @var string $channels a comma separated string of encoded channel IDs for which the User Group uses as a default - * @var string $description a short description of the User Group - * @var string $handle A mention handle. Must be unique among channels, users and User Groups. - * @var bool $include_count include the number of users in the User Group - * @var string $name A name for the User Group. Must be unique among User Groups. - * @var string $usergroup The encoded ID of the User Group to update. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "channels"?: string, //A comma separated string of encoded channel IDs for which the User Group uses as a default. + * "description"?: string, //A short description of the User Group. + * "handle"?: string, //A mention handle. Must be unique among channels, users and User Groups. + * "include_count"?: bool, //Include the number of users in the User Group. + * "name"?: string, //A name for the User Group. Must be unique among User Groups. + * "usergroup": string, //The encoded ID of the User Group to update. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -51,7 +48,7 @@ public function getUri(): string return '/usergroups.update'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -66,6 +63,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -94,12 +101,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsUpdatePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsUpdatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsUpdatePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsUpdatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsUpdatePostResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsUsersList.php b/generated/Endpoint/UsergroupsUsersList.php index ab375f6d..fd063d2c 100644 --- a/generated/Endpoint/UsergroupsUsersList.php +++ b/generated/Endpoint/UsergroupsUsersList.php @@ -20,15 +20,14 @@ class UsergroupsUsersList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * List all users in a User Group. * - * @param array $queryParameters { - * - * @var bool $include_disabled allow results that involve disabled User Groups - * @var string $team_id The user group's encoded team ID. Required if org token is used. - * @var string $token Authentication token. Requires scope: `usergroups:read` - * @var string $usergroup The encoded ID of the User Group to read. - * } + * @param array{ + * "include_disabled"?: bool, //Allow results that involve disabled User Groups. + * "team_id"?: string, //The user group's encoded team ID. Required if org token is used. + * "token"?: string, //Authentication token. Requires scope: `usergroups:read` + * "usergroup": string, //The encoded ID of the User Group to read. + * } $queryParameters */ - public function __construct(array $queryParameters = []) + public function __construct(array $queryParameters) { $this->queryParameters = $queryParameters; } @@ -43,7 +42,7 @@ public function getUri(): string return '/usergroups.users.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -58,6 +57,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -73,12 +82,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsUsersListGetResponse200|\JoliCode\Slack\Api\Model\UsergroupsUsersListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsUsersListGetResponse200|\JoliCode\Slack\Api\Model\UsergroupsUsersListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsUsersListGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsergroupsUsersUpdate.php b/generated/Endpoint/UsergroupsUsersUpdate.php index 8c9f95c2..50ce6a3a 100644 --- a/generated/Endpoint/UsergroupsUsersUpdate.php +++ b/generated/Endpoint/UsergroupsUsersUpdate.php @@ -20,19 +20,16 @@ class UsergroupsUsersUpdate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpo /** * Update the list of users for a User Group. * - * @param array $formParameters { - * - * @var bool $include_count include the number of users in the User Group - * @var string $usergroup the encoded ID of the User Group to update - * @var string $users A comma separated string of encoded user IDs that represent the entire list of users for the User Group. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `usergroups:write` - * } + * @param array{ + * "include_count"?: bool, //Include the number of users in the User Group. + * "usergroup": string, //The encoded ID of the User Group to update. + * "users": string, //A comma separated string of encoded user IDs that represent the entire list of users for the User Group. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `usergroups:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/usergroups.users.update'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsergroupsUsersUpdatePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsUsersUpdatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsergroupsUsersUpdatePostResponse200|\JoliCode\Slack\Api\Model\UsergroupsUsersUpdatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsergroupsUsersUpdatePostResponse200', 'json'); } diff --git a/generated/Endpoint/UsersConversations.php b/generated/Endpoint/UsersConversations.php index 80cfd81d..6fa84f32 100644 --- a/generated/Endpoint/UsersConversations.php +++ b/generated/Endpoint/UsersConversations.php @@ -20,15 +20,14 @@ class UsersConversations extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * List conversations the calling user may access. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $exclude_archived Set to `true` to exclude archived channels from the list - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. - * @var string $token Authentication token. Requires scope: `conversations:read` - * @var string $types Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` - * @var string $user Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "exclude_archived"?: bool, //Set to `true` to exclude archived channels from the list + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. + * "token"?: string, //Authentication token. Requires scope: `conversations:read` + * "types"?: string, //Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` + * "user"?: string, //Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -45,7 +44,7 @@ public function getUri(): string return '/users.conversations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -60,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -77,12 +86,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsersConversationsGetResponse200|\JoliCode\Slack\Api\Model\UsersConversationsGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersConversationsGetResponse200|\JoliCode\Slack\Api\Model\UsersConversationsGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersConversationsGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsersDeletePhoto.php b/generated/Endpoint/UsersDeletePhoto.php index ef2bca9d..2bde0793 100644 --- a/generated/Endpoint/UsersDeletePhoto.php +++ b/generated/Endpoint/UsersDeletePhoto.php @@ -20,10 +20,9 @@ class UsersDeletePhoto extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Delete the user profile photo. * - * @param array $formParameters { - * - * @var string $token Authentication token. Requires scope: `users.profile:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users.profile:write` + * } $formParameters */ public function __construct(array $formParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/users.deletePhoto'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -67,12 +76,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\UsersDeletePhotoPostResponse200|\JoliCode\Slack\Api\Model\UsersDeletePhotoPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersDeletePhotoPostResponse200|\JoliCode\Slack\Api\Model\UsersDeletePhotoPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersDeletePhotoPostResponse200', 'json'); } diff --git a/generated/Endpoint/UsersGetPresence.php b/generated/Endpoint/UsersGetPresence.php index efa6d93a..776da1aa 100644 --- a/generated/Endpoint/UsersGetPresence.php +++ b/generated/Endpoint/UsersGetPresence.php @@ -20,11 +20,10 @@ class UsersGetPresence extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Gets user presence information. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `users:read` - * @var string $user User to get presence info on. Defaults to the authed user. - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users:read` + * "user"?: string, //User to get presence info on. Defaults to the authed user. + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/users.getPresence'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsersGetPresenceGetResponse200|\JoliCode\Slack\Api\Model\UsersGetPresenceGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersGetPresenceGetResponse200|\JoliCode\Slack\Api\Model\UsersGetPresenceGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersGetPresenceGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsersIdentity.php b/generated/Endpoint/UsersIdentity.php index 6e959163..2a1c8be2 100644 --- a/generated/Endpoint/UsersIdentity.php +++ b/generated/Endpoint/UsersIdentity.php @@ -20,10 +20,9 @@ class UsersIdentity extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Get a user's identity. * - * @param array $queryParameters { - * - * @var string $token Authentication token. Requires scope: `identity.basic` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `identity.basic` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/users.identity'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return \JoliCode\Slack\Api\Model\UsersIdentityGetResponsedefault::class; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,10 +78,10 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver /** * @return \JoliCode\Slack\Api\Model\UsersIdentityGetResponsedefault|null */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { try { return json_decode($body, false, 512, \JSON_THROW_ON_ERROR); diff --git a/generated/Endpoint/UsersInfo.php b/generated/Endpoint/UsersInfo.php index ca11a88c..035389d0 100644 --- a/generated/Endpoint/UsersInfo.php +++ b/generated/Endpoint/UsersInfo.php @@ -20,12 +20,11 @@ class UsersInfo extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Gets information about a user. * - * @param array $queryParameters { - * - * @var bool $include_locale Set this to `true` to receive the locale for this user. Defaults to `false` - * @var string $token Authentication token. Requires scope: `users:read` - * @var string $user User to get info on - * } + * @param array{ + * "include_locale"?: bool, //Set this to `true` to receive the locale for this user. Defaults to `false` + * "token"?: string, //Authentication token. Requires scope: `users:read` + * "user"?: string, //User to get info on + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/users.info'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsersInfoGetResponse200|\JoliCode\Slack\Api\Model\UsersInfoGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersInfoGetResponse200|\JoliCode\Slack\Api\Model\UsersInfoGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersInfoGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsersList.php b/generated/Endpoint/UsersList.php index 5893f2f4..60b2fda1 100644 --- a/generated/Endpoint/UsersList.php +++ b/generated/Endpoint/UsersList.php @@ -20,14 +20,13 @@ class UsersList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Lists all users in a Slack team. * - * @param array $queryParameters { - * - * @var string $cursor Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. - * @var bool $include_locale Set this to `true` to receive the locale for users. Defaults to `false` - * @var int $limit The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. Providing no `limit` value will result in Slack attempting to deliver you the entire result set. If the collection is too large you may experience `limit_required` or HTTP 500 errors. - * @var string $team_id Encoded team id to list users in, required if org token is used - * @var string $token Authentication token. Requires scope: `users:read` - * } + * @param array{ + * "cursor"?: string, //Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/docs/pagination) for more detail. + * "include_locale"?: bool, //Set this to `true` to receive the locale for users. Defaults to `false` + * "limit"?: int, //The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. Providing no `limit` value will result in Slack attempting to deliver you the entire result set. If the collection is too large you may experience `limit_required` or HTTP 500 errors. + * "team_id"?: string, //Encoded team id to list users in, required if org token is used + * "token"?: string, //Authentication token. Requires scope: `users:read` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/users.list'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -75,12 +84,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsersListGetResponse200|\JoliCode\Slack\Api\Model\UsersListGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersListGetResponse200|\JoliCode\Slack\Api\Model\UsersListGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersListGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsersLookupByEmail.php b/generated/Endpoint/UsersLookupByEmail.php index c89fe241..0e618a88 100644 --- a/generated/Endpoint/UsersLookupByEmail.php +++ b/generated/Endpoint/UsersLookupByEmail.php @@ -20,11 +20,10 @@ class UsersLookupByEmail extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint /** * Find a user with an email address. * - * @param array $queryParameters { - * - * @var string $email An email address belonging to a user in the workspace - * @var string $token Authentication token. Requires scope: `users:read.email` - * } + * @param array{ + * "email"?: string, //An email address belonging to a user in the workspace + * "token"?: string, //Authentication token. Requires scope: `users:read.email` + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -41,7 +40,7 @@ public function getUri(): string return '/users.lookupByEmail'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -56,6 +55,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -69,12 +78,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsersLookupByEmailGetResponse200|\JoliCode\Slack\Api\Model\UsersLookupByEmailGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersLookupByEmailGetResponse200|\JoliCode\Slack\Api\Model\UsersLookupByEmailGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersLookupByEmailGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsersProfileGet.php b/generated/Endpoint/UsersProfileGet.php index c01a9010..917cfad8 100644 --- a/generated/Endpoint/UsersProfileGet.php +++ b/generated/Endpoint/UsersProfileGet.php @@ -20,12 +20,11 @@ class UsersProfileGet extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Retrieves a user's profile information. * - * @param array $queryParameters { - * - * @var bool $include_labels Include labels for each ID in custom profile fields - * @var string $token Authentication token. Requires scope: `users.profile:read` - * @var string $user User to retrieve profile info for - * } + * @param array{ + * "include_labels"?: bool, //Include labels for each ID in custom profile fields + * "token"?: string, //Authentication token. Requires scope: `users.profile:read` + * "user"?: string, //User to retrieve profile info for + * } $queryParameters */ public function __construct(array $queryParameters = []) { @@ -42,7 +41,7 @@ public function getUri(): string return '/users.profile.get'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -57,6 +56,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Preload->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); @@ -71,12 +80,12 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver } /** - * @return \JoliCode\Slack\Api\Model\UsersProfileGetGetResponse200|\JoliCode\Slack\Api\Model\UsersProfileGetGetResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersProfileGetGetResponse200|\JoliCode\Slack\Api\Model\UsersProfileGetGetResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersProfileGetGetResponse200', 'json'); } diff --git a/generated/Endpoint/UsersProfileSet.php b/generated/Endpoint/UsersProfileSet.php index a25d2b87..d5fcbffc 100644 --- a/generated/Endpoint/UsersProfileSet.php +++ b/generated/Endpoint/UsersProfileSet.php @@ -20,18 +20,15 @@ class UsersProfileSet extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint im /** * Set the profile information for a user. * - * @param array $formParameters { - * - * @var string $name Name of a single key to set. Usable only if `profile` is not passed. - * @var string $profile Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters. - * @var string $user ID of user to change. This argument may only be specified by team admins on paid teams. - * @var string $value Value to set a single key to. Usable only if `profile` is not passed. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `users.profile:write` - * } + * @param array{ + * "name"?: string, //Name of a single key to set. Usable only if `profile` is not passed. + * "profile"?: string, //Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters. + * "user"?: string, //ID of user to change. This argument may only be specified by team admins on paid teams. + * "value"?: string, //Value to set a single key to. Usable only if `profile` is not passed. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users.profile:write` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -49,7 +46,7 @@ public function getUri(): string return '/users.profile.set'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsersProfileSetPostResponse200|\JoliCode\Slack\Api\Model\UsersProfileSetPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersProfileSetPostResponse200|\JoliCode\Slack\Api\Model\UsersProfileSetPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersProfileSetPostResponse200', 'json'); } diff --git a/generated/Endpoint/UsersSetActive.php b/generated/Endpoint/UsersSetActive.php index 05c971e0..6027bb49 100644 --- a/generated/Endpoint/UsersSetActive.php +++ b/generated/Endpoint/UsersSetActive.php @@ -20,10 +20,9 @@ class UsersSetActive extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imp /** * Marked a user as active. Deprecated and non-functional. * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `users:write` - * } + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users:write` + * } $headerParameters */ public function __construct(array $headerParameters = []) { @@ -40,7 +39,7 @@ public function getUri(): string return '/users.setActive'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return [[], null]; } @@ -55,6 +54,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getHeadersOptionsResolver(); @@ -67,12 +76,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsersSetActivePostResponse200|\JoliCode\Slack\Api\Model\UsersSetActivePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersSetActivePostResponse200|\JoliCode\Slack\Api\Model\UsersSetActivePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersSetActivePostResponse200', 'json'); } diff --git a/generated/Endpoint/UsersSetPhoto.php b/generated/Endpoint/UsersSetPhoto.php index 45862463..715eb8bd 100644 --- a/generated/Endpoint/UsersSetPhoto.php +++ b/generated/Endpoint/UsersSetPhoto.php @@ -20,14 +20,13 @@ class UsersSetPhoto extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint impl /** * Set the user profile photo. * - * @param array $formParameters { - * - * @var string $crop_w Width/height of crop box (always square) - * @var string $crop_x X coordinate of top-left corner of crop box - * @var string $crop_y Y coordinate of top-left corner of crop box - * @var string $image file contents via `multipart/form-data` - * @var string $token Authentication token. Requires scope: `users.profile:write` - * } + * @param array{ + * "crop_w"?: string, //Width/height of crop box (always square) + * "crop_x"?: string, //X coordinate of top-left corner of crop box + * "crop_y"?: string, //Y coordinate of top-left corner of crop box + * "image"?: string, //File contents via `multipart/form-data`. + * "token"?: string, //Authentication token. Requires scope: `users.profile:write` + * } $formParameters */ public function __construct(array $formParameters = []) { @@ -44,7 +43,7 @@ public function getUri(): string return '/users.setPhoto'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -59,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -75,12 +84,12 @@ protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\ } /** - * @return \JoliCode\Slack\Api\Model\UsersSetPhotoPostResponse200|\JoliCode\Slack\Api\Model\UsersSetPhotoPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersSetPhotoPostResponse200|\JoliCode\Slack\Api\Model\UsersSetPhotoPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersSetPhotoPostResponse200', 'json'); } diff --git a/generated/Endpoint/UsersSetPresence.php b/generated/Endpoint/UsersSetPresence.php index 78f7c872..4494516e 100644 --- a/generated/Endpoint/UsersSetPresence.php +++ b/generated/Endpoint/UsersSetPresence.php @@ -20,17 +20,14 @@ class UsersSetPresence extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i /** * Manually sets user presence. * - * @param array $formParameters { - * - * @var string $presence Either `auto` or `away` - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `users:write` - * } + * @param array{ + * "presence": string, //Either `auto` or `away` + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `users:write` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -46,7 +43,7 @@ public function getUri(): string return '/users.setPresence'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -61,6 +58,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -84,12 +91,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\UsersSetPresencePostResponse200|\JoliCode\Slack\Api\Model\UsersSetPresencePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\UsersSetPresencePostResponse200|\JoliCode\Slack\Api\Model\UsersSetPresencePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\UsersSetPresencePostResponse200', 'json'); } diff --git a/generated/Endpoint/ViewsOpen.php b/generated/Endpoint/ViewsOpen.php index f9e17041..aa376631 100644 --- a/generated/Endpoint/ViewsOpen.php +++ b/generated/Endpoint/ViewsOpen.php @@ -20,18 +20,15 @@ class ViewsOpen extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Open a view for a user. * - * @param array $formParameters { - * - * @var string $trigger_id exchange a trigger to post to the user - * @var string $view A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "trigger_id": string, //Exchange a trigger to post to the user. + * "view": string, //A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/views.open'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ViewsOpenPostResponse200|\JoliCode\Slack\Api\Model\ViewsOpenPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ViewsOpenPostResponse200|\JoliCode\Slack\Api\Model\ViewsOpenPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ViewsOpenPostResponse200', 'json'); } diff --git a/generated/Endpoint/ViewsPublish.php b/generated/Endpoint/ViewsPublish.php index fe129081..1111f7ab 100644 --- a/generated/Endpoint/ViewsPublish.php +++ b/generated/Endpoint/ViewsPublish.php @@ -20,19 +20,16 @@ class ViewsPublish extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint imple /** * Publish a static view for a User. * - * @param array $formParameters { - * - * @var string $hash a string that represents view state to protect against possible race conditions - * @var string $user_id `id` of the user you want publish a view to - * @var string $view A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "hash"?: string, //A string that represents view state to protect against possible race conditions. + * "user_id": string, //`id` of the user you want publish a view to. + * "view": string, //A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -48,7 +45,7 @@ public function getUri(): string return '/views.publish'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -63,6 +60,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -88,12 +95,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ViewsPublishPostResponse200|\JoliCode\Slack\Api\Model\ViewsPublishPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ViewsPublishPostResponse200|\JoliCode\Slack\Api\Model\ViewsPublishPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ViewsPublishPostResponse200', 'json'); } diff --git a/generated/Endpoint/ViewsPush.php b/generated/Endpoint/ViewsPush.php index 292e4b42..b4309df2 100644 --- a/generated/Endpoint/ViewsPush.php +++ b/generated/Endpoint/ViewsPush.php @@ -20,18 +20,15 @@ class ViewsPush extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implemen /** * Push a view onto the stack of a root view. * - * @param array $formParameters { - * - * @var string $trigger_id exchange a trigger to post to the user - * @var string $view A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "trigger_id": string, //Exchange a trigger to post to the user. + * "view": string, //A [view payload](/reference/surfaces/views). This must be a JSON-encoded string. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/views.push'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ViewsPushPostResponse200|\JoliCode\Slack\Api\Model\ViewsPushPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ViewsPushPostResponse200|\JoliCode\Slack\Api\Model\ViewsPushPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ViewsPushPostResponse200', 'json'); } diff --git a/generated/Endpoint/ViewsUpdate.php b/generated/Endpoint/ViewsUpdate.php index 963260c9..3491f0fd 100644 --- a/generated/Endpoint/ViewsUpdate.php +++ b/generated/Endpoint/ViewsUpdate.php @@ -20,18 +20,15 @@ class ViewsUpdate extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint implem /** * Update an existing view. * - * @param array $formParameters { - * - * @var string $external_id A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either `view_id` or `external_id` is required. - * @var string $hash a string that represents view state to protect against possible race conditions - * @var string $view A [view object](/reference/surfaces/views). This must be a JSON-encoded string. - * @var string $view_id A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `none` - * } + * @param array{ + * "external_id"?: string, //A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either `view_id` or `external_id` is required. + * "hash"?: string, //A string that represents view state to protect against possible race conditions. + * "view"?: string, //A [view object](/reference/surfaces/views). This must be a JSON-encoded string. + * "view_id"?: string, //A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `none` + * } $headerParameters */ public function __construct(array $formParameters = [], array $headerParameters = []) { @@ -49,7 +46,7 @@ public function getUri(): string return '/views.update'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -64,6 +61,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -90,12 +97,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\ViewsUpdatePostResponse200|\JoliCode\Slack\Api\Model\ViewsUpdatePostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\ViewsUpdatePostResponse200|\JoliCode\Slack\Api\Model\ViewsUpdatePostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\ViewsUpdatePostResponse200', 'json'); } diff --git a/generated/Endpoint/WorkflowsStepCompleted.php b/generated/Endpoint/WorkflowsStepCompleted.php index b17acf49..1cc9a1c7 100644 --- a/generated/Endpoint/WorkflowsStepCompleted.php +++ b/generated/Endpoint/WorkflowsStepCompleted.php @@ -20,18 +20,15 @@ class WorkflowsStepCompleted extends \JoliCode\Slack\Api\Runtime\Client\BaseEndp /** * Indicate that an app's step in a workflow completed execution. * - * @param array $formParameters { - * - * @var string $outputs Key-value object of outputs from your step. Keys of this object reflect the configured `key` properties of your [`outputs`](/reference/workflows/workflow_step#output) array from your `workflow_step` object. - * @var string $workflow_step_execute_id Context identifier that maps to the correct workflow step execution. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `workflow.steps:execute` - * } + * @param array{ + * "outputs"?: string, //Key-value object of outputs from your step. Keys of this object reflect the configured `key` properties of your [`outputs`](/reference/workflows/workflow_step#output) array from your `workflow_step` object. + * "workflow_step_execute_id": string, //Context identifier that maps to the correct workflow step execution. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `workflow.steps:execute` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/workflows.stepCompleted'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\WorkflowsStepCompletedPostResponse200|\JoliCode\Slack\Api\Model\WorkflowsStepCompletedPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\WorkflowsStepCompletedPostResponse200|\JoliCode\Slack\Api\Model\WorkflowsStepCompletedPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\WorkflowsStepCompletedPostResponse200', 'json'); } diff --git a/generated/Endpoint/WorkflowsStepFailed.php b/generated/Endpoint/WorkflowsStepFailed.php index 3db4207d..3592c97f 100644 --- a/generated/Endpoint/WorkflowsStepFailed.php +++ b/generated/Endpoint/WorkflowsStepFailed.php @@ -20,18 +20,15 @@ class WorkflowsStepFailed extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Indicate that an app's step in a workflow failed to execute. * - * @param array $formParameters { - * - * @var string $error a JSON-based object with a `message` property that should contain a human readable error message - * @var string $workflow_step_execute_id Context identifier that maps to the correct workflow step execution. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `workflow.steps:execute` - * } + * @param array{ + * "error": string, //A JSON-based object with a `message` property that should contain a human readable error message. + * "workflow_step_execute_id": string, //Context identifier that maps to the correct workflow step execution. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `workflow.steps:execute` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -47,7 +44,7 @@ public function getUri(): string return '/workflows.stepFailed'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -62,6 +59,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -86,12 +93,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\WorkflowsStepFailedPostResponse200|\JoliCode\Slack\Api\Model\WorkflowsStepFailedPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\WorkflowsStepFailedPostResponse200|\JoliCode\Slack\Api\Model\WorkflowsStepFailedPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\WorkflowsStepFailedPostResponse200', 'json'); } diff --git a/generated/Endpoint/WorkflowsUpdateStep.php b/generated/Endpoint/WorkflowsUpdateStep.php index 58b042a0..e9cb5888 100644 --- a/generated/Endpoint/WorkflowsUpdateStep.php +++ b/generated/Endpoint/WorkflowsUpdateStep.php @@ -20,21 +20,18 @@ class WorkflowsUpdateStep extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoin /** * Update the configuration for a workflow extension step. * - * @param array $formParameters { - * - * @var string $inputs A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. **Please note**: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime. [Read more about variables in workflow steps here](/workflows/steps#variables). - * @var string $outputs An JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed. - * @var string $step_image_url an optional field that can be used to override app image that is shown in the Workflow Builder - * @var string $step_name an optional field that can be used to override the step name that is shown in the Workflow Builder - * @var string $workflow_step_edit_id A context identifier provided with `view_submission` payloads used to call back to `workflows.updateStep`. - * } - * - * @param array $headerParameters { - * - * @var string $token Authentication token. Requires scope: `workflow.steps:execute` - * } + * @param array{ + * "inputs"?: string, //A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. **Please note**: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime. [Read more about variables in workflow steps here](/workflows/steps#variables). + * "outputs"?: string, //An JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed. + * "step_image_url"?: string, //An optional field that can be used to override app image that is shown in the Workflow Builder. + * "step_name"?: string, //An optional field that can be used to override the step name that is shown in the Workflow Builder. + * "workflow_step_edit_id": string, //A context identifier provided with `view_submission` payloads used to call back to `workflows.updateStep`. + * } $formParameters + * @param array{ + * "token"?: string, //Authentication token. Requires scope: `workflow.steps:execute` + * } $headerParameters */ - public function __construct(array $formParameters = [], array $headerParameters = []) + public function __construct(array $formParameters, array $headerParameters = []) { $this->formParameters = $formParameters; $this->headerParameters = $headerParameters; @@ -50,7 +47,7 @@ public function getUri(): string return '/workflows.updateStep'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer): array { return $this->getFormBody(); } @@ -65,6 +62,16 @@ public function getAuthenticationScopes(): array return ['slackAuth']; } + public function getFetchMode(): string + { + return \Jane\Component\OpenApiRuntime\Client\FetchMode::Eager->value; + } + + public function getTargetClass(): ?string + { + return null; + } + protected function getFormOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getFormOptionsResolver(); @@ -92,12 +99,12 @@ protected function getHeadersOptionsResolver(): \Symfony\Component\OptionsResolv } /** - * @return \JoliCode\Slack\Api\Model\WorkflowsUpdateStepPostResponse200|\JoliCode\Slack\Api\Model\WorkflowsUpdateStepPostResponsedefault|null + * @return \JoliCode\Slack\Api\Model\WorkflowsUpdateStepPostResponse200|\JoliCode\Slack\Api\Model\WorkflowsUpdateStepPostResponsedefault */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + protected function transformResponseBody(\Symfony\Contracts\HttpClient\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { $status = $response->getStatusCode(); - $body = (string) $response->getBody(); + $body = $response->getContent(false); if (200 === $status) { return $serializer->deserialize($body, 'JoliCode\Slack\Api\Model\WorkflowsUpdateStepPostResponse200', 'json'); } diff --git a/generated/Exception/ApiException.php b/generated/Exception/ApiException.php new file mode 100644 index 00000000..265d0f6a --- /dev/null +++ b/generated/Exception/ApiException.php @@ -0,0 +1,18 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Api\Exception; + +interface ApiException extends \Throwable +{ +} diff --git a/generated/Exception/BadResponseException.php b/generated/Exception/BadResponseException.php new file mode 100644 index 00000000..f54ffa3b --- /dev/null +++ b/generated/Exception/BadResponseException.php @@ -0,0 +1,22 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Api\Exception; + +class BadResponseException extends UnexpectedStatusCodeException +{ + public function __construct($status, $message = '', ?\Symfony\Contracts\HttpClient\ResponseInterface $response = null) + { + parent::__construct($status, $message, $response); + } +} diff --git a/generated/Exception/ClientException.php b/generated/Exception/ClientException.php new file mode 100644 index 00000000..d75473c6 --- /dev/null +++ b/generated/Exception/ClientException.php @@ -0,0 +1,18 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Api\Exception; + +interface ClientException extends ApiException +{ +} diff --git a/generated/Exception/ServerException.php b/generated/Exception/ServerException.php new file mode 100644 index 00000000..a0e1e03c --- /dev/null +++ b/generated/Exception/ServerException.php @@ -0,0 +1,18 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Api\Exception; + +interface ServerException extends ApiException +{ +} diff --git a/generated/Exception/UnexpectedStatusCodeException.php b/generated/Exception/UnexpectedStatusCodeException.php new file mode 100644 index 00000000..643bf0be --- /dev/null +++ b/generated/Exception/UnexpectedStatusCodeException.php @@ -0,0 +1,33 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Api\Exception; + +class UnexpectedStatusCodeException extends \RuntimeException implements ClientException, WithResponseInterface +{ + /** + * @var \Symfony\Contracts\HttpClient\ResponseInterface|null + */ + private $response; + + public function __construct($status, $message = '', ?\Symfony\Contracts\HttpClient\ResponseInterface $response = null) + { + parent::__construct($message, $status); + $this->response = $response; + } + + public function getResponse(): ?\Symfony\Contracts\HttpClient\ResponseInterface + { + return $this->response; + } +} diff --git a/generated/Exception/WithResponseInterface.php b/generated/Exception/WithResponseInterface.php new file mode 100644 index 00000000..75b14f2f --- /dev/null +++ b/generated/Exception/WithResponseInterface.php @@ -0,0 +1,19 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Api\Exception; + +interface WithResponseInterface +{ + public function getResponse(): ?\Symfony\Contracts\HttpClient\ResponseInterface; +} diff --git a/generated/Model/AdminAppsApprovePostResponse200.php b/generated/Model/AdminAppsApprovePostResponse200.php index 2342300a..55fb693d 100644 --- a/generated/Model/AdminAppsApprovePostResponse200.php +++ b/generated/Model/AdminAppsApprovePostResponse200.php @@ -19,35 +19,10 @@ class AdminAppsApprovePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsApprovePostResponsedefault.php b/generated/Model/AdminAppsApprovePostResponsedefault.php index 71264b0a..5685cc99 100644 --- a/generated/Model/AdminAppsApprovePostResponsedefault.php +++ b/generated/Model/AdminAppsApprovePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminAppsApprovePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsApprovedListGetResponse200.php b/generated/Model/AdminAppsApprovedListGetResponse200.php index 198f4692..42c28b81 100644 --- a/generated/Model/AdminAppsApprovedListGetResponse200.php +++ b/generated/Model/AdminAppsApprovedListGetResponse200.php @@ -19,35 +19,10 @@ class AdminAppsApprovedListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsApprovedListGetResponsedefault.php b/generated/Model/AdminAppsApprovedListGetResponsedefault.php index 84101c09..4d599b5f 100644 --- a/generated/Model/AdminAppsApprovedListGetResponsedefault.php +++ b/generated/Model/AdminAppsApprovedListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminAppsApprovedListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsRequestsListGetResponse200.php b/generated/Model/AdminAppsRequestsListGetResponse200.php index 2ee08ed5..3cb8e423 100644 --- a/generated/Model/AdminAppsRequestsListGetResponse200.php +++ b/generated/Model/AdminAppsRequestsListGetResponse200.php @@ -19,35 +19,10 @@ class AdminAppsRequestsListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsRequestsListGetResponsedefault.php b/generated/Model/AdminAppsRequestsListGetResponsedefault.php index 81866eb6..76d302cf 100644 --- a/generated/Model/AdminAppsRequestsListGetResponsedefault.php +++ b/generated/Model/AdminAppsRequestsListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminAppsRequestsListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsRestrictPostResponse200.php b/generated/Model/AdminAppsRestrictPostResponse200.php index 07d1575e..f68d273d 100644 --- a/generated/Model/AdminAppsRestrictPostResponse200.php +++ b/generated/Model/AdminAppsRestrictPostResponse200.php @@ -19,35 +19,10 @@ class AdminAppsRestrictPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsRestrictPostResponsedefault.php b/generated/Model/AdminAppsRestrictPostResponsedefault.php index 8edcec8f..8c3b971b 100644 --- a/generated/Model/AdminAppsRestrictPostResponsedefault.php +++ b/generated/Model/AdminAppsRestrictPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminAppsRestrictPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsRestrictedListGetResponse200.php b/generated/Model/AdminAppsRestrictedListGetResponse200.php index 49dfb493..41aed069 100644 --- a/generated/Model/AdminAppsRestrictedListGetResponse200.php +++ b/generated/Model/AdminAppsRestrictedListGetResponse200.php @@ -19,35 +19,10 @@ class AdminAppsRestrictedListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminAppsRestrictedListGetResponsedefault.php b/generated/Model/AdminAppsRestrictedListGetResponsedefault.php index 5ac89872..549845f7 100644 --- a/generated/Model/AdminAppsRestrictedListGetResponsedefault.php +++ b/generated/Model/AdminAppsRestrictedListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminAppsRestrictedListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsArchivePostResponse200.php b/generated/Model/AdminConversationsArchivePostResponse200.php index 6a92f15b..07188d93 100644 --- a/generated/Model/AdminConversationsArchivePostResponse200.php +++ b/generated/Model/AdminConversationsArchivePostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsArchivePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsArchivePostResponsedefault.php b/generated/Model/AdminConversationsArchivePostResponsedefault.php index 407a71da..348e3cf5 100644 --- a/generated/Model/AdminConversationsArchivePostResponsedefault.php +++ b/generated/Model/AdminConversationsArchivePostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsArchivePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsConvertToPrivatePostResponse200.php b/generated/Model/AdminConversationsConvertToPrivatePostResponse200.php index a516c67f..bb2fd4bb 100644 --- a/generated/Model/AdminConversationsConvertToPrivatePostResponse200.php +++ b/generated/Model/AdminConversationsConvertToPrivatePostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsConvertToPrivatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsConvertToPrivatePostResponsedefault.php b/generated/Model/AdminConversationsConvertToPrivatePostResponsedefault.php index 50f69019..8dbf3fa5 100644 --- a/generated/Model/AdminConversationsConvertToPrivatePostResponsedefault.php +++ b/generated/Model/AdminConversationsConvertToPrivatePostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsConvertToPrivatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsCreatePostResponse200.php b/generated/Model/AdminConversationsCreatePostResponse200.php index 5c5fe922..75d02ed0 100644 --- a/generated/Model/AdminConversationsCreatePostResponse200.php +++ b/generated/Model/AdminConversationsCreatePostResponse200.php @@ -15,47 +15,6 @@ class AdminConversationsCreatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channelId; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannelId(): ?string - { - return $this->channelId; - } - - public function setChannelId(?string $channelId): self - { - $this->initialized['channelId'] = true; - $this->channelId = $channelId; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $channelId; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsCreatePostResponsedefault.php b/generated/Model/AdminConversationsCreatePostResponsedefault.php index a265f67f..d5e9ff43 100644 --- a/generated/Model/AdminConversationsCreatePostResponsedefault.php +++ b/generated/Model/AdminConversationsCreatePostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsCreatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsDeletePostResponse200.php b/generated/Model/AdminConversationsDeletePostResponse200.php index db0d3e82..57a5f70b 100644 --- a/generated/Model/AdminConversationsDeletePostResponse200.php +++ b/generated/Model/AdminConversationsDeletePostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsDeletePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsDeletePostResponsedefault.php b/generated/Model/AdminConversationsDeletePostResponsedefault.php index 7a14833b..44cf3103 100644 --- a/generated/Model/AdminConversationsDeletePostResponsedefault.php +++ b/generated/Model/AdminConversationsDeletePostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsDeletePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsDisconnectSharedPostResponse200.php b/generated/Model/AdminConversationsDisconnectSharedPostResponse200.php index 89c20a18..51e2ec18 100644 --- a/generated/Model/AdminConversationsDisconnectSharedPostResponse200.php +++ b/generated/Model/AdminConversationsDisconnectSharedPostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsDisconnectSharedPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsDisconnectSharedPostResponsedefault.php b/generated/Model/AdminConversationsDisconnectSharedPostResponsedefault.php index fb0422f1..53498876 100644 --- a/generated/Model/AdminConversationsDisconnectSharedPostResponsedefault.php +++ b/generated/Model/AdminConversationsDisconnectSharedPostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsDisconnectSharedPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200.php b/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200.php index d4668c6a..08aedf21 100644 --- a/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200.php +++ b/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200.php @@ -19,35 +19,10 @@ class AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault.php b/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault.php index 87842536..b254993f 100644 --- a/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault.php +++ b/generated/Model/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200.php b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200.php index 98dd9e4d..1dc1c634 100644 --- a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200.php +++ b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200.php @@ -15,47 +15,6 @@ class AdminConversationsGetConversationPrefsGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var AdminConversationsGetConversationPrefsGetResponse200Prefs|null - */ - protected $prefs; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPrefs(): ?AdminConversationsGetConversationPrefsGetResponse200Prefs - { - return $this->prefs; - } - - public function setPrefs(?AdminConversationsGetConversationPrefsGetResponse200Prefs $prefs): self - { - $this->initialized['prefs'] = true; - $this->prefs = $prefs; - - return $this; - } + public ?bool $ok; + public ?AdminConversationsGetConversationPrefsGetResponse200Prefs $prefs; } diff --git a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200Prefs.php b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200Prefs.php index 3a69bfb1..c93e8e99 100644 --- a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200Prefs.php +++ b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200Prefs.php @@ -15,47 +15,6 @@ class AdminConversationsGetConversationPrefsGetResponse200Prefs { - /** - * @var array - */ - protected $initialized = []; - /** - * @var AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread|null - */ - protected $canThread; - /** - * @var AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost|null - */ - protected $whoCanPost; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCanThread(): ?AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread - { - return $this->canThread; - } - - public function setCanThread(?AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread $canThread): self - { - $this->initialized['canThread'] = true; - $this->canThread = $canThread; - - return $this; - } - - public function getWhoCanPost(): ?AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost - { - return $this->whoCanPost; - } - - public function setWhoCanPost(?AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost $whoCanPost): self - { - $this->initialized['whoCanPost'] = true; - $this->whoCanPost = $whoCanPost; - - return $this; - } + public ?AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread $canThread; + public ?AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost $whoCanPost; } diff --git a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread.php b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread.php index d1c9d439..094cb571 100644 --- a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread.php +++ b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread.php @@ -15,59 +15,12 @@ class AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $type; + public ?array $type; /** * @var list|null */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getType(): ?array - { - return $this->type; - } - - /** - * @param list|null $type - */ - public function setType(?array $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return list|null - */ - public function getUser(): ?array - { - return $this->user; - } - - /** - * @param list|null $user - */ - public function setUser(?array $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?array $user; } diff --git a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost.php b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost.php index 483a546c..84e9a894 100644 --- a/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost.php +++ b/generated/Model/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost.php @@ -15,59 +15,12 @@ class AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $type; + public ?array $type; /** * @var list|null */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getType(): ?array - { - return $this->type; - } - - /** - * @param list|null $type - */ - public function setType(?array $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return list|null - */ - public function getUser(): ?array - { - return $this->user; - } - - /** - * @param list|null $user - */ - public function setUser(?array $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?array $user; } diff --git a/generated/Model/AdminConversationsGetConversationPrefsGetResponsedefault.php b/generated/Model/AdminConversationsGetConversationPrefsGetResponsedefault.php index 08c64ab7..b8dbbcd0 100644 --- a/generated/Model/AdminConversationsGetConversationPrefsGetResponsedefault.php +++ b/generated/Model/AdminConversationsGetConversationPrefsGetResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsGetConversationPrefsGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsGetTeamsGetResponse200.php b/generated/Model/AdminConversationsGetTeamsGetResponse200.php index a9875e9a..6458503e 100644 --- a/generated/Model/AdminConversationsGetTeamsGetResponse200.php +++ b/generated/Model/AdminConversationsGetTeamsGetResponse200.php @@ -15,70 +15,10 @@ class AdminConversationsGetTeamsGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var AdminConversationsGetTeamsGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; + public ?bool $ok; + public ?AdminConversationsGetTeamsGetResponse200ResponseMetadata $responseMetadata; /** * @var list|null */ - protected $teamIds; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?AdminConversationsGetTeamsGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?AdminConversationsGetTeamsGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } - - /** - * @return list|null - */ - public function getTeamIds(): ?array - { - return $this->teamIds; - } - - /** - * @param list|null $teamIds - */ - public function setTeamIds(?array $teamIds): self - { - $this->initialized['teamIds'] = true; - $this->teamIds = $teamIds; - - return $this; - } + public ?array $teamIds; } diff --git a/generated/Model/AdminConversationsGetTeamsGetResponse200ResponseMetadata.php b/generated/Model/AdminConversationsGetTeamsGetResponse200ResponseMetadata.php index 548f139f..7a678f5d 100644 --- a/generated/Model/AdminConversationsGetTeamsGetResponse200ResponseMetadata.php +++ b/generated/Model/AdminConversationsGetTeamsGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class AdminConversationsGetTeamsGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/AdminConversationsGetTeamsGetResponsedefault.php b/generated/Model/AdminConversationsGetTeamsGetResponsedefault.php index 2b5bc2a3..53ac1a8d 100644 --- a/generated/Model/AdminConversationsGetTeamsGetResponsedefault.php +++ b/generated/Model/AdminConversationsGetTeamsGetResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsGetTeamsGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsInvitePostResponse200.php b/generated/Model/AdminConversationsInvitePostResponse200.php index 0d3a72f7..55057f5c 100644 --- a/generated/Model/AdminConversationsInvitePostResponse200.php +++ b/generated/Model/AdminConversationsInvitePostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsInvitePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsInvitePostResponsedefault.php b/generated/Model/AdminConversationsInvitePostResponsedefault.php index 80898d4b..38005290 100644 --- a/generated/Model/AdminConversationsInvitePostResponsedefault.php +++ b/generated/Model/AdminConversationsInvitePostResponsedefault.php @@ -19,52 +19,11 @@ class AdminConversationsInvitePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; public function definedProperties(): array { - return ['error' => ['error', 'getError', 'setError'], 'ok' => ['ok', 'getOk', 'setOk']]; + return ['error' => 'error', 'ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsRenamePostResponse200.php b/generated/Model/AdminConversationsRenamePostResponse200.php index d01e9899..e46c16bf 100644 --- a/generated/Model/AdminConversationsRenamePostResponse200.php +++ b/generated/Model/AdminConversationsRenamePostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsRenamePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsRenamePostResponsedefault.php b/generated/Model/AdminConversationsRenamePostResponsedefault.php index 6ef77cae..04999fcc 100644 --- a/generated/Model/AdminConversationsRenamePostResponsedefault.php +++ b/generated/Model/AdminConversationsRenamePostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsRenamePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponse200.php b/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponse200.php index f4d05cd8..43967012 100644 --- a/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponse200.php +++ b/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponse200.php @@ -19,35 +19,10 @@ class AdminConversationsRestrictAccessAddGroupPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponsedefault.php b/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponsedefault.php index 4004fe8b..103c4548 100644 --- a/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponsedefault.php +++ b/generated/Model/AdminConversationsRestrictAccessAddGroupPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminConversationsRestrictAccessAddGroupPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponse200.php b/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponse200.php index 9fe33e30..c7b95bf1 100644 --- a/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponse200.php +++ b/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponse200.php @@ -19,35 +19,10 @@ class AdminConversationsRestrictAccessListGroupsGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponsedefault.php b/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponsedefault.php index 9b1ed51c..24b6651e 100644 --- a/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponsedefault.php +++ b/generated/Model/AdminConversationsRestrictAccessListGroupsGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminConversationsRestrictAccessListGroupsGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponse200.php b/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponse200.php index fa993aca..5be5464d 100644 --- a/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponse200.php +++ b/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponse200.php @@ -19,35 +19,10 @@ class AdminConversationsRestrictAccessRemoveGroupPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponsedefault.php b/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponsedefault.php index 8a0481b7..b4b79def 100644 --- a/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponsedefault.php +++ b/generated/Model/AdminConversationsRestrictAccessRemoveGroupPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminConversationsRestrictAccessRemoveGroupPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsSearchGetResponse200.php b/generated/Model/AdminConversationsSearchGetResponse200.php index 0a4698cb..d66b1334 100644 --- a/generated/Model/AdminConversationsSearchGetResponse200.php +++ b/generated/Model/AdminConversationsSearchGetResponse200.php @@ -15,53 +15,9 @@ class AdminConversationsSearchGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $channels; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getChannels(): ?array - { - return $this->channels; - } - - /** - * @param list|null $channels - */ - public function setChannels(?array $channels): self - { - $this->initialized['channels'] = true; - $this->channels = $channels; - - return $this; - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?array $channels; + public ?string $nextCursor; } diff --git a/generated/Model/AdminConversationsSearchGetResponsedefault.php b/generated/Model/AdminConversationsSearchGetResponsedefault.php index d03519e7..185faa35 100644 --- a/generated/Model/AdminConversationsSearchGetResponsedefault.php +++ b/generated/Model/AdminConversationsSearchGetResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsSearchGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsSetConversationPrefsPostResponse200.php b/generated/Model/AdminConversationsSetConversationPrefsPostResponse200.php index 1ad3adf9..16477e8f 100644 --- a/generated/Model/AdminConversationsSetConversationPrefsPostResponse200.php +++ b/generated/Model/AdminConversationsSetConversationPrefsPostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsSetConversationPrefsPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsSetConversationPrefsPostResponsedefault.php b/generated/Model/AdminConversationsSetConversationPrefsPostResponsedefault.php index 28864a64..e7e33b32 100644 --- a/generated/Model/AdminConversationsSetConversationPrefsPostResponsedefault.php +++ b/generated/Model/AdminConversationsSetConversationPrefsPostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsSetConversationPrefsPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsSetTeamsPostResponse200.php b/generated/Model/AdminConversationsSetTeamsPostResponse200.php index 2ea98fd1..728fd1a6 100644 --- a/generated/Model/AdminConversationsSetTeamsPostResponse200.php +++ b/generated/Model/AdminConversationsSetTeamsPostResponse200.php @@ -19,35 +19,10 @@ class AdminConversationsSetTeamsPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsSetTeamsPostResponsedefault.php b/generated/Model/AdminConversationsSetTeamsPostResponsedefault.php index bc45c2e7..73adb5e2 100644 --- a/generated/Model/AdminConversationsSetTeamsPostResponsedefault.php +++ b/generated/Model/AdminConversationsSetTeamsPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminConversationsSetTeamsPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminConversationsUnarchivePostResponse200.php b/generated/Model/AdminConversationsUnarchivePostResponse200.php index c1601adc..2e972d35 100644 --- a/generated/Model/AdminConversationsUnarchivePostResponse200.php +++ b/generated/Model/AdminConversationsUnarchivePostResponse200.php @@ -15,30 +15,5 @@ class AdminConversationsUnarchivePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AdminConversationsUnarchivePostResponsedefault.php b/generated/Model/AdminConversationsUnarchivePostResponsedefault.php index 75849fac..a5338e5a 100644 --- a/generated/Model/AdminConversationsUnarchivePostResponsedefault.php +++ b/generated/Model/AdminConversationsUnarchivePostResponsedefault.php @@ -15,47 +15,6 @@ class AdminConversationsUnarchivePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AdminEmojiAddAliasPostResponse200.php b/generated/Model/AdminEmojiAddAliasPostResponse200.php index fe896e9d..388e5c0a 100644 --- a/generated/Model/AdminEmojiAddAliasPostResponse200.php +++ b/generated/Model/AdminEmojiAddAliasPostResponse200.php @@ -19,35 +19,10 @@ class AdminEmojiAddAliasPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiAddAliasPostResponsedefault.php b/generated/Model/AdminEmojiAddAliasPostResponsedefault.php index 17c573f0..2ed589a0 100644 --- a/generated/Model/AdminEmojiAddAliasPostResponsedefault.php +++ b/generated/Model/AdminEmojiAddAliasPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminEmojiAddAliasPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiAddPostResponse200.php b/generated/Model/AdminEmojiAddPostResponse200.php index 36e32165..93f9a45b 100644 --- a/generated/Model/AdminEmojiAddPostResponse200.php +++ b/generated/Model/AdminEmojiAddPostResponse200.php @@ -19,35 +19,10 @@ class AdminEmojiAddPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiAddPostResponsedefault.php b/generated/Model/AdminEmojiAddPostResponsedefault.php index 483269fd..597d3ff3 100644 --- a/generated/Model/AdminEmojiAddPostResponsedefault.php +++ b/generated/Model/AdminEmojiAddPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminEmojiAddPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiListGetResponse200.php b/generated/Model/AdminEmojiListGetResponse200.php index 9f5a2aaf..94e59e73 100644 --- a/generated/Model/AdminEmojiListGetResponse200.php +++ b/generated/Model/AdminEmojiListGetResponse200.php @@ -19,35 +19,10 @@ class AdminEmojiListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiListGetResponsedefault.php b/generated/Model/AdminEmojiListGetResponsedefault.php index 6dc2d8f6..1c832bd3 100644 --- a/generated/Model/AdminEmojiListGetResponsedefault.php +++ b/generated/Model/AdminEmojiListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminEmojiListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiRemovePostResponse200.php b/generated/Model/AdminEmojiRemovePostResponse200.php index 0bec2f08..08236edc 100644 --- a/generated/Model/AdminEmojiRemovePostResponse200.php +++ b/generated/Model/AdminEmojiRemovePostResponse200.php @@ -19,35 +19,10 @@ class AdminEmojiRemovePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiRemovePostResponsedefault.php b/generated/Model/AdminEmojiRemovePostResponsedefault.php index 6f29361e..c08c8fed 100644 --- a/generated/Model/AdminEmojiRemovePostResponsedefault.php +++ b/generated/Model/AdminEmojiRemovePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminEmojiRemovePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiRenamePostResponse200.php b/generated/Model/AdminEmojiRenamePostResponse200.php index 03aca0ca..f1b89b7b 100644 --- a/generated/Model/AdminEmojiRenamePostResponse200.php +++ b/generated/Model/AdminEmojiRenamePostResponse200.php @@ -19,35 +19,10 @@ class AdminEmojiRenamePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminEmojiRenamePostResponsedefault.php b/generated/Model/AdminEmojiRenamePostResponsedefault.php index 787b83c7..9feead81 100644 --- a/generated/Model/AdminEmojiRenamePostResponsedefault.php +++ b/generated/Model/AdminEmojiRenamePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminEmojiRenamePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsApprovePostResponse200.php b/generated/Model/AdminInviteRequestsApprovePostResponse200.php index d7148d0b..99ba8f8f 100644 --- a/generated/Model/AdminInviteRequestsApprovePostResponse200.php +++ b/generated/Model/AdminInviteRequestsApprovePostResponse200.php @@ -19,35 +19,10 @@ class AdminInviteRequestsApprovePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsApprovePostResponsedefault.php b/generated/Model/AdminInviteRequestsApprovePostResponsedefault.php index 1ec2b19f..d2010cd4 100644 --- a/generated/Model/AdminInviteRequestsApprovePostResponsedefault.php +++ b/generated/Model/AdminInviteRequestsApprovePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminInviteRequestsApprovePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsApprovedListGetResponse200.php b/generated/Model/AdminInviteRequestsApprovedListGetResponse200.php index 653458db..7dee3007 100644 --- a/generated/Model/AdminInviteRequestsApprovedListGetResponse200.php +++ b/generated/Model/AdminInviteRequestsApprovedListGetResponse200.php @@ -19,35 +19,10 @@ class AdminInviteRequestsApprovedListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsApprovedListGetResponsedefault.php b/generated/Model/AdminInviteRequestsApprovedListGetResponsedefault.php index 5757752a..b6cdac14 100644 --- a/generated/Model/AdminInviteRequestsApprovedListGetResponsedefault.php +++ b/generated/Model/AdminInviteRequestsApprovedListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminInviteRequestsApprovedListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsDeniedListGetResponse200.php b/generated/Model/AdminInviteRequestsDeniedListGetResponse200.php index 99eeef09..41c98906 100644 --- a/generated/Model/AdminInviteRequestsDeniedListGetResponse200.php +++ b/generated/Model/AdminInviteRequestsDeniedListGetResponse200.php @@ -19,35 +19,10 @@ class AdminInviteRequestsDeniedListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsDeniedListGetResponsedefault.php b/generated/Model/AdminInviteRequestsDeniedListGetResponsedefault.php index 06f7cfe5..3fe7afb7 100644 --- a/generated/Model/AdminInviteRequestsDeniedListGetResponsedefault.php +++ b/generated/Model/AdminInviteRequestsDeniedListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminInviteRequestsDeniedListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsDenyPostResponse200.php b/generated/Model/AdminInviteRequestsDenyPostResponse200.php index f137417d..e63165ac 100644 --- a/generated/Model/AdminInviteRequestsDenyPostResponse200.php +++ b/generated/Model/AdminInviteRequestsDenyPostResponse200.php @@ -19,35 +19,10 @@ class AdminInviteRequestsDenyPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsDenyPostResponsedefault.php b/generated/Model/AdminInviteRequestsDenyPostResponsedefault.php index 12cabe85..48bf58f5 100644 --- a/generated/Model/AdminInviteRequestsDenyPostResponsedefault.php +++ b/generated/Model/AdminInviteRequestsDenyPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminInviteRequestsDenyPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsListGetResponse200.php b/generated/Model/AdminInviteRequestsListGetResponse200.php index 28f2d4f3..2bb22029 100644 --- a/generated/Model/AdminInviteRequestsListGetResponse200.php +++ b/generated/Model/AdminInviteRequestsListGetResponse200.php @@ -19,35 +19,10 @@ class AdminInviteRequestsListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminInviteRequestsListGetResponsedefault.php b/generated/Model/AdminInviteRequestsListGetResponsedefault.php index 2b1b7bb2..9b75784d 100644 --- a/generated/Model/AdminInviteRequestsListGetResponsedefault.php +++ b/generated/Model/AdminInviteRequestsListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminInviteRequestsListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsAdminsListGetResponse200.php b/generated/Model/AdminTeamsAdminsListGetResponse200.php index d674153e..9c91a17c 100644 --- a/generated/Model/AdminTeamsAdminsListGetResponse200.php +++ b/generated/Model/AdminTeamsAdminsListGetResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsAdminsListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsAdminsListGetResponsedefault.php b/generated/Model/AdminTeamsAdminsListGetResponsedefault.php index 4fc88dab..0b2b9f1a 100644 --- a/generated/Model/AdminTeamsAdminsListGetResponsedefault.php +++ b/generated/Model/AdminTeamsAdminsListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsAdminsListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsCreatePostResponse200.php b/generated/Model/AdminTeamsCreatePostResponse200.php index f02f7b76..7dbb3536 100644 --- a/generated/Model/AdminTeamsCreatePostResponse200.php +++ b/generated/Model/AdminTeamsCreatePostResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsCreatePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsCreatePostResponsedefault.php b/generated/Model/AdminTeamsCreatePostResponsedefault.php index 8aad7610..d54efe6f 100644 --- a/generated/Model/AdminTeamsCreatePostResponsedefault.php +++ b/generated/Model/AdminTeamsCreatePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsCreatePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsListGetResponse200.php b/generated/Model/AdminTeamsListGetResponse200.php index 418604c1..fd2f84f8 100644 --- a/generated/Model/AdminTeamsListGetResponse200.php +++ b/generated/Model/AdminTeamsListGetResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsListGetResponsedefault.php b/generated/Model/AdminTeamsListGetResponsedefault.php index f6e78d92..6bc39345 100644 --- a/generated/Model/AdminTeamsListGetResponsedefault.php +++ b/generated/Model/AdminTeamsListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsOwnersListGetResponse200.php b/generated/Model/AdminTeamsOwnersListGetResponse200.php index 55e9872b..4df392d0 100644 --- a/generated/Model/AdminTeamsOwnersListGetResponse200.php +++ b/generated/Model/AdminTeamsOwnersListGetResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsOwnersListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsOwnersListGetResponsedefault.php b/generated/Model/AdminTeamsOwnersListGetResponsedefault.php index 0a7bdb51..0fadc12a 100644 --- a/generated/Model/AdminTeamsOwnersListGetResponsedefault.php +++ b/generated/Model/AdminTeamsOwnersListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsOwnersListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsInfoGetResponse200.php b/generated/Model/AdminTeamsSettingsInfoGetResponse200.php index 192e2238..e90d08cf 100644 --- a/generated/Model/AdminTeamsSettingsInfoGetResponse200.php +++ b/generated/Model/AdminTeamsSettingsInfoGetResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsInfoGetResponsedefault.php b/generated/Model/AdminTeamsSettingsInfoGetResponsedefault.php index 18012659..cec2a9e5 100644 --- a/generated/Model/AdminTeamsSettingsInfoGetResponsedefault.php +++ b/generated/Model/AdminTeamsSettingsInfoGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsInfoGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponse200.php b/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponse200.php index ca1a21e2..f562c3c1 100644 --- a/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponse200.php +++ b/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetDefaultChannelsPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponsedefault.php b/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponsedefault.php index 146f2c54..e83a7279 100644 --- a/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponsedefault.php +++ b/generated/Model/AdminTeamsSettingsSetDefaultChannelsPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetDefaultChannelsPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetDescriptionPostResponse200.php b/generated/Model/AdminTeamsSettingsSetDescriptionPostResponse200.php index f65a5ccf..88b4ff3b 100644 --- a/generated/Model/AdminTeamsSettingsSetDescriptionPostResponse200.php +++ b/generated/Model/AdminTeamsSettingsSetDescriptionPostResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetDescriptionPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetDescriptionPostResponsedefault.php b/generated/Model/AdminTeamsSettingsSetDescriptionPostResponsedefault.php index 70210041..09e42998 100644 --- a/generated/Model/AdminTeamsSettingsSetDescriptionPostResponsedefault.php +++ b/generated/Model/AdminTeamsSettingsSetDescriptionPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetDescriptionPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponse200.php b/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponse200.php index f28528fb..46605197 100644 --- a/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponse200.php +++ b/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetDiscoverabilityPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponsedefault.php b/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponsedefault.php index 1e7b27dc..1f03a47c 100644 --- a/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponsedefault.php +++ b/generated/Model/AdminTeamsSettingsSetDiscoverabilityPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetDiscoverabilityPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetIconPostResponse200.php b/generated/Model/AdminTeamsSettingsSetIconPostResponse200.php index bbf96a07..3dfcc292 100644 --- a/generated/Model/AdminTeamsSettingsSetIconPostResponse200.php +++ b/generated/Model/AdminTeamsSettingsSetIconPostResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetIconPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetIconPostResponsedefault.php b/generated/Model/AdminTeamsSettingsSetIconPostResponsedefault.php index 55fc33fb..840f23dc 100644 --- a/generated/Model/AdminTeamsSettingsSetIconPostResponsedefault.php +++ b/generated/Model/AdminTeamsSettingsSetIconPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetIconPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetNamePostResponse200.php b/generated/Model/AdminTeamsSettingsSetNamePostResponse200.php index b1b73764..b7c5d185 100644 --- a/generated/Model/AdminTeamsSettingsSetNamePostResponse200.php +++ b/generated/Model/AdminTeamsSettingsSetNamePostResponse200.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetNamePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminTeamsSettingsSetNamePostResponsedefault.php b/generated/Model/AdminTeamsSettingsSetNamePostResponsedefault.php index eb4ddb6c..fb7e4de8 100644 --- a/generated/Model/AdminTeamsSettingsSetNamePostResponsedefault.php +++ b/generated/Model/AdminTeamsSettingsSetNamePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminTeamsSettingsSetNamePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsAddChannelsPostResponse200.php b/generated/Model/AdminUsergroupsAddChannelsPostResponse200.php index 80ecc81f..8a7c34ea 100644 --- a/generated/Model/AdminUsergroupsAddChannelsPostResponse200.php +++ b/generated/Model/AdminUsergroupsAddChannelsPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsergroupsAddChannelsPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsAddChannelsPostResponsedefault.php b/generated/Model/AdminUsergroupsAddChannelsPostResponsedefault.php index ebae972a..b682ec64 100644 --- a/generated/Model/AdminUsergroupsAddChannelsPostResponsedefault.php +++ b/generated/Model/AdminUsergroupsAddChannelsPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsergroupsAddChannelsPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsAddTeamsPostResponse200.php b/generated/Model/AdminUsergroupsAddTeamsPostResponse200.php index 7db4cfd2..df028818 100644 --- a/generated/Model/AdminUsergroupsAddTeamsPostResponse200.php +++ b/generated/Model/AdminUsergroupsAddTeamsPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsergroupsAddTeamsPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsAddTeamsPostResponsedefault.php b/generated/Model/AdminUsergroupsAddTeamsPostResponsedefault.php index 1eaed617..c3b82111 100644 --- a/generated/Model/AdminUsergroupsAddTeamsPostResponsedefault.php +++ b/generated/Model/AdminUsergroupsAddTeamsPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsergroupsAddTeamsPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsListChannelsGetResponse200.php b/generated/Model/AdminUsergroupsListChannelsGetResponse200.php index 989709f3..0f2b17fe 100644 --- a/generated/Model/AdminUsergroupsListChannelsGetResponse200.php +++ b/generated/Model/AdminUsergroupsListChannelsGetResponse200.php @@ -19,35 +19,10 @@ class AdminUsergroupsListChannelsGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsListChannelsGetResponsedefault.php b/generated/Model/AdminUsergroupsListChannelsGetResponsedefault.php index 450874dc..d9757b5b 100644 --- a/generated/Model/AdminUsergroupsListChannelsGetResponsedefault.php +++ b/generated/Model/AdminUsergroupsListChannelsGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsergroupsListChannelsGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsRemoveChannelsPostResponse200.php b/generated/Model/AdminUsergroupsRemoveChannelsPostResponse200.php index 469ad880..5ddf9527 100644 --- a/generated/Model/AdminUsergroupsRemoveChannelsPostResponse200.php +++ b/generated/Model/AdminUsergroupsRemoveChannelsPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsergroupsRemoveChannelsPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsergroupsRemoveChannelsPostResponsedefault.php b/generated/Model/AdminUsergroupsRemoveChannelsPostResponsedefault.php index e5333af6..3d72a135 100644 --- a/generated/Model/AdminUsergroupsRemoveChannelsPostResponsedefault.php +++ b/generated/Model/AdminUsergroupsRemoveChannelsPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsergroupsRemoveChannelsPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersAssignPostResponse200.php b/generated/Model/AdminUsersAssignPostResponse200.php index 208092e8..d3abd1db 100644 --- a/generated/Model/AdminUsersAssignPostResponse200.php +++ b/generated/Model/AdminUsersAssignPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersAssignPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersAssignPostResponsedefault.php b/generated/Model/AdminUsersAssignPostResponsedefault.php index 95985ac0..273aa106 100644 --- a/generated/Model/AdminUsersAssignPostResponsedefault.php +++ b/generated/Model/AdminUsersAssignPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersAssignPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersInvitePostResponse200.php b/generated/Model/AdminUsersInvitePostResponse200.php index 40c1db14..eed54895 100644 --- a/generated/Model/AdminUsersInvitePostResponse200.php +++ b/generated/Model/AdminUsersInvitePostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersInvitePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersInvitePostResponsedefault.php b/generated/Model/AdminUsersInvitePostResponsedefault.php index 4d702ece..cae353ff 100644 --- a/generated/Model/AdminUsersInvitePostResponsedefault.php +++ b/generated/Model/AdminUsersInvitePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersInvitePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersListGetResponse200.php b/generated/Model/AdminUsersListGetResponse200.php index 601780b0..1ebdba87 100644 --- a/generated/Model/AdminUsersListGetResponse200.php +++ b/generated/Model/AdminUsersListGetResponse200.php @@ -19,35 +19,10 @@ class AdminUsersListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersListGetResponsedefault.php b/generated/Model/AdminUsersListGetResponsedefault.php index 37ded869..a3ca8f18 100644 --- a/generated/Model/AdminUsersListGetResponsedefault.php +++ b/generated/Model/AdminUsersListGetResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersRemovePostResponse200.php b/generated/Model/AdminUsersRemovePostResponse200.php index 7625a10b..8904ddb2 100644 --- a/generated/Model/AdminUsersRemovePostResponse200.php +++ b/generated/Model/AdminUsersRemovePostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersRemovePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersRemovePostResponsedefault.php b/generated/Model/AdminUsersRemovePostResponsedefault.php index 7e8b19ec..8c872059 100644 --- a/generated/Model/AdminUsersRemovePostResponsedefault.php +++ b/generated/Model/AdminUsersRemovePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersRemovePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSessionInvalidatePostResponse200.php b/generated/Model/AdminUsersSessionInvalidatePostResponse200.php index ee6be3b6..255530df 100644 --- a/generated/Model/AdminUsersSessionInvalidatePostResponse200.php +++ b/generated/Model/AdminUsersSessionInvalidatePostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersSessionInvalidatePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSessionInvalidatePostResponsedefault.php b/generated/Model/AdminUsersSessionInvalidatePostResponsedefault.php index 39ca9df4..6416d42d 100644 --- a/generated/Model/AdminUsersSessionInvalidatePostResponsedefault.php +++ b/generated/Model/AdminUsersSessionInvalidatePostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersSessionInvalidatePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSessionResetPostResponse200.php b/generated/Model/AdminUsersSessionResetPostResponse200.php index 3315ada1..832e6875 100644 --- a/generated/Model/AdminUsersSessionResetPostResponse200.php +++ b/generated/Model/AdminUsersSessionResetPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersSessionResetPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSessionResetPostResponsedefault.php b/generated/Model/AdminUsersSessionResetPostResponsedefault.php index 4913be87..3bb5aa14 100644 --- a/generated/Model/AdminUsersSessionResetPostResponsedefault.php +++ b/generated/Model/AdminUsersSessionResetPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersSessionResetPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetAdminPostResponse200.php b/generated/Model/AdminUsersSetAdminPostResponse200.php index a6bd706a..ef91f6b1 100644 --- a/generated/Model/AdminUsersSetAdminPostResponse200.php +++ b/generated/Model/AdminUsersSetAdminPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersSetAdminPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetAdminPostResponsedefault.php b/generated/Model/AdminUsersSetAdminPostResponsedefault.php index a25d50a6..d3218265 100644 --- a/generated/Model/AdminUsersSetAdminPostResponsedefault.php +++ b/generated/Model/AdminUsersSetAdminPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersSetAdminPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetExpirationPostResponse200.php b/generated/Model/AdminUsersSetExpirationPostResponse200.php index f43d4d26..a2233042 100644 --- a/generated/Model/AdminUsersSetExpirationPostResponse200.php +++ b/generated/Model/AdminUsersSetExpirationPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersSetExpirationPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetExpirationPostResponsedefault.php b/generated/Model/AdminUsersSetExpirationPostResponsedefault.php index 43d6c544..0632a6bd 100644 --- a/generated/Model/AdminUsersSetExpirationPostResponsedefault.php +++ b/generated/Model/AdminUsersSetExpirationPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersSetExpirationPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetOwnerPostResponse200.php b/generated/Model/AdminUsersSetOwnerPostResponse200.php index b5fec987..13b58762 100644 --- a/generated/Model/AdminUsersSetOwnerPostResponse200.php +++ b/generated/Model/AdminUsersSetOwnerPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersSetOwnerPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetOwnerPostResponsedefault.php b/generated/Model/AdminUsersSetOwnerPostResponsedefault.php index dc1b3aca..3d0de58c 100644 --- a/generated/Model/AdminUsersSetOwnerPostResponsedefault.php +++ b/generated/Model/AdminUsersSetOwnerPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersSetOwnerPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetRegularPostResponse200.php b/generated/Model/AdminUsersSetRegularPostResponse200.php index cddef997..aaae5fd5 100644 --- a/generated/Model/AdminUsersSetRegularPostResponse200.php +++ b/generated/Model/AdminUsersSetRegularPostResponse200.php @@ -19,35 +19,10 @@ class AdminUsersSetRegularPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AdminUsersSetRegularPostResponsedefault.php b/generated/Model/AdminUsersSetRegularPostResponsedefault.php index a00357e8..565c295c 100644 --- a/generated/Model/AdminUsersSetRegularPostResponsedefault.php +++ b/generated/Model/AdminUsersSetRegularPostResponsedefault.php @@ -19,35 +19,10 @@ class AdminUsersSetRegularPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ApiTestGetResponse200.php b/generated/Model/ApiTestGetResponse200.php index aad12a5d..b3ffee5d 100644 --- a/generated/Model/ApiTestGetResponse200.php +++ b/generated/Model/ApiTestGetResponse200.php @@ -19,52 +19,14 @@ class ApiTestGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; /** * @var mixed|null */ - protected $args; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getArgs() - { - return $this->args; - } - - public function setArgs($args): self - { - $this->initialized['args'] = true; - $this->args = $args; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public $args; + public ?bool $ok; public function definedProperties(): array { - return ['args' => ['args', 'getArgs', 'setArgs'], 'ok' => ['ok', 'getOk', 'setOk']]; + return ['args' => 'args', 'ok' => 'ok']; } } diff --git a/generated/Model/ApiTestGetResponsedefault.php b/generated/Model/ApiTestGetResponsedefault.php index 70b66004..239f9a0a 100644 --- a/generated/Model/ApiTestGetResponsedefault.php +++ b/generated/Model/ApiTestGetResponsedefault.php @@ -19,69 +19,15 @@ class ApiTestGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; /** * @var mixed|null */ - protected $args; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getArgs() - { - return $this->args; - } - - public function setArgs($args): self - { - $this->initialized['args'] = true; - $this->args = $args; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public $args; + public ?string $error; + public ?bool $ok; public function definedProperties(): array { - return ['args' => ['args', 'getArgs', 'setArgs'], 'error' => ['error', 'getError', 'setError'], 'ok' => ['ok', 'getOk', 'setOk']]; + return ['args' => 'args', 'error' => 'error', 'ok' => 'ok']; } } diff --git a/generated/Model/AppsEventAuthorizationsListGetResponse200.php b/generated/Model/AppsEventAuthorizationsListGetResponse200.php index e4ea7ad9..7ed69521 100644 --- a/generated/Model/AppsEventAuthorizationsListGetResponse200.php +++ b/generated/Model/AppsEventAuthorizationsListGetResponse200.php @@ -19,35 +19,10 @@ class AppsEventAuthorizationsListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AppsEventAuthorizationsListGetResponsedefault.php b/generated/Model/AppsEventAuthorizationsListGetResponsedefault.php index 5f80c17c..87ccb569 100644 --- a/generated/Model/AppsEventAuthorizationsListGetResponsedefault.php +++ b/generated/Model/AppsEventAuthorizationsListGetResponsedefault.php @@ -19,35 +19,10 @@ class AppsEventAuthorizationsListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200.php b/generated/Model/AppsPermissionsInfoGetResponse200.php index 9a4495a4..a63031d4 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200.php @@ -15,47 +15,6 @@ class AppsPermissionsInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var AppsPermissionsInfoGetResponse200Info|null - */ - protected $info; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getInfo(): ?AppsPermissionsInfoGetResponse200Info - { - return $this->info; - } - - public function setInfo(?AppsPermissionsInfoGetResponse200Info $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?AppsPermissionsInfoGetResponse200Info $info; + public ?bool $ok; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200Info.php b/generated/Model/AppsPermissionsInfoGetResponse200Info.php index 75f18716..564d9dc3 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200Info.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200Info.php @@ -15,115 +15,10 @@ class AppsPermissionsInfoGetResponse200Info { - /** - * @var array - */ - protected $initialized = []; - /** - * @var AppsPermissionsInfoGetResponse200InfoAppHome|null - */ - protected $appHome; - /** - * @var AppsPermissionsInfoGetResponse200InfoChannel|null - */ - protected $channel; - /** - * @var AppsPermissionsInfoGetResponse200InfoGroup|null - */ - protected $group; - /** - * @var AppsPermissionsInfoGetResponse200InfoIm|null - */ - protected $im; - /** - * @var AppsPermissionsInfoGetResponse200InfoMpim|null - */ - protected $mpim; - /** - * @var AppsPermissionsInfoGetResponse200InfoTeam|null - */ - protected $team; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAppHome(): ?AppsPermissionsInfoGetResponse200InfoAppHome - { - return $this->appHome; - } - - public function setAppHome(?AppsPermissionsInfoGetResponse200InfoAppHome $appHome): self - { - $this->initialized['appHome'] = true; - $this->appHome = $appHome; - - return $this; - } - - public function getChannel(): ?AppsPermissionsInfoGetResponse200InfoChannel - { - return $this->channel; - } - - public function setChannel(?AppsPermissionsInfoGetResponse200InfoChannel $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getGroup(): ?AppsPermissionsInfoGetResponse200InfoGroup - { - return $this->group; - } - - public function setGroup(?AppsPermissionsInfoGetResponse200InfoGroup $group): self - { - $this->initialized['group'] = true; - $this->group = $group; - - return $this; - } - - public function getIm(): ?AppsPermissionsInfoGetResponse200InfoIm - { - return $this->im; - } - - public function setIm(?AppsPermissionsInfoGetResponse200InfoIm $im): self - { - $this->initialized['im'] = true; - $this->im = $im; - - return $this; - } - - public function getMpim(): ?AppsPermissionsInfoGetResponse200InfoMpim - { - return $this->mpim; - } - - public function setMpim(?AppsPermissionsInfoGetResponse200InfoMpim $mpim): self - { - $this->initialized['mpim'] = true; - $this->mpim = $mpim; - - return $this; - } - - public function getTeam(): ?AppsPermissionsInfoGetResponse200InfoTeam - { - return $this->team; - } - - public function setTeam(?AppsPermissionsInfoGetResponse200InfoTeam $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } + public ?AppsPermissionsInfoGetResponse200InfoAppHome $appHome; + public ?AppsPermissionsInfoGetResponse200InfoChannel $channel; + public ?AppsPermissionsInfoGetResponse200InfoGroup $group; + public ?AppsPermissionsInfoGetResponse200InfoIm $im; + public ?AppsPermissionsInfoGetResponse200InfoMpim $mpim; + public ?AppsPermissionsInfoGetResponse200InfoTeam $team; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200InfoAppHome.php b/generated/Model/AppsPermissionsInfoGetResponse200InfoAppHome.php index 1f389a59..06f38977 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200InfoAppHome.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200InfoAppHome.php @@ -15,53 +15,9 @@ class AppsPermissionsInfoGetResponse200InfoAppHome { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsResources|null - */ - protected $resources; + public ?ObjsResources $resources; /** * @var list|null */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getResources(): ?ObjsResources - { - return $this->resources; - } - - public function setResources(?ObjsResources $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - /** - * @return list|null - */ - public function getScopes(): ?array - { - return $this->scopes; - } - - /** - * @param list|null $scopes - */ - public function setScopes(?array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?array $scopes; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200InfoChannel.php b/generated/Model/AppsPermissionsInfoGetResponse200InfoChannel.php index 11a60619..1716b3bb 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200InfoChannel.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200InfoChannel.php @@ -15,53 +15,9 @@ class AppsPermissionsInfoGetResponse200InfoChannel { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsResources|null - */ - protected $resources; + public ?ObjsResources $resources; /** * @var list|null */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getResources(): ?ObjsResources - { - return $this->resources; - } - - public function setResources(?ObjsResources $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - /** - * @return list|null - */ - public function getScopes(): ?array - { - return $this->scopes; - } - - /** - * @param list|null $scopes - */ - public function setScopes(?array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?array $scopes; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200InfoGroup.php b/generated/Model/AppsPermissionsInfoGetResponse200InfoGroup.php index 06c16f84..fe9a8aca 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200InfoGroup.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200InfoGroup.php @@ -15,53 +15,9 @@ class AppsPermissionsInfoGetResponse200InfoGroup { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsResources|null - */ - protected $resources; + public ?ObjsResources $resources; /** * @var list|null */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getResources(): ?ObjsResources - { - return $this->resources; - } - - public function setResources(?ObjsResources $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - /** - * @return list|null - */ - public function getScopes(): ?array - { - return $this->scopes; - } - - /** - * @param list|null $scopes - */ - public function setScopes(?array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?array $scopes; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200InfoIm.php b/generated/Model/AppsPermissionsInfoGetResponse200InfoIm.php index ac19e8b1..34efb2a3 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200InfoIm.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200InfoIm.php @@ -15,53 +15,9 @@ class AppsPermissionsInfoGetResponse200InfoIm { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsResources|null - */ - protected $resources; + public ?ObjsResources $resources; /** * @var list|null */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getResources(): ?ObjsResources - { - return $this->resources; - } - - public function setResources(?ObjsResources $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - /** - * @return list|null - */ - public function getScopes(): ?array - { - return $this->scopes; - } - - /** - * @param list|null $scopes - */ - public function setScopes(?array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?array $scopes; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200InfoMpim.php b/generated/Model/AppsPermissionsInfoGetResponse200InfoMpim.php index 2aafa0ab..08fccaaa 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200InfoMpim.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200InfoMpim.php @@ -15,53 +15,9 @@ class AppsPermissionsInfoGetResponse200InfoMpim { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsResources|null - */ - protected $resources; + public ?ObjsResources $resources; /** * @var list|null */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getResources(): ?ObjsResources - { - return $this->resources; - } - - public function setResources(?ObjsResources $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - /** - * @return list|null - */ - public function getScopes(): ?array - { - return $this->scopes; - } - - /** - * @param list|null $scopes - */ - public function setScopes(?array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?array $scopes; } diff --git a/generated/Model/AppsPermissionsInfoGetResponse200InfoTeam.php b/generated/Model/AppsPermissionsInfoGetResponse200InfoTeam.php index 833d1611..f11397f4 100644 --- a/generated/Model/AppsPermissionsInfoGetResponse200InfoTeam.php +++ b/generated/Model/AppsPermissionsInfoGetResponse200InfoTeam.php @@ -15,53 +15,9 @@ class AppsPermissionsInfoGetResponse200InfoTeam { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsResources|null - */ - protected $resources; + public ?ObjsResources $resources; /** * @var list|null */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getResources(): ?ObjsResources - { - return $this->resources; - } - - public function setResources(?ObjsResources $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - /** - * @return list|null - */ - public function getScopes(): ?array - { - return $this->scopes; - } - - /** - * @param list|null $scopes - */ - public function setScopes(?array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?array $scopes; } diff --git a/generated/Model/AppsPermissionsInfoGetResponsedefault.php b/generated/Model/AppsPermissionsInfoGetResponsedefault.php index a6cbac09..37918969 100644 --- a/generated/Model/AppsPermissionsInfoGetResponsedefault.php +++ b/generated/Model/AppsPermissionsInfoGetResponsedefault.php @@ -15,72 +15,10 @@ class AppsPermissionsInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AppsPermissionsRequestGetResponse200.php b/generated/Model/AppsPermissionsRequestGetResponse200.php index 8000311f..2598f144 100644 --- a/generated/Model/AppsPermissionsRequestGetResponse200.php +++ b/generated/Model/AppsPermissionsRequestGetResponse200.php @@ -15,30 +15,5 @@ class AppsPermissionsRequestGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AppsPermissionsRequestGetResponsedefault.php b/generated/Model/AppsPermissionsRequestGetResponsedefault.php index 2ecbacd8..6e1f227f 100644 --- a/generated/Model/AppsPermissionsRequestGetResponsedefault.php +++ b/generated/Model/AppsPermissionsRequestGetResponsedefault.php @@ -15,72 +15,10 @@ class AppsPermissionsRequestGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AppsPermissionsResourcesListGetResponse200.php b/generated/Model/AppsPermissionsResourcesListGetResponse200.php index 921766e9..9c27db82 100644 --- a/generated/Model/AppsPermissionsResourcesListGetResponse200.php +++ b/generated/Model/AppsPermissionsResourcesListGetResponse200.php @@ -19,75 +19,15 @@ class AppsPermissionsResourcesListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; + public ?bool $ok; /** * @var list|null */ - protected $resources; - /** - * @var AppsPermissionsResourcesListGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * @return list|null - */ - public function getResources(): ?array - { - return $this->resources; - } - - /** - * @param list|null $resources - */ - public function setResources(?array $resources): self - { - $this->initialized['resources'] = true; - $this->resources = $resources; - - return $this; - } - - public function getResponseMetadata(): ?AppsPermissionsResourcesListGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?AppsPermissionsResourcesListGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $resources; + public ?AppsPermissionsResourcesListGetResponse200ResponseMetadata $responseMetadata; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk'], 'resources' => ['resources', 'getResources', 'setResources'], 'responseMetadata' => ['response_metadata', 'getResponseMetadata', 'setResponseMetadata']]; + return ['ok' => 'ok', 'resources' => 'resources', 'responseMetadata' => 'response_metadata']; } } diff --git a/generated/Model/AppsPermissionsResourcesListGetResponse200ResourcesItem.php b/generated/Model/AppsPermissionsResourcesListGetResponse200ResourcesItem.php index f8ef31ba..3d5b88e5 100644 --- a/generated/Model/AppsPermissionsResourcesListGetResponse200ResourcesItem.php +++ b/generated/Model/AppsPermissionsResourcesListGetResponse200ResourcesItem.php @@ -15,47 +15,6 @@ class AppsPermissionsResourcesListGetResponse200ResourcesItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $id; + public ?string $type; } diff --git a/generated/Model/AppsPermissionsResourcesListGetResponse200ResponseMetadata.php b/generated/Model/AppsPermissionsResourcesListGetResponse200ResponseMetadata.php index 0b6bd2e6..ed88c88b 100644 --- a/generated/Model/AppsPermissionsResourcesListGetResponse200ResponseMetadata.php +++ b/generated/Model/AppsPermissionsResourcesListGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class AppsPermissionsResourcesListGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/AppsPermissionsResourcesListGetResponsedefault.php b/generated/Model/AppsPermissionsResourcesListGetResponsedefault.php index 8e3d1bac..ecc07a27 100644 --- a/generated/Model/AppsPermissionsResourcesListGetResponsedefault.php +++ b/generated/Model/AppsPermissionsResourcesListGetResponsedefault.php @@ -15,72 +15,10 @@ class AppsPermissionsResourcesListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AppsPermissionsScopesListGetResponse200.php b/generated/Model/AppsPermissionsScopesListGetResponse200.php index 61cb7021..c072147f 100644 --- a/generated/Model/AppsPermissionsScopesListGetResponse200.php +++ b/generated/Model/AppsPermissionsScopesListGetResponse200.php @@ -19,52 +19,11 @@ class AppsPermissionsScopesListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var AppsPermissionsScopesListGetResponse200Scopes|null - */ - protected $scopes; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getScopes(): ?AppsPermissionsScopesListGetResponse200Scopes - { - return $this->scopes; - } - - public function setScopes(?AppsPermissionsScopesListGetResponse200Scopes $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } + public ?bool $ok; + public ?AppsPermissionsScopesListGetResponse200Scopes $scopes; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk'], 'scopes' => ['scopes', 'getScopes', 'setScopes']]; + return ['ok' => 'ok', 'scopes' => 'scopes']; } } diff --git a/generated/Model/AppsPermissionsScopesListGetResponse200Scopes.php b/generated/Model/AppsPermissionsScopesListGetResponse200Scopes.php index 53924188..0f591674 100644 --- a/generated/Model/AppsPermissionsScopesListGetResponse200Scopes.php +++ b/generated/Model/AppsPermissionsScopesListGetResponse200Scopes.php @@ -19,179 +19,37 @@ class AppsPermissionsScopesListGetResponse200Scopes implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $appHome; + public ?array $appHome; /** * @var list|null */ - protected $channel; + public ?array $channel; /** * @var list|null */ - protected $group; + public ?array $group; /** * @var list|null */ - protected $im; + public ?array $im; /** * @var list|null */ - protected $mpim; + public ?array $mpim; /** * @var list|null */ - protected $team; + public ?array $team; /** * @var list|null */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getAppHome(): ?array - { - return $this->appHome; - } - - /** - * @param list|null $appHome - */ - public function setAppHome(?array $appHome): self - { - $this->initialized['appHome'] = true; - $this->appHome = $appHome; - - return $this; - } - - /** - * @return list|null - */ - public function getChannel(): ?array - { - return $this->channel; - } - - /** - * @param list|null $channel - */ - public function setChannel(?array $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - /** - * @return list|null - */ - public function getGroup(): ?array - { - return $this->group; - } - - /** - * @param list|null $group - */ - public function setGroup(?array $group): self - { - $this->initialized['group'] = true; - $this->group = $group; - - return $this; - } - - /** - * @return list|null - */ - public function getIm(): ?array - { - return $this->im; - } - - /** - * @param list|null $im - */ - public function setIm(?array $im): self - { - $this->initialized['im'] = true; - $this->im = $im; - - return $this; - } - - /** - * @return list|null - */ - public function getMpim(): ?array - { - return $this->mpim; - } - - /** - * @param list|null $mpim - */ - public function setMpim(?array $mpim): self - { - $this->initialized['mpim'] = true; - $this->mpim = $mpim; - - return $this; - } - - /** - * @return list|null - */ - public function getTeam(): ?array - { - return $this->team; - } - - /** - * @param list|null $team - */ - public function setTeam(?array $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - /** - * @return list|null - */ - public function getUser(): ?array - { - return $this->user; - } - - /** - * @param list|null $user - */ - public function setUser(?array $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?array $user; public function definedProperties(): array { - return ['appHome' => ['app_home', 'getAppHome', 'setAppHome'], 'channel' => ['channel', 'getChannel', 'setChannel'], 'group' => ['group', 'getGroup', 'setGroup'], 'im' => ['im', 'getIm', 'setIm'], 'mpim' => ['mpim', 'getMpim', 'setMpim'], 'team' => ['team', 'getTeam', 'setTeam'], 'user' => ['user', 'getUser', 'setUser']]; + return ['appHome' => 'app_home', 'channel' => 'channel', 'group' => 'group', 'im' => 'im', 'mpim' => 'mpim', 'team' => 'team', 'user' => 'user']; } } diff --git a/generated/Model/AppsPermissionsScopesListGetResponsedefault.php b/generated/Model/AppsPermissionsScopesListGetResponsedefault.php index 0d415f7a..9fb3f904 100644 --- a/generated/Model/AppsPermissionsScopesListGetResponsedefault.php +++ b/generated/Model/AppsPermissionsScopesListGetResponsedefault.php @@ -15,72 +15,10 @@ class AppsPermissionsScopesListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AppsPermissionsUsersListGetResponse200.php b/generated/Model/AppsPermissionsUsersListGetResponse200.php index 6283d892..3c4bef33 100644 --- a/generated/Model/AppsPermissionsUsersListGetResponse200.php +++ b/generated/Model/AppsPermissionsUsersListGetResponse200.php @@ -19,35 +19,10 @@ class AppsPermissionsUsersListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AppsPermissionsUsersListGetResponsedefault.php b/generated/Model/AppsPermissionsUsersListGetResponsedefault.php index 63e147d5..3e5e7071 100644 --- a/generated/Model/AppsPermissionsUsersListGetResponsedefault.php +++ b/generated/Model/AppsPermissionsUsersListGetResponsedefault.php @@ -19,35 +19,10 @@ class AppsPermissionsUsersListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AppsPermissionsUsersRequestGetResponse200.php b/generated/Model/AppsPermissionsUsersRequestGetResponse200.php index 1194e83f..b3445b5e 100644 --- a/generated/Model/AppsPermissionsUsersRequestGetResponse200.php +++ b/generated/Model/AppsPermissionsUsersRequestGetResponse200.php @@ -19,35 +19,10 @@ class AppsPermissionsUsersRequestGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AppsPermissionsUsersRequestGetResponsedefault.php b/generated/Model/AppsPermissionsUsersRequestGetResponsedefault.php index c21d3ea1..ab3ca100 100644 --- a/generated/Model/AppsPermissionsUsersRequestGetResponsedefault.php +++ b/generated/Model/AppsPermissionsUsersRequestGetResponsedefault.php @@ -19,35 +19,10 @@ class AppsPermissionsUsersRequestGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/AppsUninstallGetResponse200.php b/generated/Model/AppsUninstallGetResponse200.php index 38a8964e..8529299e 100644 --- a/generated/Model/AppsUninstallGetResponse200.php +++ b/generated/Model/AppsUninstallGetResponse200.php @@ -15,30 +15,5 @@ class AppsUninstallGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/AppsUninstallGetResponsedefault.php b/generated/Model/AppsUninstallGetResponsedefault.php index 19d94745..498e732d 100644 --- a/generated/Model/AppsUninstallGetResponsedefault.php +++ b/generated/Model/AppsUninstallGetResponsedefault.php @@ -15,72 +15,10 @@ class AppsUninstallGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AuthRevokeGetResponse200.php b/generated/Model/AuthRevokeGetResponse200.php index c0a01a97..78479a3d 100644 --- a/generated/Model/AuthRevokeGetResponse200.php +++ b/generated/Model/AuthRevokeGetResponse200.php @@ -15,47 +15,6 @@ class AuthRevokeGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var bool|null - */ - protected $revoked; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getRevoked(): ?bool - { - return $this->revoked; - } - - public function setRevoked(?bool $revoked): self - { - $this->initialized['revoked'] = true; - $this->revoked = $revoked; - - return $this; - } + public ?bool $ok; + public ?bool $revoked; } diff --git a/generated/Model/AuthRevokeGetResponsedefault.php b/generated/Model/AuthRevokeGetResponsedefault.php index ffbf45dc..28076526 100644 --- a/generated/Model/AuthRevokeGetResponsedefault.php +++ b/generated/Model/AuthRevokeGetResponsedefault.php @@ -15,72 +15,10 @@ class AuthRevokeGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/AuthTestGetResponse200.php b/generated/Model/AuthTestGetResponse200.php index 85b73f19..db69db38 100644 --- a/generated/Model/AuthTestGetResponse200.php +++ b/generated/Model/AuthTestGetResponse200.php @@ -15,149 +15,12 @@ class AuthTestGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $botId; - /** - * @var bool|null - */ - protected $isEnterpriseInstall; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $teamId; - /** - * @var string|null - */ - protected $url; - /** - * @var string|null - */ - protected $user; - /** - * @var string|null - */ - protected $userId; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getBotId(): ?string - { - return $this->botId; - } - - public function setBotId(?string $botId): self - { - $this->initialized['botId'] = true; - $this->botId = $botId; - - return $this; - } - - public function getIsEnterpriseInstall(): ?bool - { - return $this->isEnterpriseInstall; - } - - public function setIsEnterpriseInstall(?bool $isEnterpriseInstall): self - { - $this->initialized['isEnterpriseInstall'] = true; - $this->isEnterpriseInstall = $isEnterpriseInstall; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getTeamId(): ?string - { - return $this->teamId; - } - - public function setTeamId(?string $teamId): self - { - $this->initialized['teamId'] = true; - $this->teamId = $teamId; - - return $this; - } - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getUserId(): ?string - { - return $this->userId; - } - - public function setUserId(?string $userId): self - { - $this->initialized['userId'] = true; - $this->userId = $userId; - - return $this; - } + public ?string $botId; + public ?bool $isEnterpriseInstall; + public ?bool $ok; + public ?string $team; + public ?string $teamId; + public ?string $url; + public ?string $user; + public ?string $userId; } diff --git a/generated/Model/AuthTestGetResponsedefault.php b/generated/Model/AuthTestGetResponsedefault.php index 0a899b35..a7ac979a 100644 --- a/generated/Model/AuthTestGetResponsedefault.php +++ b/generated/Model/AuthTestGetResponsedefault.php @@ -15,72 +15,10 @@ class AuthTestGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/BlocksItem.php b/generated/Model/BlocksItem.php index f27f6e20..93a84a48 100644 --- a/generated/Model/BlocksItem.php +++ b/generated/Model/BlocksItem.php @@ -19,35 +19,10 @@ class BlocksItem implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $type; public function definedProperties(): array { - return ['type' => ['type', 'getType', 'setType']]; + return ['type' => 'type']; } } diff --git a/generated/Model/BotsInfoGetResponse200.php b/generated/Model/BotsInfoGetResponse200.php index 71091147..ae8a7629 100644 --- a/generated/Model/BotsInfoGetResponse200.php +++ b/generated/Model/BotsInfoGetResponse200.php @@ -15,47 +15,6 @@ class BotsInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var BotsInfoGetResponse200Bot|null - */ - protected $bot; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getBot(): ?BotsInfoGetResponse200Bot - { - return $this->bot; - } - - public function setBot(?BotsInfoGetResponse200Bot $bot): self - { - $this->initialized['bot'] = true; - $this->bot = $bot; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?BotsInfoGetResponse200Bot $bot; + public ?bool $ok; } diff --git a/generated/Model/BotsInfoGetResponse200Bot.php b/generated/Model/BotsInfoGetResponse200Bot.php index 543c54e5..c4678dc9 100644 --- a/generated/Model/BotsInfoGetResponse200Bot.php +++ b/generated/Model/BotsInfoGetResponse200Bot.php @@ -15,132 +15,11 @@ class BotsInfoGetResponse200Bot { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $appId; - /** - * @var bool|null - */ - protected $deleted; - /** - * @var BotsInfoGetResponse200BotIcons|null - */ - protected $icons; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var int|null - */ - protected $updated; - /** - * @var string|null - */ - protected $userId; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAppId(): ?string - { - return $this->appId; - } - - public function setAppId(?string $appId): self - { - $this->initialized['appId'] = true; - $this->appId = $appId; - - return $this; - } - - public function getDeleted(): ?bool - { - return $this->deleted; - } - - public function setDeleted(?bool $deleted): self - { - $this->initialized['deleted'] = true; - $this->deleted = $deleted; - - return $this; - } - - public function getIcons(): ?BotsInfoGetResponse200BotIcons - { - return $this->icons; - } - - public function setIcons(?BotsInfoGetResponse200BotIcons $icons): self - { - $this->initialized['icons'] = true; - $this->icons = $icons; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getUpdated(): ?int - { - return $this->updated; - } - - public function setUpdated(?int $updated): self - { - $this->initialized['updated'] = true; - $this->updated = $updated; - - return $this; - } - - public function getUserId(): ?string - { - return $this->userId; - } - - public function setUserId(?string $userId): self - { - $this->initialized['userId'] = true; - $this->userId = $userId; - - return $this; - } + public ?string $appId; + public ?bool $deleted; + public ?BotsInfoGetResponse200BotIcons $icons; + public ?string $id; + public ?string $name; + public ?int $updated; + public ?string $userId; } diff --git a/generated/Model/BotsInfoGetResponse200BotIcons.php b/generated/Model/BotsInfoGetResponse200BotIcons.php index 79b2f6b4..0e4051b9 100644 --- a/generated/Model/BotsInfoGetResponse200BotIcons.php +++ b/generated/Model/BotsInfoGetResponse200BotIcons.php @@ -15,64 +15,7 @@ class BotsInfoGetResponse200BotIcons { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $image36; - /** - * @var string|null - */ - protected $image48; - /** - * @var string|null - */ - protected $image72; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getImage36(): ?string - { - return $this->image36; - } - - public function setImage36(?string $image36): self - { - $this->initialized['image36'] = true; - $this->image36 = $image36; - - return $this; - } - - public function getImage48(): ?string - { - return $this->image48; - } - - public function setImage48(?string $image48): self - { - $this->initialized['image48'] = true; - $this->image48 = $image48; - - return $this; - } - - public function getImage72(): ?string - { - return $this->image72; - } - - public function setImage72(?string $image72): self - { - $this->initialized['image72'] = true; - $this->image72 = $image72; - - return $this; - } + public ?string $image36; + public ?string $image48; + public ?string $image72; } diff --git a/generated/Model/BotsInfoGetResponsedefault.php b/generated/Model/BotsInfoGetResponsedefault.php index 469632d6..76cabdb0 100644 --- a/generated/Model/BotsInfoGetResponsedefault.php +++ b/generated/Model/BotsInfoGetResponsedefault.php @@ -15,72 +15,10 @@ class BotsInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/CallsAddPostResponse200.php b/generated/Model/CallsAddPostResponse200.php index 055812d6..1bbf5488 100644 --- a/generated/Model/CallsAddPostResponse200.php +++ b/generated/Model/CallsAddPostResponse200.php @@ -19,35 +19,10 @@ class CallsAddPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsAddPostResponsedefault.php b/generated/Model/CallsAddPostResponsedefault.php index 98baad13..6cd6b29f 100644 --- a/generated/Model/CallsAddPostResponsedefault.php +++ b/generated/Model/CallsAddPostResponsedefault.php @@ -19,35 +19,10 @@ class CallsAddPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsEndPostResponse200.php b/generated/Model/CallsEndPostResponse200.php index 6220d0a0..3c3e1496 100644 --- a/generated/Model/CallsEndPostResponse200.php +++ b/generated/Model/CallsEndPostResponse200.php @@ -19,35 +19,10 @@ class CallsEndPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsEndPostResponsedefault.php b/generated/Model/CallsEndPostResponsedefault.php index 0ac82612..3d395b83 100644 --- a/generated/Model/CallsEndPostResponsedefault.php +++ b/generated/Model/CallsEndPostResponsedefault.php @@ -19,35 +19,10 @@ class CallsEndPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsInfoGetResponse200.php b/generated/Model/CallsInfoGetResponse200.php index 9639a289..f0ab5b97 100644 --- a/generated/Model/CallsInfoGetResponse200.php +++ b/generated/Model/CallsInfoGetResponse200.php @@ -19,35 +19,10 @@ class CallsInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsInfoGetResponsedefault.php b/generated/Model/CallsInfoGetResponsedefault.php index 10742a5e..c136c9e2 100644 --- a/generated/Model/CallsInfoGetResponsedefault.php +++ b/generated/Model/CallsInfoGetResponsedefault.php @@ -19,35 +19,10 @@ class CallsInfoGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsParticipantsAddPostResponse200.php b/generated/Model/CallsParticipantsAddPostResponse200.php index cb05f05a..8da8860b 100644 --- a/generated/Model/CallsParticipantsAddPostResponse200.php +++ b/generated/Model/CallsParticipantsAddPostResponse200.php @@ -19,35 +19,10 @@ class CallsParticipantsAddPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsParticipantsAddPostResponsedefault.php b/generated/Model/CallsParticipantsAddPostResponsedefault.php index 3240ebd6..ebb2ddda 100644 --- a/generated/Model/CallsParticipantsAddPostResponsedefault.php +++ b/generated/Model/CallsParticipantsAddPostResponsedefault.php @@ -19,35 +19,10 @@ class CallsParticipantsAddPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsParticipantsRemovePostResponse200.php b/generated/Model/CallsParticipantsRemovePostResponse200.php index 3c0837f4..3d215ecd 100644 --- a/generated/Model/CallsParticipantsRemovePostResponse200.php +++ b/generated/Model/CallsParticipantsRemovePostResponse200.php @@ -19,35 +19,10 @@ class CallsParticipantsRemovePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsParticipantsRemovePostResponsedefault.php b/generated/Model/CallsParticipantsRemovePostResponsedefault.php index 767f5f40..7dbf31c4 100644 --- a/generated/Model/CallsParticipantsRemovePostResponsedefault.php +++ b/generated/Model/CallsParticipantsRemovePostResponsedefault.php @@ -19,35 +19,10 @@ class CallsParticipantsRemovePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsUpdatePostResponse200.php b/generated/Model/CallsUpdatePostResponse200.php index 97cde4cb..84824e70 100644 --- a/generated/Model/CallsUpdatePostResponse200.php +++ b/generated/Model/CallsUpdatePostResponse200.php @@ -19,35 +19,10 @@ class CallsUpdatePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/CallsUpdatePostResponsedefault.php b/generated/Model/CallsUpdatePostResponsedefault.php index a647eeb9..77da29ec 100644 --- a/generated/Model/CallsUpdatePostResponsedefault.php +++ b/generated/Model/CallsUpdatePostResponsedefault.php @@ -19,35 +19,10 @@ class CallsUpdatePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ChatDeletePostResponse200.php b/generated/Model/ChatDeletePostResponse200.php index d3d942ed..487c1168 100644 --- a/generated/Model/ChatDeletePostResponse200.php +++ b/generated/Model/ChatDeletePostResponse200.php @@ -15,64 +15,7 @@ class ChatDeletePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $ts; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } + public ?string $channel; + public ?bool $ok; + public ?string $ts; } diff --git a/generated/Model/ChatDeletePostResponsedefault.php b/generated/Model/ChatDeletePostResponsedefault.php index 24000032..2f859a6a 100644 --- a/generated/Model/ChatDeletePostResponsedefault.php +++ b/generated/Model/ChatDeletePostResponsedefault.php @@ -15,72 +15,10 @@ class ChatDeletePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatDeleteScheduledMessagePostResponse200.php b/generated/Model/ChatDeleteScheduledMessagePostResponse200.php index 01972076..846109a6 100644 --- a/generated/Model/ChatDeleteScheduledMessagePostResponse200.php +++ b/generated/Model/ChatDeleteScheduledMessagePostResponse200.php @@ -15,30 +15,5 @@ class ChatDeleteScheduledMessagePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ChatDeleteScheduledMessagePostResponsedefault.php b/generated/Model/ChatDeleteScheduledMessagePostResponsedefault.php index 4724f2a6..5d64bf76 100644 --- a/generated/Model/ChatDeleteScheduledMessagePostResponsedefault.php +++ b/generated/Model/ChatDeleteScheduledMessagePostResponsedefault.php @@ -15,72 +15,10 @@ class ChatDeleteScheduledMessagePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatGetPermalinkGetResponse200.php b/generated/Model/ChatGetPermalinkGetResponse200.php index 989e7fec..246f95a0 100644 --- a/generated/Model/ChatGetPermalinkGetResponse200.php +++ b/generated/Model/ChatGetPermalinkGetResponse200.php @@ -15,64 +15,7 @@ class ChatGetPermalinkGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $permalink; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPermalink(): ?string - { - return $this->permalink; - } - - public function setPermalink(?string $permalink): self - { - $this->initialized['permalink'] = true; - $this->permalink = $permalink; - - return $this; - } + public ?string $channel; + public ?bool $ok; + public ?string $permalink; } diff --git a/generated/Model/ChatGetPermalinkGetResponsedefault.php b/generated/Model/ChatGetPermalinkGetResponsedefault.php index 9c545683..3dbbad10 100644 --- a/generated/Model/ChatGetPermalinkGetResponsedefault.php +++ b/generated/Model/ChatGetPermalinkGetResponsedefault.php @@ -15,72 +15,10 @@ class ChatGetPermalinkGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatMeMessagePostResponse200.php b/generated/Model/ChatMeMessagePostResponse200.php index e7fd95fb..b51f344b 100644 --- a/generated/Model/ChatMeMessagePostResponse200.php +++ b/generated/Model/ChatMeMessagePostResponse200.php @@ -15,64 +15,7 @@ class ChatMeMessagePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $ts; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } + public ?string $channel; + public ?bool $ok; + public ?string $ts; } diff --git a/generated/Model/ChatMeMessagePostResponsedefault.php b/generated/Model/ChatMeMessagePostResponsedefault.php index 0f2ed15b..4d068bcf 100644 --- a/generated/Model/ChatMeMessagePostResponsedefault.php +++ b/generated/Model/ChatMeMessagePostResponsedefault.php @@ -15,72 +15,10 @@ class ChatMeMessagePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatPostEphemeralPostResponse200.php b/generated/Model/ChatPostEphemeralPostResponse200.php index 8ba84ecf..90982dd7 100644 --- a/generated/Model/ChatPostEphemeralPostResponse200.php +++ b/generated/Model/ChatPostEphemeralPostResponse200.php @@ -15,47 +15,6 @@ class ChatPostEphemeralPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $messageTs; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getMessageTs(): ?string - { - return $this->messageTs; - } - - public function setMessageTs(?string $messageTs): self - { - $this->initialized['messageTs'] = true; - $this->messageTs = $messageTs; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $messageTs; + public ?bool $ok; } diff --git a/generated/Model/ChatPostEphemeralPostResponsedefault.php b/generated/Model/ChatPostEphemeralPostResponsedefault.php index 7177726a..8ba556bf 100644 --- a/generated/Model/ChatPostEphemeralPostResponsedefault.php +++ b/generated/Model/ChatPostEphemeralPostResponsedefault.php @@ -15,72 +15,10 @@ class ChatPostEphemeralPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatPostMessagePostResponse200.php b/generated/Model/ChatPostMessagePostResponse200.php index 4113ecf7..9d9a0c41 100644 --- a/generated/Model/ChatPostMessagePostResponse200.php +++ b/generated/Model/ChatPostMessagePostResponse200.php @@ -15,81 +15,8 @@ class ChatPostMessagePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var ObjsMessage|null - */ - protected $message; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $ts; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getMessage(): ?ObjsMessage - { - return $this->message; - } - - public function setMessage(?ObjsMessage $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } + public ?string $channel; + public ?ObjsMessage $message; + public ?bool $ok; + public ?string $ts; } diff --git a/generated/Model/ChatPostMessagePostResponsedefault.php b/generated/Model/ChatPostMessagePostResponsedefault.php index e4072baf..d434733e 100644 --- a/generated/Model/ChatPostMessagePostResponsedefault.php +++ b/generated/Model/ChatPostMessagePostResponsedefault.php @@ -15,72 +15,10 @@ class ChatPostMessagePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatScheduleMessagePostResponse200.php b/generated/Model/ChatScheduleMessagePostResponse200.php index 8de00725..f3f59e0f 100644 --- a/generated/Model/ChatScheduleMessagePostResponse200.php +++ b/generated/Model/ChatScheduleMessagePostResponse200.php @@ -15,104 +15,12 @@ class ChatScheduleMessagePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var ChatScheduleMessagePostResponse200Message|null - */ - protected $message; - /** - * @var bool|null - */ - protected $ok; + public ?string $channel; + public ?ChatScheduleMessagePostResponse200Message $message; + public ?bool $ok; /** * @var int|string|null */ - protected $postAt; - /** - * @var string|null - */ - protected $scheduledMessageId; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getMessage(): ?ChatScheduleMessagePostResponse200Message - { - return $this->message; - } - - public function setMessage(?ChatScheduleMessagePostResponse200Message $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * @return int|string|null - */ - public function getPostAt() - { - return $this->postAt; - } - - /** - * @param int|string|null $postAt - */ - public function setPostAt($postAt): self - { - $this->initialized['postAt'] = true; - $this->postAt = $postAt; - - return $this; - } - - public function getScheduledMessageId(): ?string - { - return $this->scheduledMessageId; - } - - public function setScheduledMessageId(?string $scheduledMessageId): self - { - $this->initialized['scheduledMessageId'] = true; - $this->scheduledMessageId = $scheduledMessageId; - - return $this; - } + public $postAt; + public ?string $scheduledMessageId; } diff --git a/generated/Model/ChatScheduleMessagePostResponse200Message.php b/generated/Model/ChatScheduleMessagePostResponse200Message.php index 83d0020e..2e620c9a 100644 --- a/generated/Model/ChatScheduleMessagePostResponse200Message.php +++ b/generated/Model/ChatScheduleMessagePostResponse200Message.php @@ -15,172 +15,16 @@ class ChatScheduleMessagePostResponse200Message { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $attachments; - /** - * @var string|null - */ - protected $botId; - /** - * @var ObjsBotProfile|null - */ - protected $botProfile; - /** - * @var string|null - */ - protected $subtype; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $user; - /** - * @var string|null - */ - protected $username; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getAttachments(): ?array - { - return $this->attachments; - } - - /** - * @param list|null $attachments - */ - public function setAttachments(?array $attachments): self - { - $this->initialized['attachments'] = true; - $this->attachments = $attachments; - - return $this; - } - - public function getBotId(): ?string - { - return $this->botId; - } - - public function setBotId(?string $botId): self - { - $this->initialized['botId'] = true; - $this->botId = $botId; - - return $this; - } - - public function getBotProfile(): ?ObjsBotProfile - { - return $this->botProfile; - } - - public function setBotProfile(?ObjsBotProfile $botProfile): self - { - $this->initialized['botProfile'] = true; - $this->botProfile = $botProfile; - - return $this; - } - - public function getSubtype(): ?string - { - return $this->subtype; - } - - public function setSubtype(?string $subtype): self - { - $this->initialized['subtype'] = true; - $this->subtype = $subtype; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } + public ?array $attachments; + public ?string $botId; + public ?ObjsBotProfile $botProfile; + public ?string $subtype; + public ?string $team; + public ?string $text; + public ?string $type; + public ?string $user; + public ?string $username; } diff --git a/generated/Model/ChatScheduleMessagePostResponse200MessageAttachmentsItem.php b/generated/Model/ChatScheduleMessagePostResponse200MessageAttachmentsItem.php index 02e08724..2e4b2044 100644 --- a/generated/Model/ChatScheduleMessagePostResponse200MessageAttachmentsItem.php +++ b/generated/Model/ChatScheduleMessagePostResponse200MessageAttachmentsItem.php @@ -15,64 +15,7 @@ class ChatScheduleMessagePostResponse200MessageAttachmentsItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $fallback; - /** - * @var int|null - */ - protected $id; - /** - * @var string|null - */ - protected $text; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFallback(): ?string - { - return $this->fallback; - } - - public function setFallback(?string $fallback): self - { - $this->initialized['fallback'] = true; - $this->fallback = $fallback; - - return $this; - } - - public function getId(): ?int - { - return $this->id; - } - - public function setId(?int $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } + public ?string $fallback; + public ?int $id; + public ?string $text; } diff --git a/generated/Model/ChatScheduleMessagePostResponsedefault.php b/generated/Model/ChatScheduleMessagePostResponsedefault.php index f137b754..1c97e61d 100644 --- a/generated/Model/ChatScheduleMessagePostResponsedefault.php +++ b/generated/Model/ChatScheduleMessagePostResponsedefault.php @@ -15,72 +15,10 @@ class ChatScheduleMessagePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatScheduledMessagesListGetResponse200.php b/generated/Model/ChatScheduledMessagesListGetResponse200.php index 8007b79c..54653a54 100644 --- a/generated/Model/ChatScheduledMessagesListGetResponse200.php +++ b/generated/Model/ChatScheduledMessagesListGetResponse200.php @@ -15,70 +15,10 @@ class ChatScheduledMessagesListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ChatScheduledMessagesListGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; + public ?bool $ok; + public ?ChatScheduledMessagesListGetResponse200ResponseMetadata $responseMetadata; /** * @var list|null */ - protected $scheduledMessages; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?ChatScheduledMessagesListGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ChatScheduledMessagesListGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } - - /** - * @return list|null - */ - public function getScheduledMessages(): ?array - { - return $this->scheduledMessages; - } - - /** - * @param list|null $scheduledMessages - */ - public function setScheduledMessages(?array $scheduledMessages): self - { - $this->initialized['scheduledMessages'] = true; - $this->scheduledMessages = $scheduledMessages; - - return $this; - } + public ?array $scheduledMessages; } diff --git a/generated/Model/ChatScheduledMessagesListGetResponse200ResponseMetadata.php b/generated/Model/ChatScheduledMessagesListGetResponse200ResponseMetadata.php index 6b1c7277..34d218e9 100644 --- a/generated/Model/ChatScheduledMessagesListGetResponse200ResponseMetadata.php +++ b/generated/Model/ChatScheduledMessagesListGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class ChatScheduledMessagesListGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/ChatScheduledMessagesListGetResponse200ScheduledMessagesItem.php b/generated/Model/ChatScheduledMessagesListGetResponse200ScheduledMessagesItem.php index 438ffb1b..3554f284 100644 --- a/generated/Model/ChatScheduledMessagesListGetResponse200ScheduledMessagesItem.php +++ b/generated/Model/ChatScheduledMessagesListGetResponse200ScheduledMessagesItem.php @@ -15,104 +15,12 @@ class ChatScheduledMessagesListGetResponse200ScheduledMessagesItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channelId; - /** - * @var int|null - */ - protected $dateCreated; - /** - * @var int|null - */ - protected $id; + public ?string $channelId; + public ?int $dateCreated; + public ?int $id; /** * @var int|string|null */ - protected $postAt; - /** - * @var string|null - */ - protected $text; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannelId(): ?string - { - return $this->channelId; - } - - public function setChannelId(?string $channelId): self - { - $this->initialized['channelId'] = true; - $this->channelId = $channelId; - - return $this; - } - - public function getDateCreated(): ?int - { - return $this->dateCreated; - } - - public function setDateCreated(?int $dateCreated): self - { - $this->initialized['dateCreated'] = true; - $this->dateCreated = $dateCreated; - - return $this; - } - - public function getId(): ?int - { - return $this->id; - } - - public function setId(?int $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return int|string|null - */ - public function getPostAt() - { - return $this->postAt; - } - - /** - * @param int|string|null $postAt - */ - public function setPostAt($postAt): self - { - $this->initialized['postAt'] = true; - $this->postAt = $postAt; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } + public $postAt; + public ?string $text; } diff --git a/generated/Model/ChatScheduledMessagesListGetResponsedefault.php b/generated/Model/ChatScheduledMessagesListGetResponsedefault.php index 818ab28d..8107905f 100644 --- a/generated/Model/ChatScheduledMessagesListGetResponsedefault.php +++ b/generated/Model/ChatScheduledMessagesListGetResponsedefault.php @@ -15,72 +15,10 @@ class ChatScheduledMessagesListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatUnfurlPostResponse200.php b/generated/Model/ChatUnfurlPostResponse200.php index 20f15b8f..315226ed 100644 --- a/generated/Model/ChatUnfurlPostResponse200.php +++ b/generated/Model/ChatUnfurlPostResponse200.php @@ -15,30 +15,5 @@ class ChatUnfurlPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ChatUnfurlPostResponsedefault.php b/generated/Model/ChatUnfurlPostResponsedefault.php index 66e50016..4938143a 100644 --- a/generated/Model/ChatUnfurlPostResponsedefault.php +++ b/generated/Model/ChatUnfurlPostResponsedefault.php @@ -15,72 +15,10 @@ class ChatUnfurlPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ChatUpdatePostResponse200.php b/generated/Model/ChatUpdatePostResponse200.php index ec5fd73a..88dd4140 100644 --- a/generated/Model/ChatUpdatePostResponse200.php +++ b/generated/Model/ChatUpdatePostResponse200.php @@ -15,98 +15,9 @@ class ChatUpdatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var ChatUpdatePostResponse200Message|null - */ - protected $message; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $ts; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getMessage(): ?ChatUpdatePostResponse200Message - { - return $this->message; - } - - public function setMessage(?ChatUpdatePostResponse200Message $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } + public ?string $channel; + public ?ChatUpdatePostResponse200Message $message; + public ?bool $ok; + public ?string $text; + public ?string $ts; } diff --git a/generated/Model/ChatUpdatePostResponse200Message.php b/generated/Model/ChatUpdatePostResponse200Message.php index 3f6a4951..86533956 100644 --- a/generated/Model/ChatUpdatePostResponse200Message.php +++ b/generated/Model/ChatUpdatePostResponse200Message.php @@ -15,70 +15,13 @@ class ChatUpdatePostResponse200Message { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $attachments; + public ?array $attachments; /** * @var mixed|null */ - protected $blocks; - /** - * @var string|null - */ - protected $text; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getAttachments(): ?array - { - return $this->attachments; - } - - /** - * @param list|null $attachments - */ - public function setAttachments(?array $attachments): self - { - $this->initialized['attachments'] = true; - $this->attachments = $attachments; - - return $this; - } - - public function getBlocks() - { - return $this->blocks; - } - - public function setBlocks($blocks): self - { - $this->initialized['blocks'] = true; - $this->blocks = $blocks; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } + public $blocks; + public ?string $text; } diff --git a/generated/Model/ChatUpdatePostResponsedefault.php b/generated/Model/ChatUpdatePostResponsedefault.php index 7af22b60..8b14fb32 100644 --- a/generated/Model/ChatUpdatePostResponsedefault.php +++ b/generated/Model/ChatUpdatePostResponsedefault.php @@ -15,72 +15,10 @@ class ChatUpdatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ConversationsArchivePostResponse200.php b/generated/Model/ConversationsArchivePostResponse200.php index a9250bba..52af44ed 100644 --- a/generated/Model/ConversationsArchivePostResponse200.php +++ b/generated/Model/ConversationsArchivePostResponse200.php @@ -15,30 +15,5 @@ class ConversationsArchivePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ConversationsArchivePostResponsedefault.php b/generated/Model/ConversationsArchivePostResponsedefault.php index 097d0a96..f92c12f2 100644 --- a/generated/Model/ConversationsArchivePostResponsedefault.php +++ b/generated/Model/ConversationsArchivePostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsArchivePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsClosePostResponse200.php b/generated/Model/ConversationsClosePostResponse200.php index e0c0b1df..69e0b556 100644 --- a/generated/Model/ConversationsClosePostResponse200.php +++ b/generated/Model/ConversationsClosePostResponse200.php @@ -15,64 +15,7 @@ class ConversationsClosePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $alreadyClosed; - /** - * @var bool|null - */ - protected $noOp; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAlreadyClosed(): ?bool - { - return $this->alreadyClosed; - } - - public function setAlreadyClosed(?bool $alreadyClosed): self - { - $this->initialized['alreadyClosed'] = true; - $this->alreadyClosed = $alreadyClosed; - - return $this; - } - - public function getNoOp(): ?bool - { - return $this->noOp; - } - - public function setNoOp(?bool $noOp): self - { - $this->initialized['noOp'] = true; - $this->noOp = $noOp; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $alreadyClosed; + public ?bool $noOp; + public ?bool $ok; } diff --git a/generated/Model/ConversationsClosePostResponsedefault.php b/generated/Model/ConversationsClosePostResponsedefault.php index 68ad1116..8eaf013b 100644 --- a/generated/Model/ConversationsClosePostResponsedefault.php +++ b/generated/Model/ConversationsClosePostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsClosePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsCreatePostResponse200.php b/generated/Model/ConversationsCreatePostResponse200.php index cc95777f..639663b6 100644 --- a/generated/Model/ConversationsCreatePostResponse200.php +++ b/generated/Model/ConversationsCreatePostResponse200.php @@ -15,47 +15,6 @@ class ConversationsCreatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsCreatePostResponsedefault.php b/generated/Model/ConversationsCreatePostResponsedefault.php index 0f802d7d..e8d4e4a6 100644 --- a/generated/Model/ConversationsCreatePostResponsedefault.php +++ b/generated/Model/ConversationsCreatePostResponsedefault.php @@ -15,123 +15,13 @@ class ConversationsCreatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; /** * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $detail; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getDetail(): ?string - { - return $this->detail; - } - - public function setDetail(?string $detail): self - { - $this->initialized['detail'] = true; - $this->detail = $detail; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $detail; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsHistoryGetResponse200.php b/generated/Model/ConversationsHistoryGetResponse200.php index d23ad5b3..d7cd8c7f 100644 --- a/generated/Model/ConversationsHistoryGetResponse200.php +++ b/generated/Model/ConversationsHistoryGetResponse200.php @@ -15,138 +15,17 @@ class ConversationsHistoryGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $channelActionsCount; + public ?int $channelActionsCount; /** * @var mixed|null */ - protected $channelActionsTs; - /** - * @var bool|null - */ - protected $hasMore; + public $channelActionsTs; + public ?bool $hasMore; /** * @var list|null */ - protected $messages; - /** - * @var bool|null - */ - protected $ok; - /** - * @var int|null - */ - protected $pinCount; - /** - * @var ConversationsHistoryGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannelActionsCount(): ?int - { - return $this->channelActionsCount; - } - - public function setChannelActionsCount(?int $channelActionsCount): self - { - $this->initialized['channelActionsCount'] = true; - $this->channelActionsCount = $channelActionsCount; - - return $this; - } - - public function getChannelActionsTs() - { - return $this->channelActionsTs; - } - - public function setChannelActionsTs($channelActionsTs): self - { - $this->initialized['channelActionsTs'] = true; - $this->channelActionsTs = $channelActionsTs; - - return $this; - } - - public function getHasMore(): ?bool - { - return $this->hasMore; - } - - public function setHasMore(?bool $hasMore): self - { - $this->initialized['hasMore'] = true; - $this->hasMore = $hasMore; - - return $this; - } - - /** - * @return list|null - */ - public function getMessages(): ?array - { - return $this->messages; - } - - /** - * @param list|null $messages - */ - public function setMessages(?array $messages): self - { - $this->initialized['messages'] = true; - $this->messages = $messages; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPinCount(): ?int - { - return $this->pinCount; - } - - public function setPinCount(?int $pinCount): self - { - $this->initialized['pinCount'] = true; - $this->pinCount = $pinCount; - - return $this; - } - - public function getResponseMetadata(): ?ConversationsHistoryGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ConversationsHistoryGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $messages; + public ?bool $ok; + public ?int $pinCount; + public ?ConversationsHistoryGetResponse200ResponseMetadata $responseMetadata; } diff --git a/generated/Model/ConversationsHistoryGetResponse200ResponseMetadata.php b/generated/Model/ConversationsHistoryGetResponse200ResponseMetadata.php index c1a499d0..0e8be75b 100644 --- a/generated/Model/ConversationsHistoryGetResponse200ResponseMetadata.php +++ b/generated/Model/ConversationsHistoryGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class ConversationsHistoryGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/ConversationsHistoryGetResponsedefault.php b/generated/Model/ConversationsHistoryGetResponsedefault.php index b4a01884..03b61262 100644 --- a/generated/Model/ConversationsHistoryGetResponsedefault.php +++ b/generated/Model/ConversationsHistoryGetResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsHistoryGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsInfoGetResponse200.php b/generated/Model/ConversationsInfoGetResponse200.php index 89fc4621..46ddcc77 100644 --- a/generated/Model/ConversationsInfoGetResponse200.php +++ b/generated/Model/ConversationsInfoGetResponse200.php @@ -15,47 +15,6 @@ class ConversationsInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsInfoGetResponsedefault.php b/generated/Model/ConversationsInfoGetResponsedefault.php index df1a2fd6..30a778ea 100644 --- a/generated/Model/ConversationsInfoGetResponsedefault.php +++ b/generated/Model/ConversationsInfoGetResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsInvitePostResponse200.php b/generated/Model/ConversationsInvitePostResponse200.php index 5f281f89..721872dc 100644 --- a/generated/Model/ConversationsInvitePostResponse200.php +++ b/generated/Model/ConversationsInvitePostResponse200.php @@ -15,47 +15,6 @@ class ConversationsInvitePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsInvitePostResponsedefault.php b/generated/Model/ConversationsInvitePostResponsedefault.php index 2c6e8b66..0478da28 100644 --- a/generated/Model/ConversationsInvitePostResponsedefault.php +++ b/generated/Model/ConversationsInvitePostResponsedefault.php @@ -15,129 +15,16 @@ class ConversationsInvitePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; /** * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null */ - protected $callstack; - /** - * @var string|null - */ - protected $error; + public ?string $callstack; + public ?string $error; /** * @var list|null */ - protected $errors; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - /** - * @return list|null - */ - public function getErrors(): ?array - { - return $this->errors; - } - - /** - * @param list|null $errors - */ - public function setErrors(?array $errors): self - { - $this->initialized['errors'] = true; - $this->errors = $errors; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?array $errors; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsInvitePostResponsedefaultErrorsItem.php b/generated/Model/ConversationsInvitePostResponsedefaultErrorsItem.php index 4a7b6f68..c56677e5 100644 --- a/generated/Model/ConversationsInvitePostResponsedefaultErrorsItem.php +++ b/generated/Model/ConversationsInvitePostResponsedefaultErrorsItem.php @@ -15,64 +15,7 @@ class ConversationsInvitePostResponsedefaultErrorsItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?string $error; + public ?bool $ok; + public ?string $user; } diff --git a/generated/Model/ConversationsJoinPostResponse200.php b/generated/Model/ConversationsJoinPostResponse200.php index bb4450ac..b95a1940 100644 --- a/generated/Model/ConversationsJoinPostResponse200.php +++ b/generated/Model/ConversationsJoinPostResponse200.php @@ -15,81 +15,8 @@ class ConversationsJoinPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ConversationsJoinPostResponse200ResponseMetadata|null - */ - protected $responseMetadata; - /** - * @var string|null - */ - protected $warning; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?ConversationsJoinPostResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ConversationsJoinPostResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } - - public function getWarning(): ?string - { - return $this->warning; - } - - public function setWarning(?string $warning): self - { - $this->initialized['warning'] = true; - $this->warning = $warning; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; + public ?ConversationsJoinPostResponse200ResponseMetadata $responseMetadata; + public ?string $warning; } diff --git a/generated/Model/ConversationsJoinPostResponse200ResponseMetadata.php b/generated/Model/ConversationsJoinPostResponse200ResponseMetadata.php index 2b9f39b6..2b2d9261 100644 --- a/generated/Model/ConversationsJoinPostResponse200ResponseMetadata.php +++ b/generated/Model/ConversationsJoinPostResponse200ResponseMetadata.php @@ -15,36 +15,8 @@ class ConversationsJoinPostResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $warnings; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getWarnings(): ?array - { - return $this->warnings; - } - - /** - * @param list|null $warnings - */ - public function setWarnings(?array $warnings): self - { - $this->initialized['warnings'] = true; - $this->warnings = $warnings; - - return $this; - } + public ?array $warnings; } diff --git a/generated/Model/ConversationsJoinPostResponsedefault.php b/generated/Model/ConversationsJoinPostResponsedefault.php index 80dabe23..8fa75d83 100644 --- a/generated/Model/ConversationsJoinPostResponsedefault.php +++ b/generated/Model/ConversationsJoinPostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsJoinPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsKickPostResponse200.php b/generated/Model/ConversationsKickPostResponse200.php index 40d72253..225c1fbb 100644 --- a/generated/Model/ConversationsKickPostResponse200.php +++ b/generated/Model/ConversationsKickPostResponse200.php @@ -15,30 +15,5 @@ class ConversationsKickPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ConversationsKickPostResponsedefault.php b/generated/Model/ConversationsKickPostResponsedefault.php index 38a59f5f..d37c48d9 100644 --- a/generated/Model/ConversationsKickPostResponsedefault.php +++ b/generated/Model/ConversationsKickPostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsKickPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsLeavePostResponse200.php b/generated/Model/ConversationsLeavePostResponse200.php index a7c8ab69..3bd06b8e 100644 --- a/generated/Model/ConversationsLeavePostResponse200.php +++ b/generated/Model/ConversationsLeavePostResponse200.php @@ -15,47 +15,6 @@ class ConversationsLeavePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $notInChannel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNotInChannel(): ?bool - { - return $this->notInChannel; - } - - public function setNotInChannel(?bool $notInChannel): self - { - $this->initialized['notInChannel'] = true; - $this->notInChannel = $notInChannel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $notInChannel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsLeavePostResponsedefault.php b/generated/Model/ConversationsLeavePostResponsedefault.php index a852f0b7..3cdc13e1 100644 --- a/generated/Model/ConversationsLeavePostResponsedefault.php +++ b/generated/Model/ConversationsLeavePostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsLeavePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsListGetResponse200.php b/generated/Model/ConversationsListGetResponse200.php index 2dbcb8e2..e9e3361d 100644 --- a/generated/Model/ConversationsListGetResponse200.php +++ b/generated/Model/ConversationsListGetResponse200.php @@ -15,70 +15,10 @@ class ConversationsListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $channels; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ConversationsListGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getChannels(): ?array - { - return $this->channels; - } - - /** - * @param list|null $channels - */ - public function setChannels(?array $channels): self - { - $this->initialized['channels'] = true; - $this->channels = $channels; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?ConversationsListGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ConversationsListGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $channels; + public ?bool $ok; + public ?ConversationsListGetResponse200ResponseMetadata $responseMetadata; } diff --git a/generated/Model/ConversationsListGetResponse200ResponseMetadata.php b/generated/Model/ConversationsListGetResponse200ResponseMetadata.php index 6206d119..70a11898 100644 --- a/generated/Model/ConversationsListGetResponse200ResponseMetadata.php +++ b/generated/Model/ConversationsListGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class ConversationsListGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/ConversationsListGetResponsedefault.php b/generated/Model/ConversationsListGetResponsedefault.php index 29dbca36..65841d9d 100644 --- a/generated/Model/ConversationsListGetResponsedefault.php +++ b/generated/Model/ConversationsListGetResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsMarkPostResponse200.php b/generated/Model/ConversationsMarkPostResponse200.php index 559cde46..c30b78c9 100644 --- a/generated/Model/ConversationsMarkPostResponse200.php +++ b/generated/Model/ConversationsMarkPostResponse200.php @@ -15,30 +15,5 @@ class ConversationsMarkPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ConversationsMarkPostResponsedefault.php b/generated/Model/ConversationsMarkPostResponsedefault.php index 56d2ff8c..95e3c622 100644 --- a/generated/Model/ConversationsMarkPostResponsedefault.php +++ b/generated/Model/ConversationsMarkPostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsMarkPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsMembersGetResponse200.php b/generated/Model/ConversationsMembersGetResponse200.php index 51c93272..37743b6a 100644 --- a/generated/Model/ConversationsMembersGetResponse200.php +++ b/generated/Model/ConversationsMembersGetResponse200.php @@ -15,70 +15,10 @@ class ConversationsMembersGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $members; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ConversationsMembersGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getMembers(): ?array - { - return $this->members; - } - - /** - * @param list|null $members - */ - public function setMembers(?array $members): self - { - $this->initialized['members'] = true; - $this->members = $members; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?ConversationsMembersGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ConversationsMembersGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $members; + public ?bool $ok; + public ?ConversationsMembersGetResponse200ResponseMetadata $responseMetadata; } diff --git a/generated/Model/ConversationsMembersGetResponse200ResponseMetadata.php b/generated/Model/ConversationsMembersGetResponse200ResponseMetadata.php index eb5b5e45..747d1b3b 100644 --- a/generated/Model/ConversationsMembersGetResponse200ResponseMetadata.php +++ b/generated/Model/ConversationsMembersGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class ConversationsMembersGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/ConversationsMembersGetResponsedefault.php b/generated/Model/ConversationsMembersGetResponsedefault.php index 864396e1..a9a16f01 100644 --- a/generated/Model/ConversationsMembersGetResponsedefault.php +++ b/generated/Model/ConversationsMembersGetResponsedefault.php @@ -15,72 +15,10 @@ class ConversationsMembersGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ConversationsOpenPostResponse200.php b/generated/Model/ConversationsOpenPostResponse200.php index 138c4beb..d2b32b89 100644 --- a/generated/Model/ConversationsOpenPostResponse200.php +++ b/generated/Model/ConversationsOpenPostResponse200.php @@ -15,81 +15,11 @@ class ConversationsOpenPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $alreadyOpen; + public ?bool $alreadyOpen; /** * @var mixed|null */ - protected $channel; - /** - * @var bool|null - */ - protected $noOp; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAlreadyOpen(): ?bool - { - return $this->alreadyOpen; - } - - public function setAlreadyOpen(?bool $alreadyOpen): self - { - $this->initialized['alreadyOpen'] = true; - $this->alreadyOpen = $alreadyOpen; - - return $this; - } - - public function getChannel() - { - return $this->channel; - } - - public function setChannel($channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getNoOp(): ?bool - { - return $this->noOp; - } - - public function setNoOp(?bool $noOp): self - { - $this->initialized['noOp'] = true; - $this->noOp = $noOp; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public $channel; + public ?bool $noOp; + public ?bool $ok; } diff --git a/generated/Model/ConversationsOpenPostResponse200ChannelItem1.php b/generated/Model/ConversationsOpenPostResponse200ChannelItem1.php index d47f7f18..d9ffe79a 100644 --- a/generated/Model/ConversationsOpenPostResponse200ChannelItem1.php +++ b/generated/Model/ConversationsOpenPostResponse200ChannelItem1.php @@ -15,166 +15,13 @@ class ConversationsOpenPostResponse200ChannelItem1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $created; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isIm; - /** - * @var bool|null - */ - protected $isOpen; - /** - * @var string|null - */ - protected $lastRead; - /** - * @var ObjsMessage|null - */ - protected $latest; - /** - * @var float|null - */ - protected $unreadCount; - /** - * @var float|null - */ - protected $unreadCountDisplay; - /** - * @var string|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCreated(): ?string - { - return $this->created; - } - - public function setCreated(?string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsIm(): ?bool - { - return $this->isIm; - } - - public function setIsIm(?bool $isIm): self - { - $this->initialized['isIm'] = true; - $this->isIm = $isIm; - - return $this; - } - - public function getIsOpen(): ?bool - { - return $this->isOpen; - } - - public function setIsOpen(?bool $isOpen): self - { - $this->initialized['isOpen'] = true; - $this->isOpen = $isOpen; - - return $this; - } - - public function getLastRead(): ?string - { - return $this->lastRead; - } - - public function setLastRead(?string $lastRead): self - { - $this->initialized['lastRead'] = true; - $this->lastRead = $lastRead; - - return $this; - } - - public function getLatest(): ?ObjsMessage - { - return $this->latest; - } - - public function setLatest(?ObjsMessage $latest): self - { - $this->initialized['latest'] = true; - $this->latest = $latest; - - return $this; - } - - public function getUnreadCount(): ?float - { - return $this->unreadCount; - } - - public function setUnreadCount(?float $unreadCount): self - { - $this->initialized['unreadCount'] = true; - $this->unreadCount = $unreadCount; - - return $this; - } - - public function getUnreadCountDisplay(): ?float - { - return $this->unreadCountDisplay; - } - - public function setUnreadCountDisplay(?float $unreadCountDisplay): self - { - $this->initialized['unreadCountDisplay'] = true; - $this->unreadCountDisplay = $unreadCountDisplay; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?string $created; + public ?string $id; + public ?bool $isIm; + public ?bool $isOpen; + public ?string $lastRead; + public ?ObjsMessage $latest; + public ?float $unreadCount; + public ?float $unreadCountDisplay; + public ?string $user; } diff --git a/generated/Model/ConversationsOpenPostResponsedefault.php b/generated/Model/ConversationsOpenPostResponsedefault.php index 9757f149..09c1f930 100644 --- a/generated/Model/ConversationsOpenPostResponsedefault.php +++ b/generated/Model/ConversationsOpenPostResponsedefault.php @@ -15,72 +15,10 @@ class ConversationsOpenPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ConversationsRenamePostResponse200.php b/generated/Model/ConversationsRenamePostResponse200.php index 747abc94..e9705d89 100644 --- a/generated/Model/ConversationsRenamePostResponse200.php +++ b/generated/Model/ConversationsRenamePostResponse200.php @@ -15,47 +15,6 @@ class ConversationsRenamePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsRenamePostResponsedefault.php b/generated/Model/ConversationsRenamePostResponsedefault.php index f663c0ed..eb266f87 100644 --- a/generated/Model/ConversationsRenamePostResponsedefault.php +++ b/generated/Model/ConversationsRenamePostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsRenamePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsRepliesGetResponse200.php b/generated/Model/ConversationsRepliesGetResponse200.php index e5cdd7c0..c97111a4 100644 --- a/generated/Model/ConversationsRepliesGetResponse200.php +++ b/generated/Model/ConversationsRepliesGetResponse200.php @@ -15,87 +15,11 @@ class ConversationsRepliesGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $hasMore; + public ?bool $hasMore; /** * @var list|null */ - protected $messages; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ConversationsRepliesGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getHasMore(): ?bool - { - return $this->hasMore; - } - - public function setHasMore(?bool $hasMore): self - { - $this->initialized['hasMore'] = true; - $this->hasMore = $hasMore; - - return $this; - } - - /** - * @return list|null - */ - public function getMessages(): ?array - { - return $this->messages; - } - - /** - * @param list|null $messages - */ - public function setMessages(?array $messages): self - { - $this->initialized['messages'] = true; - $this->messages = $messages; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?ConversationsRepliesGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ConversationsRepliesGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $messages; + public ?bool $ok; + public ?ConversationsRepliesGetResponse200ResponseMetadata $responseMetadata; } diff --git a/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem0.php b/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem0.php index 8750b1f1..ff97949a 100644 --- a/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem0.php +++ b/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem0.php @@ -15,291 +15,23 @@ class ConversationsRepliesGetResponse200MessagesItemItem0 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $lastRead; - /** - * @var string|null - */ - protected $latestReply; - /** - * @var int|null - */ - protected $replyCount; + public ?string $lastRead; + public ?string $latestReply; + public ?int $replyCount; /** * @var list|null */ - protected $replyUsers; - /** - * @var int|null - */ - protected $replyUsersCount; - /** - * @var string|null - */ - protected $sourceTeam; - /** - * @var bool|null - */ - protected $subscribed; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $threadTs; - /** - * @var string|null - */ - protected $ts; - /** - * @var string|null - */ - protected $type; - /** - * @var int|null - */ - protected $unreadCount; - /** - * @var string|null - */ - protected $user; - /** - * @var ObjsUserProfileShort|null - */ - protected $userProfile; - /** - * @var string|null - */ - protected $userTeam; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getLastRead(): ?string - { - return $this->lastRead; - } - - public function setLastRead(?string $lastRead): self - { - $this->initialized['lastRead'] = true; - $this->lastRead = $lastRead; - - return $this; - } - - public function getLatestReply(): ?string - { - return $this->latestReply; - } - - public function setLatestReply(?string $latestReply): self - { - $this->initialized['latestReply'] = true; - $this->latestReply = $latestReply; - - return $this; - } - - public function getReplyCount(): ?int - { - return $this->replyCount; - } - - public function setReplyCount(?int $replyCount): self - { - $this->initialized['replyCount'] = true; - $this->replyCount = $replyCount; - - return $this; - } - - /** - * @return list|null - */ - public function getReplyUsers(): ?array - { - return $this->replyUsers; - } - - /** - * @param list|null $replyUsers - */ - public function setReplyUsers(?array $replyUsers): self - { - $this->initialized['replyUsers'] = true; - $this->replyUsers = $replyUsers; - - return $this; - } - - public function getReplyUsersCount(): ?int - { - return $this->replyUsersCount; - } - - public function setReplyUsersCount(?int $replyUsersCount): self - { - $this->initialized['replyUsersCount'] = true; - $this->replyUsersCount = $replyUsersCount; - - return $this; - } - - public function getSourceTeam(): ?string - { - return $this->sourceTeam; - } - - public function setSourceTeam(?string $sourceTeam): self - { - $this->initialized['sourceTeam'] = true; - $this->sourceTeam = $sourceTeam; - - return $this; - } - - public function getSubscribed(): ?bool - { - return $this->subscribed; - } - - public function setSubscribed(?bool $subscribed): self - { - $this->initialized['subscribed'] = true; - $this->subscribed = $subscribed; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getThreadTs(): ?string - { - return $this->threadTs; - } - - public function setThreadTs(?string $threadTs): self - { - $this->initialized['threadTs'] = true; - $this->threadTs = $threadTs; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUnreadCount(): ?int - { - return $this->unreadCount; - } - - public function setUnreadCount(?int $unreadCount): self - { - $this->initialized['unreadCount'] = true; - $this->unreadCount = $unreadCount; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getUserProfile(): ?ObjsUserProfileShort - { - return $this->userProfile; - } - - public function setUserProfile(?ObjsUserProfileShort $userProfile): self - { - $this->initialized['userProfile'] = true; - $this->userProfile = $userProfile; - - return $this; - } - - public function getUserTeam(): ?string - { - return $this->userTeam; - } - - public function setUserTeam(?string $userTeam): self - { - $this->initialized['userTeam'] = true; - $this->userTeam = $userTeam; - - return $this; - } + public ?array $replyUsers; + public ?int $replyUsersCount; + public ?string $sourceTeam; + public ?bool $subscribed; + public ?string $team; + public ?string $text; + public ?string $threadTs; + public ?string $ts; + public ?string $type; + public ?int $unreadCount; + public ?string $user; + public ?ObjsUserProfileShort $userProfile; + public ?string $userTeam; } diff --git a/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem1.php b/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem1.php index 06fcab05..234a06ef 100644 --- a/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem1.php +++ b/generated/Model/ConversationsRepliesGetResponse200MessagesItemItem1.php @@ -15,200 +15,15 @@ class ConversationsRepliesGetResponse200MessagesItemItem1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $isStarred; - /** - * @var string|null - */ - protected $parentUserId; - /** - * @var string|null - */ - protected $sourceTeam; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $threadTs; - /** - * @var string|null - */ - protected $ts; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $user; - /** - * @var ObjsUserProfileShort|null - */ - protected $userProfile; - /** - * @var string|null - */ - protected $userTeam; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getIsStarred(): ?bool - { - return $this->isStarred; - } - - public function setIsStarred(?bool $isStarred): self - { - $this->initialized['isStarred'] = true; - $this->isStarred = $isStarred; - - return $this; - } - - public function getParentUserId(): ?string - { - return $this->parentUserId; - } - - public function setParentUserId(?string $parentUserId): self - { - $this->initialized['parentUserId'] = true; - $this->parentUserId = $parentUserId; - - return $this; - } - - public function getSourceTeam(): ?string - { - return $this->sourceTeam; - } - - public function setSourceTeam(?string $sourceTeam): self - { - $this->initialized['sourceTeam'] = true; - $this->sourceTeam = $sourceTeam; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getThreadTs(): ?string - { - return $this->threadTs; - } - - public function setThreadTs(?string $threadTs): self - { - $this->initialized['threadTs'] = true; - $this->threadTs = $threadTs; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getUserProfile(): ?ObjsUserProfileShort - { - return $this->userProfile; - } - - public function setUserProfile(?ObjsUserProfileShort $userProfile): self - { - $this->initialized['userProfile'] = true; - $this->userProfile = $userProfile; - - return $this; - } - - public function getUserTeam(): ?string - { - return $this->userTeam; - } - - public function setUserTeam(?string $userTeam): self - { - $this->initialized['userTeam'] = true; - $this->userTeam = $userTeam; - - return $this; - } + public ?bool $isStarred; + public ?string $parentUserId; + public ?string $sourceTeam; + public ?string $team; + public ?string $text; + public ?string $threadTs; + public ?string $ts; + public ?string $type; + public ?string $user; + public ?ObjsUserProfileShort $userProfile; + public ?string $userTeam; } diff --git a/generated/Model/ConversationsRepliesGetResponse200ResponseMetadata.php b/generated/Model/ConversationsRepliesGetResponse200ResponseMetadata.php index bbbeadfc..14f13a35 100644 --- a/generated/Model/ConversationsRepliesGetResponse200ResponseMetadata.php +++ b/generated/Model/ConversationsRepliesGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class ConversationsRepliesGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/ConversationsRepliesGetResponsedefault.php b/generated/Model/ConversationsRepliesGetResponsedefault.php index 4971eef1..388af7e3 100644 --- a/generated/Model/ConversationsRepliesGetResponsedefault.php +++ b/generated/Model/ConversationsRepliesGetResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsRepliesGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsSetPurposePostResponse200.php b/generated/Model/ConversationsSetPurposePostResponse200.php index a8f6cca5..f9f0cf27 100644 --- a/generated/Model/ConversationsSetPurposePostResponse200.php +++ b/generated/Model/ConversationsSetPurposePostResponse200.php @@ -15,47 +15,6 @@ class ConversationsSetPurposePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsSetPurposePostResponsedefault.php b/generated/Model/ConversationsSetPurposePostResponsedefault.php index e118ff1f..1a398112 100644 --- a/generated/Model/ConversationsSetPurposePostResponsedefault.php +++ b/generated/Model/ConversationsSetPurposePostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsSetPurposePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsSetTopicPostResponse200.php b/generated/Model/ConversationsSetTopicPostResponse200.php index 19845ffc..31dd769a 100644 --- a/generated/Model/ConversationsSetTopicPostResponse200.php +++ b/generated/Model/ConversationsSetTopicPostResponse200.php @@ -15,47 +15,6 @@ class ConversationsSetTopicPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsConversation|null - */ - protected $channel; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?ObjsConversation - { - return $this->channel; - } - - public function setChannel(?ObjsConversation $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsConversation $channel; + public ?bool $ok; } diff --git a/generated/Model/ConversationsSetTopicPostResponsedefault.php b/generated/Model/ConversationsSetTopicPostResponsedefault.php index 44177cd0..dbb46a84 100644 --- a/generated/Model/ConversationsSetTopicPostResponsedefault.php +++ b/generated/Model/ConversationsSetTopicPostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsSetTopicPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/ConversationsUnarchivePostResponse200.php b/generated/Model/ConversationsUnarchivePostResponse200.php index 73b381cc..fc957f98 100644 --- a/generated/Model/ConversationsUnarchivePostResponse200.php +++ b/generated/Model/ConversationsUnarchivePostResponse200.php @@ -15,30 +15,5 @@ class ConversationsUnarchivePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ConversationsUnarchivePostResponsedefault.php b/generated/Model/ConversationsUnarchivePostResponsedefault.php index 360c72fd..147529f7 100644 --- a/generated/Model/ConversationsUnarchivePostResponsedefault.php +++ b/generated/Model/ConversationsUnarchivePostResponsedefault.php @@ -15,106 +15,12 @@ class ConversationsUnarchivePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var string|null - */ - protected $needed; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $provided; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getNeeded(): ?string - { - return $this->needed; - } - - public function setNeeded(?string $needed): self - { - $this->initialized['needed'] = true; - $this->needed = $needed; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProvided(): ?string - { - return $this->provided; - } - - public function setProvided(?string $provided): self - { - $this->initialized['provided'] = true; - $this->provided = $provided; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?string $needed; + public ?bool $ok; + public ?string $provided; } diff --git a/generated/Model/DialogOpenGetResponse200.php b/generated/Model/DialogOpenGetResponse200.php index 3c713323..522ee034 100644 --- a/generated/Model/DialogOpenGetResponse200.php +++ b/generated/Model/DialogOpenGetResponse200.php @@ -15,30 +15,5 @@ class DialogOpenGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/DialogOpenGetResponsedefault.php b/generated/Model/DialogOpenGetResponsedefault.php index ff11b7c3..b417d17d 100644 --- a/generated/Model/DialogOpenGetResponsedefault.php +++ b/generated/Model/DialogOpenGetResponsedefault.php @@ -15,72 +15,10 @@ class DialogOpenGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/DndEndDndPostResponse200.php b/generated/Model/DndEndDndPostResponse200.php index 871ae62f..1e7329c7 100644 --- a/generated/Model/DndEndDndPostResponse200.php +++ b/generated/Model/DndEndDndPostResponse200.php @@ -15,30 +15,5 @@ class DndEndDndPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/DndEndDndPostResponsedefault.php b/generated/Model/DndEndDndPostResponsedefault.php index a3a6665b..3b19acac 100644 --- a/generated/Model/DndEndDndPostResponsedefault.php +++ b/generated/Model/DndEndDndPostResponsedefault.php @@ -15,72 +15,10 @@ class DndEndDndPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/DndEndSnoozePostResponse200.php b/generated/Model/DndEndSnoozePostResponse200.php index 7793d1f7..3970f24a 100644 --- a/generated/Model/DndEndSnoozePostResponse200.php +++ b/generated/Model/DndEndSnoozePostResponse200.php @@ -15,98 +15,9 @@ class DndEndSnoozePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $dndEnabled; - /** - * @var int|null - */ - protected $nextDndEndTs; - /** - * @var int|null - */ - protected $nextDndStartTs; - /** - * @var bool|null - */ - protected $ok; - /** - * @var bool|null - */ - protected $snoozeEnabled; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDndEnabled(): ?bool - { - return $this->dndEnabled; - } - - public function setDndEnabled(?bool $dndEnabled): self - { - $this->initialized['dndEnabled'] = true; - $this->dndEnabled = $dndEnabled; - - return $this; - } - - public function getNextDndEndTs(): ?int - { - return $this->nextDndEndTs; - } - - public function setNextDndEndTs(?int $nextDndEndTs): self - { - $this->initialized['nextDndEndTs'] = true; - $this->nextDndEndTs = $nextDndEndTs; - - return $this; - } - - public function getNextDndStartTs(): ?int - { - return $this->nextDndStartTs; - } - - public function setNextDndStartTs(?int $nextDndStartTs): self - { - $this->initialized['nextDndStartTs'] = true; - $this->nextDndStartTs = $nextDndStartTs; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getSnoozeEnabled(): ?bool - { - return $this->snoozeEnabled; - } - - public function setSnoozeEnabled(?bool $snoozeEnabled): self - { - $this->initialized['snoozeEnabled'] = true; - $this->snoozeEnabled = $snoozeEnabled; - - return $this; - } + public ?bool $dndEnabled; + public ?int $nextDndEndTs; + public ?int $nextDndStartTs; + public ?bool $ok; + public ?bool $snoozeEnabled; } diff --git a/generated/Model/DndEndSnoozePostResponsedefault.php b/generated/Model/DndEndSnoozePostResponsedefault.php index b519a7a9..a568bcf0 100644 --- a/generated/Model/DndEndSnoozePostResponsedefault.php +++ b/generated/Model/DndEndSnoozePostResponsedefault.php @@ -15,72 +15,10 @@ class DndEndSnoozePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/DndInfoGetResponse200.php b/generated/Model/DndInfoGetResponse200.php index 2ff892d2..4b01ef61 100644 --- a/generated/Model/DndInfoGetResponse200.php +++ b/generated/Model/DndInfoGetResponse200.php @@ -15,132 +15,11 @@ class DndInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $dndEnabled; - /** - * @var int|null - */ - protected $nextDndEndTs; - /** - * @var int|null - */ - protected $nextDndStartTs; - /** - * @var bool|null - */ - protected $ok; - /** - * @var bool|null - */ - protected $snoozeEnabled; - /** - * @var int|null - */ - protected $snoozeEndtime; - /** - * @var int|null - */ - protected $snoozeRemaining; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDndEnabled(): ?bool - { - return $this->dndEnabled; - } - - public function setDndEnabled(?bool $dndEnabled): self - { - $this->initialized['dndEnabled'] = true; - $this->dndEnabled = $dndEnabled; - - return $this; - } - - public function getNextDndEndTs(): ?int - { - return $this->nextDndEndTs; - } - - public function setNextDndEndTs(?int $nextDndEndTs): self - { - $this->initialized['nextDndEndTs'] = true; - $this->nextDndEndTs = $nextDndEndTs; - - return $this; - } - - public function getNextDndStartTs(): ?int - { - return $this->nextDndStartTs; - } - - public function setNextDndStartTs(?int $nextDndStartTs): self - { - $this->initialized['nextDndStartTs'] = true; - $this->nextDndStartTs = $nextDndStartTs; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getSnoozeEnabled(): ?bool - { - return $this->snoozeEnabled; - } - - public function setSnoozeEnabled(?bool $snoozeEnabled): self - { - $this->initialized['snoozeEnabled'] = true; - $this->snoozeEnabled = $snoozeEnabled; - - return $this; - } - - public function getSnoozeEndtime(): ?int - { - return $this->snoozeEndtime; - } - - public function setSnoozeEndtime(?int $snoozeEndtime): self - { - $this->initialized['snoozeEndtime'] = true; - $this->snoozeEndtime = $snoozeEndtime; - - return $this; - } - - public function getSnoozeRemaining(): ?int - { - return $this->snoozeRemaining; - } - - public function setSnoozeRemaining(?int $snoozeRemaining): self - { - $this->initialized['snoozeRemaining'] = true; - $this->snoozeRemaining = $snoozeRemaining; - - return $this; - } + public ?bool $dndEnabled; + public ?int $nextDndEndTs; + public ?int $nextDndStartTs; + public ?bool $ok; + public ?bool $snoozeEnabled; + public ?int $snoozeEndtime; + public ?int $snoozeRemaining; } diff --git a/generated/Model/DndInfoGetResponsedefault.php b/generated/Model/DndInfoGetResponsedefault.php index 2dd430e6..e0b5b833 100644 --- a/generated/Model/DndInfoGetResponsedefault.php +++ b/generated/Model/DndInfoGetResponsedefault.php @@ -15,72 +15,10 @@ class DndInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/DndSetSnoozePostResponse200.php b/generated/Model/DndSetSnoozePostResponse200.php index 089ece4e..7b42e1ec 100644 --- a/generated/Model/DndSetSnoozePostResponse200.php +++ b/generated/Model/DndSetSnoozePostResponse200.php @@ -15,81 +15,8 @@ class DndSetSnoozePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var bool|null - */ - protected $snoozeEnabled; - /** - * @var int|null - */ - protected $snoozeEndtime; - /** - * @var int|null - */ - protected $snoozeRemaining; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getSnoozeEnabled(): ?bool - { - return $this->snoozeEnabled; - } - - public function setSnoozeEnabled(?bool $snoozeEnabled): self - { - $this->initialized['snoozeEnabled'] = true; - $this->snoozeEnabled = $snoozeEnabled; - - return $this; - } - - public function getSnoozeEndtime(): ?int - { - return $this->snoozeEndtime; - } - - public function setSnoozeEndtime(?int $snoozeEndtime): self - { - $this->initialized['snoozeEndtime'] = true; - $this->snoozeEndtime = $snoozeEndtime; - - return $this; - } - - public function getSnoozeRemaining(): ?int - { - return $this->snoozeRemaining; - } - - public function setSnoozeRemaining(?int $snoozeRemaining): self - { - $this->initialized['snoozeRemaining'] = true; - $this->snoozeRemaining = $snoozeRemaining; - - return $this; - } + public ?bool $ok; + public ?bool $snoozeEnabled; + public ?int $snoozeEndtime; + public ?int $snoozeRemaining; } diff --git a/generated/Model/DndSetSnoozePostResponsedefault.php b/generated/Model/DndSetSnoozePostResponsedefault.php index 2b6d24a5..f9983825 100644 --- a/generated/Model/DndSetSnoozePostResponsedefault.php +++ b/generated/Model/DndSetSnoozePostResponsedefault.php @@ -15,72 +15,10 @@ class DndSetSnoozePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/DndTeamInfoGetResponse200.php b/generated/Model/DndTeamInfoGetResponse200.php index 44fcec68..e78af272 100644 --- a/generated/Model/DndTeamInfoGetResponse200.php +++ b/generated/Model/DndTeamInfoGetResponse200.php @@ -19,35 +19,10 @@ class DndTeamInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/DndTeamInfoGetResponsedefault.php b/generated/Model/DndTeamInfoGetResponsedefault.php index 8cbc84f6..5ce17c3a 100644 --- a/generated/Model/DndTeamInfoGetResponsedefault.php +++ b/generated/Model/DndTeamInfoGetResponsedefault.php @@ -19,35 +19,10 @@ class DndTeamInfoGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/EmojiListGetResponse200.php b/generated/Model/EmojiListGetResponse200.php index f3e6217d..9f30c311 100644 --- a/generated/Model/EmojiListGetResponse200.php +++ b/generated/Model/EmojiListGetResponse200.php @@ -19,35 +19,10 @@ class EmojiListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/EmojiListGetResponsedefault.php b/generated/Model/EmojiListGetResponsedefault.php index 839202c0..42da31b6 100644 --- a/generated/Model/EmojiListGetResponsedefault.php +++ b/generated/Model/EmojiListGetResponsedefault.php @@ -19,35 +19,10 @@ class EmojiListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesCommentsDeletePostResponse200.php b/generated/Model/FilesCommentsDeletePostResponse200.php index 115fb803..2e940b1f 100644 --- a/generated/Model/FilesCommentsDeletePostResponse200.php +++ b/generated/Model/FilesCommentsDeletePostResponse200.php @@ -15,30 +15,5 @@ class FilesCommentsDeletePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/FilesCommentsDeletePostResponsedefault.php b/generated/Model/FilesCommentsDeletePostResponsedefault.php index 68d8f957..03a910f5 100644 --- a/generated/Model/FilesCommentsDeletePostResponsedefault.php +++ b/generated/Model/FilesCommentsDeletePostResponsedefault.php @@ -15,72 +15,10 @@ class FilesCommentsDeletePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesCompleteUploadExternalPostResponse200.php b/generated/Model/FilesCompleteUploadExternalPostResponse200.php index d2cd8c34..25cc4c11 100644 --- a/generated/Model/FilesCompleteUploadExternalPostResponse200.php +++ b/generated/Model/FilesCompleteUploadExternalPostResponse200.php @@ -15,53 +15,9 @@ class FilesCompleteUploadExternalPostResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $files; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getFiles(): ?array - { - return $this->files; - } - - /** - * @param list|null $files - */ - public function setFiles(?array $files): self - { - $this->initialized['files'] = true; - $this->files = $files; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?array $files; + public ?bool $ok; } diff --git a/generated/Model/FilesCompleteUploadExternalPostResponse200FilesItem.php b/generated/Model/FilesCompleteUploadExternalPostResponse200FilesItem.php index 8d37d7bc..b934e1d7 100644 --- a/generated/Model/FilesCompleteUploadExternalPostResponse200FilesItem.php +++ b/generated/Model/FilesCompleteUploadExternalPostResponse200FilesItem.php @@ -15,47 +15,6 @@ class FilesCompleteUploadExternalPostResponse200FilesItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $title; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getTitle(): ?string - { - return $this->title; - } - - public function setTitle(?string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } + public ?string $id; + public ?string $title; } diff --git a/generated/Model/FilesCompleteUploadExternalPostResponsedefault.php b/generated/Model/FilesCompleteUploadExternalPostResponsedefault.php index 900bea91..1f2e6abd 100644 --- a/generated/Model/FilesCompleteUploadExternalPostResponsedefault.php +++ b/generated/Model/FilesCompleteUploadExternalPostResponsedefault.php @@ -15,72 +15,10 @@ class FilesCompleteUploadExternalPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesDeletePostResponse200.php b/generated/Model/FilesDeletePostResponse200.php index 8a6a3ee1..e78d85d5 100644 --- a/generated/Model/FilesDeletePostResponse200.php +++ b/generated/Model/FilesDeletePostResponse200.php @@ -15,30 +15,5 @@ class FilesDeletePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/FilesDeletePostResponsedefault.php b/generated/Model/FilesDeletePostResponsedefault.php index 50d2f46d..a7712477 100644 --- a/generated/Model/FilesDeletePostResponsedefault.php +++ b/generated/Model/FilesDeletePostResponsedefault.php @@ -15,72 +15,10 @@ class FilesDeletePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesGetUploadURLExternalPostResponse200.php b/generated/Model/FilesGetUploadURLExternalPostResponse200.php index 8928a489..e858e0df 100644 --- a/generated/Model/FilesGetUploadURLExternalPostResponse200.php +++ b/generated/Model/FilesGetUploadURLExternalPostResponse200.php @@ -15,72 +15,10 @@ class FilesGetUploadURLExternalPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $fileId; - /** - * @var bool|null - */ - protected $ok; - /** - * URL where the file should be uploaded. - * - * @var string|null - */ - protected $uploadUrl; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFileId(): ?string - { - return $this->fileId; - } - - public function setFileId(?string $fileId): self - { - $this->initialized['fileId'] = true; - $this->fileId = $fileId; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - + public ?string $fileId; + public ?bool $ok; /** * URL where the file should be uploaded. */ - public function getUploadUrl(): ?string - { - return $this->uploadUrl; - } - - /** - * URL where the file should be uploaded. - */ - public function setUploadUrl(?string $uploadUrl): self - { - $this->initialized['uploadUrl'] = true; - $this->uploadUrl = $uploadUrl; - - return $this; - } + public ?string $uploadUrl; } diff --git a/generated/Model/FilesGetUploadURLExternalPostResponsedefault.php b/generated/Model/FilesGetUploadURLExternalPostResponsedefault.php index f601368f..694f1dca 100644 --- a/generated/Model/FilesGetUploadURLExternalPostResponsedefault.php +++ b/generated/Model/FilesGetUploadURLExternalPostResponsedefault.php @@ -15,72 +15,10 @@ class FilesGetUploadURLExternalPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesInfoGetResponse200.php b/generated/Model/FilesInfoGetResponse200.php index e7e11f9f..7f7d240d 100644 --- a/generated/Model/FilesInfoGetResponse200.php +++ b/generated/Model/FilesInfoGetResponse200.php @@ -15,138 +15,17 @@ class FilesInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $comments; + public ?array $comments; /** * @var mixed|null */ - protected $contentHtml; - /** - * @var string|null - */ - protected $editor; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsPaging|null - */ - protected $paging; - /** - * @var ObjsResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getComments(): ?array - { - return $this->comments; - } - - /** - * @param list|null $comments - */ - public function setComments(?array $comments): self - { - $this->initialized['comments'] = true; - $this->comments = $comments; - - return $this; - } - - public function getContentHtml() - { - return $this->contentHtml; - } - - public function setContentHtml($contentHtml): self - { - $this->initialized['contentHtml'] = true; - $this->contentHtml = $contentHtml; - - return $this; - } - - public function getEditor(): ?string - { - return $this->editor; - } - - public function setEditor(?string $editor): self - { - $this->initialized['editor'] = true; - $this->editor = $editor; - - return $this; - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPaging(): ?ObjsPaging - { - return $this->paging; - } - - public function setPaging(?ObjsPaging $paging): self - { - $this->initialized['paging'] = true; - $this->paging = $paging; - - return $this; - } - - public function getResponseMetadata(): ?ObjsResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ObjsResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public $contentHtml; + public ?string $editor; + public ?ObjsFile $file; + public ?bool $ok; + public ?ObjsPaging $paging; + public ?ObjsResponseMetadata $responseMetadata; } diff --git a/generated/Model/FilesInfoGetResponsedefault.php b/generated/Model/FilesInfoGetResponsedefault.php index 5f3c1c9c..a1770b28 100644 --- a/generated/Model/FilesInfoGetResponsedefault.php +++ b/generated/Model/FilesInfoGetResponsedefault.php @@ -15,72 +15,10 @@ class FilesInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesListGetResponse200.php b/generated/Model/FilesListGetResponse200.php index c7256fa9..83ea1449 100644 --- a/generated/Model/FilesListGetResponse200.php +++ b/generated/Model/FilesListGetResponse200.php @@ -15,70 +15,10 @@ class FilesListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $files; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsPaging|null - */ - protected $paging; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getFiles(): ?array - { - return $this->files; - } - - /** - * @param list|null $files - */ - public function setFiles(?array $files): self - { - $this->initialized['files'] = true; - $this->files = $files; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPaging(): ?ObjsPaging - { - return $this->paging; - } - - public function setPaging(?ObjsPaging $paging): self - { - $this->initialized['paging'] = true; - $this->paging = $paging; - - return $this; - } + public ?array $files; + public ?bool $ok; + public ?ObjsPaging $paging; } diff --git a/generated/Model/FilesListGetResponsedefault.php b/generated/Model/FilesListGetResponsedefault.php index 31ce87e3..ce6c67aa 100644 --- a/generated/Model/FilesListGetResponsedefault.php +++ b/generated/Model/FilesListGetResponsedefault.php @@ -15,72 +15,10 @@ class FilesListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesRemoteAddPostResponse200.php b/generated/Model/FilesRemoteAddPostResponse200.php index bb7bd8e0..8a44bc1a 100644 --- a/generated/Model/FilesRemoteAddPostResponse200.php +++ b/generated/Model/FilesRemoteAddPostResponse200.php @@ -19,35 +19,10 @@ class FilesRemoteAddPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteAddPostResponsedefault.php b/generated/Model/FilesRemoteAddPostResponsedefault.php index c423daeb..e8b826e7 100644 --- a/generated/Model/FilesRemoteAddPostResponsedefault.php +++ b/generated/Model/FilesRemoteAddPostResponsedefault.php @@ -19,35 +19,10 @@ class FilesRemoteAddPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteInfoGetResponse200.php b/generated/Model/FilesRemoteInfoGetResponse200.php index cd13f486..98b46718 100644 --- a/generated/Model/FilesRemoteInfoGetResponse200.php +++ b/generated/Model/FilesRemoteInfoGetResponse200.php @@ -19,35 +19,10 @@ class FilesRemoteInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteInfoGetResponsedefault.php b/generated/Model/FilesRemoteInfoGetResponsedefault.php index 78a59e63..adf85fc2 100644 --- a/generated/Model/FilesRemoteInfoGetResponsedefault.php +++ b/generated/Model/FilesRemoteInfoGetResponsedefault.php @@ -19,35 +19,10 @@ class FilesRemoteInfoGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteListGetResponse200.php b/generated/Model/FilesRemoteListGetResponse200.php index b0bea378..ec76881f 100644 --- a/generated/Model/FilesRemoteListGetResponse200.php +++ b/generated/Model/FilesRemoteListGetResponse200.php @@ -19,35 +19,10 @@ class FilesRemoteListGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteListGetResponsedefault.php b/generated/Model/FilesRemoteListGetResponsedefault.php index 60c28b37..7eeff7b6 100644 --- a/generated/Model/FilesRemoteListGetResponsedefault.php +++ b/generated/Model/FilesRemoteListGetResponsedefault.php @@ -19,35 +19,10 @@ class FilesRemoteListGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteRemovePostResponse200.php b/generated/Model/FilesRemoteRemovePostResponse200.php index 62b1efa3..cf7e0c7e 100644 --- a/generated/Model/FilesRemoteRemovePostResponse200.php +++ b/generated/Model/FilesRemoteRemovePostResponse200.php @@ -19,35 +19,10 @@ class FilesRemoteRemovePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteRemovePostResponsedefault.php b/generated/Model/FilesRemoteRemovePostResponsedefault.php index bf12f195..12874f9b 100644 --- a/generated/Model/FilesRemoteRemovePostResponsedefault.php +++ b/generated/Model/FilesRemoteRemovePostResponsedefault.php @@ -19,35 +19,10 @@ class FilesRemoteRemovePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteShareGetResponse200.php b/generated/Model/FilesRemoteShareGetResponse200.php index ba4e6aa9..0fbc9489 100644 --- a/generated/Model/FilesRemoteShareGetResponse200.php +++ b/generated/Model/FilesRemoteShareGetResponse200.php @@ -19,35 +19,10 @@ class FilesRemoteShareGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteShareGetResponsedefault.php b/generated/Model/FilesRemoteShareGetResponsedefault.php index bf0727a3..526adf5d 100644 --- a/generated/Model/FilesRemoteShareGetResponsedefault.php +++ b/generated/Model/FilesRemoteShareGetResponsedefault.php @@ -19,35 +19,10 @@ class FilesRemoteShareGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteUpdatePostResponse200.php b/generated/Model/FilesRemoteUpdatePostResponse200.php index cbf62137..7497e893 100644 --- a/generated/Model/FilesRemoteUpdatePostResponse200.php +++ b/generated/Model/FilesRemoteUpdatePostResponse200.php @@ -19,35 +19,10 @@ class FilesRemoteUpdatePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRemoteUpdatePostResponsedefault.php b/generated/Model/FilesRemoteUpdatePostResponsedefault.php index 28490c65..60a9125c 100644 --- a/generated/Model/FilesRemoteUpdatePostResponsedefault.php +++ b/generated/Model/FilesRemoteUpdatePostResponsedefault.php @@ -19,35 +19,10 @@ class FilesRemoteUpdatePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/FilesRevokePublicURLPostResponse200.php b/generated/Model/FilesRevokePublicURLPostResponse200.php index 518ac26e..1911df01 100644 --- a/generated/Model/FilesRevokePublicURLPostResponse200.php +++ b/generated/Model/FilesRevokePublicURLPostResponse200.php @@ -15,47 +15,6 @@ class FilesRevokePublicURLPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsFile $file; + public ?bool $ok; } diff --git a/generated/Model/FilesRevokePublicURLPostResponsedefault.php b/generated/Model/FilesRevokePublicURLPostResponsedefault.php index 281a6886..3d970f21 100644 --- a/generated/Model/FilesRevokePublicURLPostResponsedefault.php +++ b/generated/Model/FilesRevokePublicURLPostResponsedefault.php @@ -15,72 +15,10 @@ class FilesRevokePublicURLPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesSharedPublicURLPostResponse200.php b/generated/Model/FilesSharedPublicURLPostResponse200.php index a1a73c45..f39a7735 100644 --- a/generated/Model/FilesSharedPublicURLPostResponse200.php +++ b/generated/Model/FilesSharedPublicURLPostResponse200.php @@ -15,47 +15,6 @@ class FilesSharedPublicURLPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsFile $file; + public ?bool $ok; } diff --git a/generated/Model/FilesSharedPublicURLPostResponsedefault.php b/generated/Model/FilesSharedPublicURLPostResponsedefault.php index 81c587a9..ce105609 100644 --- a/generated/Model/FilesSharedPublicURLPostResponsedefault.php +++ b/generated/Model/FilesSharedPublicURLPostResponsedefault.php @@ -15,72 +15,10 @@ class FilesSharedPublicURLPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/FilesUploadPostResponse200.php b/generated/Model/FilesUploadPostResponse200.php index 5327b799..0b6954db 100644 --- a/generated/Model/FilesUploadPostResponse200.php +++ b/generated/Model/FilesUploadPostResponse200.php @@ -15,47 +15,6 @@ class FilesUploadPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?ObjsFile $file; + public ?bool $ok; } diff --git a/generated/Model/FilesUploadPostResponsedefault.php b/generated/Model/FilesUploadPostResponsedefault.php index d981313d..2d1402ee 100644 --- a/generated/Model/FilesUploadPostResponsedefault.php +++ b/generated/Model/FilesUploadPostResponsedefault.php @@ -15,72 +15,10 @@ class FilesUploadPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/MigrationExchangeGetResponse200.php b/generated/Model/MigrationExchangeGetResponse200.php index 7ea452c2..e91860a4 100644 --- a/generated/Model/MigrationExchangeGetResponse200.php +++ b/generated/Model/MigrationExchangeGetResponse200.php @@ -19,115 +19,20 @@ class MigrationExchangeGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $enterpriseId; + public ?string $enterpriseId; /** * @var list|null */ - protected $invalidUserIds; - /** - * @var bool|null - */ - protected $ok; - /** - * @var string|null - */ - protected $teamId; - /** - * @var array|null - */ - protected $userIdMap; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEnterpriseId(): ?string - { - return $this->enterpriseId; - } - - public function setEnterpriseId(?string $enterpriseId): self - { - $this->initialized['enterpriseId'] = true; - $this->enterpriseId = $enterpriseId; - - return $this; - } - - /** - * @return list|null - */ - public function getInvalidUserIds(): ?array - { - return $this->invalidUserIds; - } - - /** - * @param list|null $invalidUserIds - */ - public function setInvalidUserIds(?array $invalidUserIds): self - { - $this->initialized['invalidUserIds'] = true; - $this->invalidUserIds = $invalidUserIds; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeamId(): ?string - { - return $this->teamId; - } - - public function setTeamId(?string $teamId): self - { - $this->initialized['teamId'] = true; - $this->teamId = $teamId; - - return $this; - } - + public ?array $invalidUserIds; + public ?bool $ok; + public ?string $teamId; /** - * @return array|null + * @var iterable|null */ - public function getUserIdMap(): ?iterable - { - return $this->userIdMap; - } - - /** - * @param array|null $userIdMap - */ - public function setUserIdMap(?iterable $userIdMap): self - { - $this->initialized['userIdMap'] = true; - $this->userIdMap = $userIdMap; - - return $this; - } + public ?iterable $userIdMap; public function definedProperties(): array { - return ['enterpriseId' => ['enterprise_id', 'getEnterpriseId', 'setEnterpriseId'], 'invalidUserIds' => ['invalid_user_ids', 'getInvalidUserIds', 'setInvalidUserIds'], 'ok' => ['ok', 'getOk', 'setOk'], 'teamId' => ['team_id', 'getTeamId', 'setTeamId'], 'userIdMap' => ['user_id_map', 'getUserIdMap', 'setUserIdMap']]; + return ['enterpriseId' => 'enterprise_id', 'invalidUserIds' => 'invalid_user_ids', 'ok' => 'ok', 'teamId' => 'team_id', 'userIdMap' => 'user_id_map']; } } diff --git a/generated/Model/MigrationExchangeGetResponsedefault.php b/generated/Model/MigrationExchangeGetResponsedefault.php index f4b8ca14..39ea18d2 100644 --- a/generated/Model/MigrationExchangeGetResponsedefault.php +++ b/generated/Model/MigrationExchangeGetResponsedefault.php @@ -15,72 +15,10 @@ class MigrationExchangeGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/OauthAccessGetResponse200.php b/generated/Model/OauthAccessGetResponse200.php index 98336324..f7ca3e79 100644 --- a/generated/Model/OauthAccessGetResponse200.php +++ b/generated/Model/OauthAccessGetResponse200.php @@ -19,35 +19,10 @@ class OauthAccessGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/OauthAccessGetResponsedefault.php b/generated/Model/OauthAccessGetResponsedefault.php index e7fdf242..f7adb4fa 100644 --- a/generated/Model/OauthAccessGetResponsedefault.php +++ b/generated/Model/OauthAccessGetResponsedefault.php @@ -19,35 +19,10 @@ class OauthAccessGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/OauthTokenGetResponse200.php b/generated/Model/OauthTokenGetResponse200.php index 368b038f..4baa4df0 100644 --- a/generated/Model/OauthTokenGetResponse200.php +++ b/generated/Model/OauthTokenGetResponse200.php @@ -19,35 +19,10 @@ class OauthTokenGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/OauthTokenGetResponsedefault.php b/generated/Model/OauthTokenGetResponsedefault.php index f80bb11c..dd364367 100644 --- a/generated/Model/OauthTokenGetResponsedefault.php +++ b/generated/Model/OauthTokenGetResponsedefault.php @@ -19,35 +19,10 @@ class OauthTokenGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/OauthV2AccessGetResponse200.php b/generated/Model/OauthV2AccessGetResponse200.php index d815d06c..054db3a0 100644 --- a/generated/Model/OauthV2AccessGetResponse200.php +++ b/generated/Model/OauthV2AccessGetResponse200.php @@ -19,35 +19,10 @@ class OauthV2AccessGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/OauthV2AccessGetResponsedefault.php b/generated/Model/OauthV2AccessGetResponsedefault.php index d744629f..f0013822 100644 --- a/generated/Model/OauthV2AccessGetResponsedefault.php +++ b/generated/Model/OauthV2AccessGetResponsedefault.php @@ -19,35 +19,10 @@ class OauthV2AccessGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ObjsBotProfile.php b/generated/Model/ObjsBotProfile.php index c7d13a8d..4ae52f47 100644 --- a/generated/Model/ObjsBotProfile.php +++ b/generated/Model/ObjsBotProfile.php @@ -15,132 +15,11 @@ class ObjsBotProfile { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $appId; - /** - * @var bool|null - */ - protected $deleted; - /** - * @var ObjsBotProfileIcons|null - */ - protected $icons; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $teamId; - /** - * @var int|null - */ - protected $updated; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAppId(): ?string - { - return $this->appId; - } - - public function setAppId(?string $appId): self - { - $this->initialized['appId'] = true; - $this->appId = $appId; - - return $this; - } - - public function getDeleted(): ?bool - { - return $this->deleted; - } - - public function setDeleted(?bool $deleted): self - { - $this->initialized['deleted'] = true; - $this->deleted = $deleted; - - return $this; - } - - public function getIcons(): ?ObjsBotProfileIcons - { - return $this->icons; - } - - public function setIcons(?ObjsBotProfileIcons $icons): self - { - $this->initialized['icons'] = true; - $this->icons = $icons; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getTeamId(): ?string - { - return $this->teamId; - } - - public function setTeamId(?string $teamId): self - { - $this->initialized['teamId'] = true; - $this->teamId = $teamId; - - return $this; - } - - public function getUpdated(): ?int - { - return $this->updated; - } - - public function setUpdated(?int $updated): self - { - $this->initialized['updated'] = true; - $this->updated = $updated; - - return $this; - } + public ?string $appId; + public ?bool $deleted; + public ?ObjsBotProfileIcons $icons; + public ?string $id; + public ?string $name; + public ?string $teamId; + public ?int $updated; } diff --git a/generated/Model/ObjsBotProfileIcons.php b/generated/Model/ObjsBotProfileIcons.php index 5d8142a1..60275f13 100644 --- a/generated/Model/ObjsBotProfileIcons.php +++ b/generated/Model/ObjsBotProfileIcons.php @@ -15,64 +15,7 @@ class ObjsBotProfileIcons { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $image36; - /** - * @var string|null - */ - protected $image48; - /** - * @var string|null - */ - protected $image72; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getImage36(): ?string - { - return $this->image36; - } - - public function setImage36(?string $image36): self - { - $this->initialized['image36'] = true; - $this->image36 = $image36; - - return $this; - } - - public function getImage48(): ?string - { - return $this->image48; - } - - public function setImage48(?string $image48): self - { - $this->initialized['image48'] = true; - $this->image48 = $image48; - - return $this; - } - - public function getImage72(): ?string - { - return $this->image72; - } - - public function setImage72(?string $image72): self - { - $this->initialized['image72'] = true; - $this->image72 = $image72; - - return $this; - } + public ?string $image36; + public ?string $image48; + public ?string $image72; } diff --git a/generated/Model/ObjsChannel.php b/generated/Model/ObjsChannel.php index d71a0ae6..f05970d8 100644 --- a/generated/Model/ObjsChannel.php +++ b/generated/Model/ObjsChannel.php @@ -15,575 +15,48 @@ class ObjsChannel { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $acceptedUser; - /** - * @var int|null - */ - protected $created; - /** - * @var string|null - */ - protected $creator; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isArchived; - /** - * @var bool|null - */ - protected $isChannel; - /** - * @var bool|null - */ - protected $isFrozen; - /** - * @var bool|null - */ - protected $isGeneral; - /** - * @var bool|null - */ - protected $isMember; - /** - * @var int|null - */ - protected $isMoved; - /** - * @var bool|null - */ - protected $isMpim; - /** - * @var bool|null - */ - protected $isNonThreadable; - /** - * @var bool|null - */ - protected $isOrgShared; - /** - * @var bool|null - */ - protected $isPendingExtShared; - /** - * @var bool|null - */ - protected $isPrivate; - /** - * @var bool|null - */ - protected $isReadOnly; - /** - * @var bool|null - */ - protected $isShared; - /** - * @var bool|null - */ - protected $isThreadOnly; - /** - * @var string|null - */ - protected $lastRead; + public ?string $acceptedUser; + public ?int $created; + public ?string $creator; + public ?string $id; + public ?bool $isArchived; + public ?bool $isChannel; + public ?bool $isFrozen; + public ?bool $isGeneral; + public ?bool $isMember; + public ?int $isMoved; + public ?bool $isMpim; + public ?bool $isNonThreadable; + public ?bool $isOrgShared; + public ?bool $isPendingExtShared; + public ?bool $isPrivate; + public ?bool $isReadOnly; + public ?bool $isShared; + public ?bool $isThreadOnly; + public ?string $lastRead; /** * @var mixed|null */ - protected $latest; + public $latest; /** * @var list|null */ - protected $members; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $nameNormalized; - /** - * @var int|null - */ - protected $numMembers; + public ?array $members; + public ?string $name; + public ?string $nameNormalized; + public ?int $numMembers; /** * @var list|null */ - protected $pendingShared; + public ?array $pendingShared; /** * @var list|null */ - protected $previousNames; - /** - * @var float|null - */ - protected $priority; - /** - * @var ObjsChannelPurpose|null - */ - protected $purpose; - /** - * @var ObjsChannelTopic|null - */ - protected $topic; - /** - * @var int|null - */ - protected $unlinked; - /** - * @var int|null - */ - protected $unreadCount; - /** - * @var int|null - */ - protected $unreadCountDisplay; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAcceptedUser(): ?string - { - return $this->acceptedUser; - } - - public function setAcceptedUser(?string $acceptedUser): self - { - $this->initialized['acceptedUser'] = true; - $this->acceptedUser = $acceptedUser; - - return $this; - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsArchived(): ?bool - { - return $this->isArchived; - } - - public function setIsArchived(?bool $isArchived): self - { - $this->initialized['isArchived'] = true; - $this->isArchived = $isArchived; - - return $this; - } - - public function getIsChannel(): ?bool - { - return $this->isChannel; - } - - public function setIsChannel(?bool $isChannel): self - { - $this->initialized['isChannel'] = true; - $this->isChannel = $isChannel; - - return $this; - } - - public function getIsFrozen(): ?bool - { - return $this->isFrozen; - } - - public function setIsFrozen(?bool $isFrozen): self - { - $this->initialized['isFrozen'] = true; - $this->isFrozen = $isFrozen; - - return $this; - } - - public function getIsGeneral(): ?bool - { - return $this->isGeneral; - } - - public function setIsGeneral(?bool $isGeneral): self - { - $this->initialized['isGeneral'] = true; - $this->isGeneral = $isGeneral; - - return $this; - } - - public function getIsMember(): ?bool - { - return $this->isMember; - } - - public function setIsMember(?bool $isMember): self - { - $this->initialized['isMember'] = true; - $this->isMember = $isMember; - - return $this; - } - - public function getIsMoved(): ?int - { - return $this->isMoved; - } - - public function setIsMoved(?int $isMoved): self - { - $this->initialized['isMoved'] = true; - $this->isMoved = $isMoved; - - return $this; - } - - public function getIsMpim(): ?bool - { - return $this->isMpim; - } - - public function setIsMpim(?bool $isMpim): self - { - $this->initialized['isMpim'] = true; - $this->isMpim = $isMpim; - - return $this; - } - - public function getIsNonThreadable(): ?bool - { - return $this->isNonThreadable; - } - - public function setIsNonThreadable(?bool $isNonThreadable): self - { - $this->initialized['isNonThreadable'] = true; - $this->isNonThreadable = $isNonThreadable; - - return $this; - } - - public function getIsOrgShared(): ?bool - { - return $this->isOrgShared; - } - - public function setIsOrgShared(?bool $isOrgShared): self - { - $this->initialized['isOrgShared'] = true; - $this->isOrgShared = $isOrgShared; - - return $this; - } - - public function getIsPendingExtShared(): ?bool - { - return $this->isPendingExtShared; - } - - public function setIsPendingExtShared(?bool $isPendingExtShared): self - { - $this->initialized['isPendingExtShared'] = true; - $this->isPendingExtShared = $isPendingExtShared; - - return $this; - } - - public function getIsPrivate(): ?bool - { - return $this->isPrivate; - } - - public function setIsPrivate(?bool $isPrivate): self - { - $this->initialized['isPrivate'] = true; - $this->isPrivate = $isPrivate; - - return $this; - } - - public function getIsReadOnly(): ?bool - { - return $this->isReadOnly; - } - - public function setIsReadOnly(?bool $isReadOnly): self - { - $this->initialized['isReadOnly'] = true; - $this->isReadOnly = $isReadOnly; - - return $this; - } - - public function getIsShared(): ?bool - { - return $this->isShared; - } - - public function setIsShared(?bool $isShared): self - { - $this->initialized['isShared'] = true; - $this->isShared = $isShared; - - return $this; - } - - public function getIsThreadOnly(): ?bool - { - return $this->isThreadOnly; - } - - public function setIsThreadOnly(?bool $isThreadOnly): self - { - $this->initialized['isThreadOnly'] = true; - $this->isThreadOnly = $isThreadOnly; - - return $this; - } - - public function getLastRead(): ?string - { - return $this->lastRead; - } - - public function setLastRead(?string $lastRead): self - { - $this->initialized['lastRead'] = true; - $this->lastRead = $lastRead; - - return $this; - } - - public function getLatest() - { - return $this->latest; - } - - public function setLatest($latest): self - { - $this->initialized['latest'] = true; - $this->latest = $latest; - - return $this; - } - - /** - * @return list|null - */ - public function getMembers(): ?array - { - return $this->members; - } - - /** - * @param list|null $members - */ - public function setMembers(?array $members): self - { - $this->initialized['members'] = true; - $this->members = $members; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getNameNormalized(): ?string - { - return $this->nameNormalized; - } - - public function setNameNormalized(?string $nameNormalized): self - { - $this->initialized['nameNormalized'] = true; - $this->nameNormalized = $nameNormalized; - - return $this; - } - - public function getNumMembers(): ?int - { - return $this->numMembers; - } - - public function setNumMembers(?int $numMembers): self - { - $this->initialized['numMembers'] = true; - $this->numMembers = $numMembers; - - return $this; - } - - /** - * @return list|null - */ - public function getPendingShared(): ?array - { - return $this->pendingShared; - } - - /** - * @param list|null $pendingShared - */ - public function setPendingShared(?array $pendingShared): self - { - $this->initialized['pendingShared'] = true; - $this->pendingShared = $pendingShared; - - return $this; - } - - /** - * @return list|null - */ - public function getPreviousNames(): ?array - { - return $this->previousNames; - } - - /** - * @param list|null $previousNames - */ - public function setPreviousNames(?array $previousNames): self - { - $this->initialized['previousNames'] = true; - $this->previousNames = $previousNames; - - return $this; - } - - public function getPriority(): ?float - { - return $this->priority; - } - - public function setPriority(?float $priority): self - { - $this->initialized['priority'] = true; - $this->priority = $priority; - - return $this; - } - - public function getPurpose(): ?ObjsChannelPurpose - { - return $this->purpose; - } - - public function setPurpose(?ObjsChannelPurpose $purpose): self - { - $this->initialized['purpose'] = true; - $this->purpose = $purpose; - - return $this; - } - - public function getTopic(): ?ObjsChannelTopic - { - return $this->topic; - } - - public function setTopic(?ObjsChannelTopic $topic): self - { - $this->initialized['topic'] = true; - $this->topic = $topic; - - return $this; - } - - public function getUnlinked(): ?int - { - return $this->unlinked; - } - - public function setUnlinked(?int $unlinked): self - { - $this->initialized['unlinked'] = true; - $this->unlinked = $unlinked; - - return $this; - } - - public function getUnreadCount(): ?int - { - return $this->unreadCount; - } - - public function setUnreadCount(?int $unreadCount): self - { - $this->initialized['unreadCount'] = true; - $this->unreadCount = $unreadCount; - - return $this; - } - - public function getUnreadCountDisplay(): ?int - { - return $this->unreadCountDisplay; - } - - public function setUnreadCountDisplay(?int $unreadCountDisplay): self - { - $this->initialized['unreadCountDisplay'] = true; - $this->unreadCountDisplay = $unreadCountDisplay; - - return $this; - } + public ?array $previousNames; + public ?float $priority; + public ?ObjsChannelPurpose $purpose; + public ?ObjsChannelTopic $topic; + public ?int $unlinked; + public ?int $unreadCount; + public ?int $unreadCountDisplay; } diff --git a/generated/Model/ObjsChannelPurpose.php b/generated/Model/ObjsChannelPurpose.php index 744023cd..17adb89b 100644 --- a/generated/Model/ObjsChannelPurpose.php +++ b/generated/Model/ObjsChannelPurpose.php @@ -15,64 +15,7 @@ class ObjsChannelPurpose { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $creator; - /** - * @var int|null - */ - protected $lastSet; - /** - * @var string|null - */ - protected $value; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getLastSet(): ?int - { - return $this->lastSet; - } - - public function setLastSet(?int $lastSet): self - { - $this->initialized['lastSet'] = true; - $this->lastSet = $lastSet; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } + public ?string $creator; + public ?int $lastSet; + public ?string $value; } diff --git a/generated/Model/ObjsChannelTopic.php b/generated/Model/ObjsChannelTopic.php index 0d3c37ee..1b1c2ecc 100644 --- a/generated/Model/ObjsChannelTopic.php +++ b/generated/Model/ObjsChannelTopic.php @@ -15,64 +15,7 @@ class ObjsChannelTopic { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $creator; - /** - * @var int|null - */ - protected $lastSet; - /** - * @var string|null - */ - protected $value; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getLastSet(): ?int - { - return $this->lastSet; - } - - public function setLastSet(?int $lastSet): self - { - $this->initialized['lastSet'] = true; - $this->lastSet = $lastSet; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } + public ?string $creator; + public ?int $lastSet; + public ?string $value; } diff --git a/generated/Model/ObjsComment.php b/generated/Model/ObjsComment.php index 6c698cf6..45cbba0b 100644 --- a/generated/Model/ObjsComment.php +++ b/generated/Model/ObjsComment.php @@ -15,218 +15,27 @@ class ObjsComment { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $comment; - /** - * @var int|null - */ - protected $created; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isIntro; - /** - * @var bool|null - */ - protected $isStarred; - /** - * @var int|null - */ - protected $numStars; + public ?string $comment; + public ?int $created; + public ?string $id; + public ?bool $isIntro; + public ?bool $isStarred; + public ?int $numStars; /** * @var mixed|null */ - protected $pinnedInfo; + public $pinnedInfo; /** * @var list|null */ - protected $pinnedTo; + public ?array $pinnedTo; /** * @var list|null */ - protected $reactions; + public ?array $reactions; /** * @var int|string|null */ - protected $timestamp; - /** - * @var string|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getComment(): ?string - { - return $this->comment; - } - - public function setComment(?string $comment): self - { - $this->initialized['comment'] = true; - $this->comment = $comment; - - return $this; - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsIntro(): ?bool - { - return $this->isIntro; - } - - public function setIsIntro(?bool $isIntro): self - { - $this->initialized['isIntro'] = true; - $this->isIntro = $isIntro; - - return $this; - } - - public function getIsStarred(): ?bool - { - return $this->isStarred; - } - - public function setIsStarred(?bool $isStarred): self - { - $this->initialized['isStarred'] = true; - $this->isStarred = $isStarred; - - return $this; - } - - public function getNumStars(): ?int - { - return $this->numStars; - } - - public function setNumStars(?int $numStars): self - { - $this->initialized['numStars'] = true; - $this->numStars = $numStars; - - return $this; - } - - public function getPinnedInfo() - { - return $this->pinnedInfo; - } - - public function setPinnedInfo($pinnedInfo): self - { - $this->initialized['pinnedInfo'] = true; - $this->pinnedInfo = $pinnedInfo; - - return $this; - } - - /** - * @return list|null - */ - public function getPinnedTo(): ?array - { - return $this->pinnedTo; - } - - /** - * @param list|null $pinnedTo - */ - public function setPinnedTo(?array $pinnedTo): self - { - $this->initialized['pinnedTo'] = true; - $this->pinnedTo = $pinnedTo; - - return $this; - } - - /** - * @return list|null - */ - public function getReactions(): ?array - { - return $this->reactions; - } - - /** - * @param list|null $reactions - */ - public function setReactions(?array $reactions): self - { - $this->initialized['reactions'] = true; - $this->reactions = $reactions; - - return $this; - } - - /** - * @return int|string|null - */ - public function getTimestamp() - { - return $this->timestamp; - } - - /** - * @param int|string|null $timestamp - */ - public function setTimestamp($timestamp): self - { - $this->initialized['timestamp'] = true; - $this->timestamp = $timestamp; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public $timestamp; + public ?string $user; } diff --git a/generated/Model/ObjsConversation.php b/generated/Model/ObjsConversation.php index 5aead4f9..40263ca5 100644 --- a/generated/Model/ObjsConversation.php +++ b/generated/Model/ObjsConversation.php @@ -15,1030 +15,91 @@ class ObjsConversation { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $acceptedUser; + public ?string $acceptedUser; /** * @var list|null */ - protected $connectedTeamIds; - /** - * @var string|null - */ - protected $conversationHostId; - /** - * @var int|null - */ - protected $created; - /** - * @var string|null - */ - protected $creator; - /** - * @var ObjsConversationDisplayCounts|null - */ - protected $displayCounts; - /** - * @var string|null - */ - protected $enterpriseId; - /** - * @var bool|null - */ - protected $hasPins; - /** - * @var string|null - */ - protected $id; + public ?array $connectedTeamIds; + public ?string $conversationHostId; + public ?int $created; + public ?string $creator; + public ?ObjsConversationDisplayCounts $displayCounts; + public ?string $enterpriseId; + public ?bool $hasPins; + public ?string $id; /** * @var list|null */ - protected $internalTeamIds; - /** - * @var bool|null - */ - protected $isArchived; - /** - * @var bool|null - */ - protected $isChannel; - /** - * @var bool|null - */ - protected $isExtShared; - /** - * @var bool|null - */ - protected $isFrozen; - /** - * @var bool|null - */ - protected $isGeneral; - /** - * @var bool|null - */ - protected $isGlobalShared; - /** - * @var bool|null - */ - protected $isGroup; - /** - * @var bool|null - */ - protected $isIm; - /** - * @var bool|null - */ - protected $isMember; - /** - * @var int|null - */ - protected $isMoved; - /** - * @var bool|null - */ - protected $isMpim; - /** - * @var bool|null - */ - protected $isNonThreadable; - /** - * @var bool|null - */ - protected $isOpen; - /** - * @var bool|null - */ - protected $isOrgDefault; - /** - * @var bool|null - */ - protected $isOrgMandatory; - /** - * @var bool|null - */ - protected $isOrgShared; - /** - * @var bool|null - */ - protected $isPendingExtShared; - /** - * @var bool|null - */ - protected $isPrivate; - /** - * @var bool|null - */ - protected $isReadOnly; - /** - * @var bool|null - */ - protected $isShared; - /** - * @var bool|null - */ - protected $isStarred; - /** - * @var bool|null - */ - protected $isThreadOnly; - /** - * @var bool|null - */ - protected $isUserDeleted; - /** - * @var string|null - */ - protected $lastRead; + public ?array $internalTeamIds; + public ?bool $isArchived; + public ?bool $isChannel; + public ?bool $isExtShared; + public ?bool $isFrozen; + public ?bool $isGeneral; + public ?bool $isGlobalShared; + public ?bool $isGroup; + public ?bool $isIm; + public ?bool $isMember; + public ?int $isMoved; + public ?bool $isMpim; + public ?bool $isNonThreadable; + public ?bool $isOpen; + public ?bool $isOrgDefault; + public ?bool $isOrgMandatory; + public ?bool $isOrgShared; + public ?bool $isPendingExtShared; + public ?bool $isPrivate; + public ?bool $isReadOnly; + public ?bool $isShared; + public ?bool $isStarred; + public ?bool $isThreadOnly; + public ?bool $isUserDeleted; + public ?string $lastRead; /** * @var mixed|null */ - protected $latest; - /** - * @var string|null - */ - protected $locale; + public $latest; + public ?string $locale; /** * @var list|null */ - protected $members; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $nameNormalized; - /** - * @var int|null - */ - protected $numMembers; + public ?array $members; + public ?string $name; + public ?string $nameNormalized; + public ?int $numMembers; /** * @var mixed|null */ - protected $parentConversation; + public $parentConversation; /** * @var list|null */ - protected $pendingConnectedTeamIds; + public ?array $pendingConnectedTeamIds; /** * @var list|null */ - protected $pendingShared; - /** - * @var int|null - */ - protected $pinCount; + public ?array $pendingShared; + public ?int $pinCount; /** * @var list|null */ - protected $previousNames; - /** - * @var float|null - */ - protected $priority; - /** - * @var ObjsConversationPurpose|null - */ - protected $purpose; + public ?array $previousNames; + public ?float $priority; + public ?ObjsConversationPurpose $purpose; /** * @var list|null */ - protected $sharedTeamIds; + public ?array $sharedTeamIds; /** * @var list|null */ - protected $shares; - /** - * @var int|null - */ - protected $timezoneCount; - /** - * @var ObjsConversationTopic|null - */ - protected $topic; - /** - * @var int|null - */ - protected $unlinked; - /** - * @var int|null - */ - protected $unreadCount; - /** - * @var int|null - */ - protected $unreadCountDisplay; - /** - * @var string|null - */ - protected $useCase; - /** - * @var string|null - */ - protected $user; - /** - * @var int|null - */ - protected $version; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAcceptedUser(): ?string - { - return $this->acceptedUser; - } - - public function setAcceptedUser(?string $acceptedUser): self - { - $this->initialized['acceptedUser'] = true; - $this->acceptedUser = $acceptedUser; - - return $this; - } - - /** - * @return list|null - */ - public function getConnectedTeamIds(): ?array - { - return $this->connectedTeamIds; - } - - /** - * @param list|null $connectedTeamIds - */ - public function setConnectedTeamIds(?array $connectedTeamIds): self - { - $this->initialized['connectedTeamIds'] = true; - $this->connectedTeamIds = $connectedTeamIds; - - return $this; - } - - public function getConversationHostId(): ?string - { - return $this->conversationHostId; - } - - public function setConversationHostId(?string $conversationHostId): self - { - $this->initialized['conversationHostId'] = true; - $this->conversationHostId = $conversationHostId; - - return $this; - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getDisplayCounts(): ?ObjsConversationDisplayCounts - { - return $this->displayCounts; - } - - public function setDisplayCounts(?ObjsConversationDisplayCounts $displayCounts): self - { - $this->initialized['displayCounts'] = true; - $this->displayCounts = $displayCounts; - - return $this; - } - - public function getEnterpriseId(): ?string - { - return $this->enterpriseId; - } - - public function setEnterpriseId(?string $enterpriseId): self - { - $this->initialized['enterpriseId'] = true; - $this->enterpriseId = $enterpriseId; - - return $this; - } - - public function getHasPins(): ?bool - { - return $this->hasPins; - } - - public function setHasPins(?bool $hasPins): self - { - $this->initialized['hasPins'] = true; - $this->hasPins = $hasPins; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * @return list|null - */ - public function getInternalTeamIds(): ?array - { - return $this->internalTeamIds; - } - - /** - * @param list|null $internalTeamIds - */ - public function setInternalTeamIds(?array $internalTeamIds): self - { - $this->initialized['internalTeamIds'] = true; - $this->internalTeamIds = $internalTeamIds; - - return $this; - } - - public function getIsArchived(): ?bool - { - return $this->isArchived; - } - - public function setIsArchived(?bool $isArchived): self - { - $this->initialized['isArchived'] = true; - $this->isArchived = $isArchived; - - return $this; - } - - public function getIsChannel(): ?bool - { - return $this->isChannel; - } - - public function setIsChannel(?bool $isChannel): self - { - $this->initialized['isChannel'] = true; - $this->isChannel = $isChannel; - - return $this; - } - - public function getIsExtShared(): ?bool - { - return $this->isExtShared; - } - - public function setIsExtShared(?bool $isExtShared): self - { - $this->initialized['isExtShared'] = true; - $this->isExtShared = $isExtShared; - - return $this; - } - - public function getIsFrozen(): ?bool - { - return $this->isFrozen; - } - - public function setIsFrozen(?bool $isFrozen): self - { - $this->initialized['isFrozen'] = true; - $this->isFrozen = $isFrozen; - - return $this; - } - - public function getIsGeneral(): ?bool - { - return $this->isGeneral; - } - - public function setIsGeneral(?bool $isGeneral): self - { - $this->initialized['isGeneral'] = true; - $this->isGeneral = $isGeneral; - - return $this; - } - - public function getIsGlobalShared(): ?bool - { - return $this->isGlobalShared; - } - - public function setIsGlobalShared(?bool $isGlobalShared): self - { - $this->initialized['isGlobalShared'] = true; - $this->isGlobalShared = $isGlobalShared; - - return $this; - } - - public function getIsGroup(): ?bool - { - return $this->isGroup; - } - - public function setIsGroup(?bool $isGroup): self - { - $this->initialized['isGroup'] = true; - $this->isGroup = $isGroup; - - return $this; - } - - public function getIsIm(): ?bool - { - return $this->isIm; - } - - public function setIsIm(?bool $isIm): self - { - $this->initialized['isIm'] = true; - $this->isIm = $isIm; - - return $this; - } - - public function getIsMember(): ?bool - { - return $this->isMember; - } - - public function setIsMember(?bool $isMember): self - { - $this->initialized['isMember'] = true; - $this->isMember = $isMember; - - return $this; - } - - public function getIsMoved(): ?int - { - return $this->isMoved; - } - - public function setIsMoved(?int $isMoved): self - { - $this->initialized['isMoved'] = true; - $this->isMoved = $isMoved; - - return $this; - } - - public function getIsMpim(): ?bool - { - return $this->isMpim; - } - - public function setIsMpim(?bool $isMpim): self - { - $this->initialized['isMpim'] = true; - $this->isMpim = $isMpim; - - return $this; - } - - public function getIsNonThreadable(): ?bool - { - return $this->isNonThreadable; - } - - public function setIsNonThreadable(?bool $isNonThreadable): self - { - $this->initialized['isNonThreadable'] = true; - $this->isNonThreadable = $isNonThreadable; - - return $this; - } - - public function getIsOpen(): ?bool - { - return $this->isOpen; - } - - public function setIsOpen(?bool $isOpen): self - { - $this->initialized['isOpen'] = true; - $this->isOpen = $isOpen; - - return $this; - } - - public function getIsOrgDefault(): ?bool - { - return $this->isOrgDefault; - } - - public function setIsOrgDefault(?bool $isOrgDefault): self - { - $this->initialized['isOrgDefault'] = true; - $this->isOrgDefault = $isOrgDefault; - - return $this; - } - - public function getIsOrgMandatory(): ?bool - { - return $this->isOrgMandatory; - } - - public function setIsOrgMandatory(?bool $isOrgMandatory): self - { - $this->initialized['isOrgMandatory'] = true; - $this->isOrgMandatory = $isOrgMandatory; - - return $this; - } - - public function getIsOrgShared(): ?bool - { - return $this->isOrgShared; - } - - public function setIsOrgShared(?bool $isOrgShared): self - { - $this->initialized['isOrgShared'] = true; - $this->isOrgShared = $isOrgShared; - - return $this; - } - - public function getIsPendingExtShared(): ?bool - { - return $this->isPendingExtShared; - } - - public function setIsPendingExtShared(?bool $isPendingExtShared): self - { - $this->initialized['isPendingExtShared'] = true; - $this->isPendingExtShared = $isPendingExtShared; - - return $this; - } - - public function getIsPrivate(): ?bool - { - return $this->isPrivate; - } - - public function setIsPrivate(?bool $isPrivate): self - { - $this->initialized['isPrivate'] = true; - $this->isPrivate = $isPrivate; - - return $this; - } - - public function getIsReadOnly(): ?bool - { - return $this->isReadOnly; - } - - public function setIsReadOnly(?bool $isReadOnly): self - { - $this->initialized['isReadOnly'] = true; - $this->isReadOnly = $isReadOnly; - - return $this; - } - - public function getIsShared(): ?bool - { - return $this->isShared; - } - - public function setIsShared(?bool $isShared): self - { - $this->initialized['isShared'] = true; - $this->isShared = $isShared; - - return $this; - } - - public function getIsStarred(): ?bool - { - return $this->isStarred; - } - - public function setIsStarred(?bool $isStarred): self - { - $this->initialized['isStarred'] = true; - $this->isStarred = $isStarred; - - return $this; - } - - public function getIsThreadOnly(): ?bool - { - return $this->isThreadOnly; - } - - public function setIsThreadOnly(?bool $isThreadOnly): self - { - $this->initialized['isThreadOnly'] = true; - $this->isThreadOnly = $isThreadOnly; - - return $this; - } - - public function getIsUserDeleted(): ?bool - { - return $this->isUserDeleted; - } - - public function setIsUserDeleted(?bool $isUserDeleted): self - { - $this->initialized['isUserDeleted'] = true; - $this->isUserDeleted = $isUserDeleted; - - return $this; - } - - public function getLastRead(): ?string - { - return $this->lastRead; - } - - public function setLastRead(?string $lastRead): self - { - $this->initialized['lastRead'] = true; - $this->lastRead = $lastRead; - - return $this; - } - - public function getLatest() - { - return $this->latest; - } - - public function setLatest($latest): self - { - $this->initialized['latest'] = true; - $this->latest = $latest; - - return $this; - } - - public function getLocale(): ?string - { - return $this->locale; - } - - public function setLocale(?string $locale): self - { - $this->initialized['locale'] = true; - $this->locale = $locale; - - return $this; - } - - /** - * @return list|null - */ - public function getMembers(): ?array - { - return $this->members; - } - - /** - * @param list|null $members - */ - public function setMembers(?array $members): self - { - $this->initialized['members'] = true; - $this->members = $members; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getNameNormalized(): ?string - { - return $this->nameNormalized; - } - - public function setNameNormalized(?string $nameNormalized): self - { - $this->initialized['nameNormalized'] = true; - $this->nameNormalized = $nameNormalized; - - return $this; - } - - public function getNumMembers(): ?int - { - return $this->numMembers; - } - - public function setNumMembers(?int $numMembers): self - { - $this->initialized['numMembers'] = true; - $this->numMembers = $numMembers; - - return $this; - } - - public function getParentConversation() - { - return $this->parentConversation; - } - - public function setParentConversation($parentConversation): self - { - $this->initialized['parentConversation'] = true; - $this->parentConversation = $parentConversation; - - return $this; - } - - /** - * @return list|null - */ - public function getPendingConnectedTeamIds(): ?array - { - return $this->pendingConnectedTeamIds; - } - - /** - * @param list|null $pendingConnectedTeamIds - */ - public function setPendingConnectedTeamIds(?array $pendingConnectedTeamIds): self - { - $this->initialized['pendingConnectedTeamIds'] = true; - $this->pendingConnectedTeamIds = $pendingConnectedTeamIds; - - return $this; - } - - /** - * @return list|null - */ - public function getPendingShared(): ?array - { - return $this->pendingShared; - } - - /** - * @param list|null $pendingShared - */ - public function setPendingShared(?array $pendingShared): self - { - $this->initialized['pendingShared'] = true; - $this->pendingShared = $pendingShared; - - return $this; - } - - public function getPinCount(): ?int - { - return $this->pinCount; - } - - public function setPinCount(?int $pinCount): self - { - $this->initialized['pinCount'] = true; - $this->pinCount = $pinCount; - - return $this; - } - - /** - * @return list|null - */ - public function getPreviousNames(): ?array - { - return $this->previousNames; - } - - /** - * @param list|null $previousNames - */ - public function setPreviousNames(?array $previousNames): self - { - $this->initialized['previousNames'] = true; - $this->previousNames = $previousNames; - - return $this; - } - - public function getPriority(): ?float - { - return $this->priority; - } - - public function setPriority(?float $priority): self - { - $this->initialized['priority'] = true; - $this->priority = $priority; - - return $this; - } - - public function getPurpose(): ?ObjsConversationPurpose - { - return $this->purpose; - } - - public function setPurpose(?ObjsConversationPurpose $purpose): self - { - $this->initialized['purpose'] = true; - $this->purpose = $purpose; - - return $this; - } - - /** - * @return list|null - */ - public function getSharedTeamIds(): ?array - { - return $this->sharedTeamIds; - } - - /** - * @param list|null $sharedTeamIds - */ - public function setSharedTeamIds(?array $sharedTeamIds): self - { - $this->initialized['sharedTeamIds'] = true; - $this->sharedTeamIds = $sharedTeamIds; - - return $this; - } - - /** - * @return list|null - */ - public function getShares(): ?array - { - return $this->shares; - } - - /** - * @param list|null $shares - */ - public function setShares(?array $shares): self - { - $this->initialized['shares'] = true; - $this->shares = $shares; - - return $this; - } - - public function getTimezoneCount(): ?int - { - return $this->timezoneCount; - } - - public function setTimezoneCount(?int $timezoneCount): self - { - $this->initialized['timezoneCount'] = true; - $this->timezoneCount = $timezoneCount; - - return $this; - } - - public function getTopic(): ?ObjsConversationTopic - { - return $this->topic; - } - - public function setTopic(?ObjsConversationTopic $topic): self - { - $this->initialized['topic'] = true; - $this->topic = $topic; - - return $this; - } - - public function getUnlinked(): ?int - { - return $this->unlinked; - } - - public function setUnlinked(?int $unlinked): self - { - $this->initialized['unlinked'] = true; - $this->unlinked = $unlinked; - - return $this; - } - - public function getUnreadCount(): ?int - { - return $this->unreadCount; - } - - public function setUnreadCount(?int $unreadCount): self - { - $this->initialized['unreadCount'] = true; - $this->unreadCount = $unreadCount; - - return $this; - } - - public function getUnreadCountDisplay(): ?int - { - return $this->unreadCountDisplay; - } - - public function setUnreadCountDisplay(?int $unreadCountDisplay): self - { - $this->initialized['unreadCountDisplay'] = true; - $this->unreadCountDisplay = $unreadCountDisplay; - - return $this; - } - - public function getUseCase(): ?string - { - return $this->useCase; - } - - public function setUseCase(?string $useCase): self - { - $this->initialized['useCase'] = true; - $this->useCase = $useCase; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getVersion(): ?int - { - return $this->version; - } - - public function setVersion(?int $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } + public ?array $shares; + public ?int $timezoneCount; + public ?ObjsConversationTopic $topic; + public ?int $unlinked; + public ?int $unreadCount; + public ?int $unreadCountDisplay; + public ?string $useCase; + public ?string $user; + public ?int $version; } diff --git a/generated/Model/ObjsConversationDisplayCounts.php b/generated/Model/ObjsConversationDisplayCounts.php index ca856bf7..e045ccd2 100644 --- a/generated/Model/ObjsConversationDisplayCounts.php +++ b/generated/Model/ObjsConversationDisplayCounts.php @@ -15,47 +15,6 @@ class ObjsConversationDisplayCounts { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $displayCounts; - /** - * @var int|null - */ - protected $guestCounts; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDisplayCounts(): ?int - { - return $this->displayCounts; - } - - public function setDisplayCounts(?int $displayCounts): self - { - $this->initialized['displayCounts'] = true; - $this->displayCounts = $displayCounts; - - return $this; - } - - public function getGuestCounts(): ?int - { - return $this->guestCounts; - } - - public function setGuestCounts(?int $guestCounts): self - { - $this->initialized['guestCounts'] = true; - $this->guestCounts = $guestCounts; - - return $this; - } + public ?int $displayCounts; + public ?int $guestCounts; } diff --git a/generated/Model/ObjsConversationPurpose.php b/generated/Model/ObjsConversationPurpose.php index 34f42dfc..1d193278 100644 --- a/generated/Model/ObjsConversationPurpose.php +++ b/generated/Model/ObjsConversationPurpose.php @@ -15,64 +15,7 @@ class ObjsConversationPurpose { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $creator; - /** - * @var int|null - */ - protected $lastSet; - /** - * @var string|null - */ - protected $value; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getLastSet(): ?int - { - return $this->lastSet; - } - - public function setLastSet(?int $lastSet): self - { - $this->initialized['lastSet'] = true; - $this->lastSet = $lastSet; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } + public ?string $creator; + public ?int $lastSet; + public ?string $value; } diff --git a/generated/Model/ObjsConversationSharesItem.php b/generated/Model/ObjsConversationSharesItem.php index 4e0002fe..aec9fd54 100644 --- a/generated/Model/ObjsConversationSharesItem.php +++ b/generated/Model/ObjsConversationSharesItem.php @@ -15,132 +15,11 @@ class ObjsConversationSharesItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $acceptedUser; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isActive; - /** - * @var string|null - */ - protected $name; - /** - * @var ObjsTeam|null - */ - protected $team; - /** - * @var string|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAcceptedUser(): ?string - { - return $this->acceptedUser; - } - - public function setAcceptedUser(?string $acceptedUser): self - { - $this->initialized['acceptedUser'] = true; - $this->acceptedUser = $acceptedUser; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsActive(): ?bool - { - return $this->isActive; - } - - public function setIsActive(?bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getTeam(): ?ObjsTeam - { - return $this->team; - } - - public function setTeam(?ObjsTeam $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?string $acceptedUser; + public ?int $dateCreate; + public ?string $id; + public ?bool $isActive; + public ?string $name; + public ?ObjsTeam $team; + public ?string $user; } diff --git a/generated/Model/ObjsConversationTopic.php b/generated/Model/ObjsConversationTopic.php index 17c2c983..abcdcbfa 100644 --- a/generated/Model/ObjsConversationTopic.php +++ b/generated/Model/ObjsConversationTopic.php @@ -15,64 +15,7 @@ class ObjsConversationTopic { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $creator; - /** - * @var int|null - */ - protected $lastSet; - /** - * @var string|null - */ - protected $value; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getLastSet(): ?int - { - return $this->lastSet; - } - - public function setLastSet(?int $lastSet): self - { - $this->initialized['lastSet'] = true; - $this->lastSet = $lastSet; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } + public ?string $creator; + public ?int $lastSet; + public ?string $value; } diff --git a/generated/Model/ObjsEnterpriseUser.php b/generated/Model/ObjsEnterpriseUser.php index 4dc33277..1cc8ac76 100644 --- a/generated/Model/ObjsEnterpriseUser.php +++ b/generated/Model/ObjsEnterpriseUser.php @@ -15,121 +15,13 @@ class ObjsEnterpriseUser { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $enterpriseId; - /** - * @var string|null - */ - protected $enterpriseName; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isAdmin; - /** - * @var bool|null - */ - protected $isOwner; + public ?string $enterpriseId; + public ?string $enterpriseName; + public ?string $id; + public ?bool $isAdmin; + public ?bool $isOwner; /** * @var list|null */ - protected $teams; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEnterpriseId(): ?string - { - return $this->enterpriseId; - } - - public function setEnterpriseId(?string $enterpriseId): self - { - $this->initialized['enterpriseId'] = true; - $this->enterpriseId = $enterpriseId; - - return $this; - } - - public function getEnterpriseName(): ?string - { - return $this->enterpriseName; - } - - public function setEnterpriseName(?string $enterpriseName): self - { - $this->initialized['enterpriseName'] = true; - $this->enterpriseName = $enterpriseName; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsAdmin(): ?bool - { - return $this->isAdmin; - } - - public function setIsAdmin(?bool $isAdmin): self - { - $this->initialized['isAdmin'] = true; - $this->isAdmin = $isAdmin; - - return $this; - } - - public function getIsOwner(): ?bool - { - return $this->isOwner; - } - - public function setIsOwner(?bool $isOwner): self - { - $this->initialized['isOwner'] = true; - $this->isOwner = $isOwner; - - return $this; - } - - /** - * @return list|null - */ - public function getTeams(): ?array - { - return $this->teams; - } - - /** - * @param list|null $teams - */ - public function setTeams(?array $teams): self - { - $this->initialized['teams'] = true; - $this->teams = $teams; - - return $this; - } + public ?array $teams; } diff --git a/generated/Model/ObjsExternalOrgMigrations.php b/generated/Model/ObjsExternalOrgMigrations.php index ed089b7c..93f994fe 100644 --- a/generated/Model/ObjsExternalOrgMigrations.php +++ b/generated/Model/ObjsExternalOrgMigrations.php @@ -15,53 +15,9 @@ class ObjsExternalOrgMigrations { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $current; - /** - * @var int|null - */ - protected $dateUpdated; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getCurrent(): ?array - { - return $this->current; - } - - /** - * @param list|null $current - */ - public function setCurrent(?array $current): self - { - $this->initialized['current'] = true; - $this->current = $current; - - return $this; - } - - public function getDateUpdated(): ?int - { - return $this->dateUpdated; - } - - public function setDateUpdated(?int $dateUpdated): self - { - $this->initialized['dateUpdated'] = true; - $this->dateUpdated = $dateUpdated; - - return $this; - } + public ?array $current; + public ?int $dateUpdated; } diff --git a/generated/Model/ObjsExternalOrgMigrationsCurrentItem.php b/generated/Model/ObjsExternalOrgMigrationsCurrentItem.php index 26094612..090e07e2 100644 --- a/generated/Model/ObjsExternalOrgMigrationsCurrentItem.php +++ b/generated/Model/ObjsExternalOrgMigrationsCurrentItem.php @@ -15,47 +15,6 @@ class ObjsExternalOrgMigrationsCurrentItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $dateStarted; - /** - * @var string|null - */ - protected $teamId; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDateStarted(): ?int - { - return $this->dateStarted; - } - - public function setDateStarted(?int $dateStarted): self - { - $this->initialized['dateStarted'] = true; - $this->dateStarted = $dateStarted; - - return $this; - } - - public function getTeamId(): ?string - { - return $this->teamId; - } - - public function setTeamId(?string $teamId): self - { - $this->initialized['teamId'] = true; - $this->teamId = $teamId; - - return $this; - } + public ?int $dateStarted; + public ?string $teamId; } diff --git a/generated/Model/ObjsFile.php b/generated/Model/ObjsFile.php index 54bf6515..cb732a2b 100644 --- a/generated/Model/ObjsFile.php +++ b/generated/Model/ObjsFile.php @@ -15,1290 +15,98 @@ class ObjsFile { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $channels; - /** - * @var int|null - */ - protected $commentsCount; - /** - * @var int|null - */ - protected $created; - /** - * @var int|null - */ - protected $dateDelete; - /** - * @var string|null - */ - protected $deanimateGif; - /** - * @var bool|null - */ - protected $displayAsBot; - /** - * @var bool|null - */ - protected $editable; - /** - * @var string|null - */ - protected $editor; - /** - * @var string|null - */ - protected $externalId; - /** - * @var string|null - */ - protected $externalType; - /** - * @var string|null - */ - protected $externalUrl; - /** - * @var string|null - */ - protected $filetype; + public ?array $channels; + public ?int $commentsCount; + public ?int $created; + public ?int $dateDelete; + public ?string $deanimateGif; + public ?bool $displayAsBot; + public ?bool $editable; + public ?string $editor; + public ?string $externalId; + public ?string $externalType; + public ?string $externalUrl; + public ?string $filetype; /** * @var list|null */ - protected $groups; - /** - * @var bool|null - */ - protected $hasRichPreview; - /** - * @var string|null - */ - protected $id; - /** - * @var int|null - */ - protected $imageExifRotation; + public ?array $groups; + public ?bool $hasRichPreview; + public ?string $id; + public ?int $imageExifRotation; /** * @var list|null */ - protected $ims; - /** - * @var bool|null - */ - protected $isExternal; - /** - * @var bool|null - */ - protected $isPublic; - /** - * @var bool|null - */ - protected $isStarred; - /** - * @var bool|null - */ - protected $isTombstoned; - /** - * @var string|null - */ - protected $lastEditor; - /** - * @var string|null - */ - protected $mimetype; - /** - * @var string|null - */ - protected $mode; - /** - * @var string|null - */ - protected $name; - /** - * @var bool|null - */ - protected $nonOwnerEditable; - /** - * @var int|null - */ - protected $numStars; - /** - * @var int|null - */ - protected $originalH; - /** - * @var int|null - */ - protected $originalW; - /** - * @var string|null - */ - protected $permalink; - /** - * @var string|null - */ - protected $permalinkPublic; + public ?array $ims; + public ?bool $isExternal; + public ?bool $isPublic; + public ?bool $isStarred; + public ?bool $isTombstoned; + public ?string $lastEditor; + public ?string $mimetype; + public ?string $mode; + public ?string $name; + public ?bool $nonOwnerEditable; + public ?int $numStars; + public ?int $originalH; + public ?int $originalW; + public ?string $permalink; + public ?string $permalinkPublic; /** * @var mixed|null */ - protected $pinnedInfo; + public $pinnedInfo; /** * @var list|null */ - protected $pinnedTo; - /** - * @var string|null - */ - protected $pjpeg; - /** - * @var string|null - */ - protected $prettyType; - /** - * @var string|null - */ - protected $preview; - /** - * @var bool|null - */ - protected $publicUrlShared; + public ?array $pinnedTo; + public ?string $pjpeg; + public ?string $prettyType; + public ?string $preview; + public ?bool $publicUrlShared; /** * @var list|null */ - protected $reactions; - /** - * @var ObjsFileShares|null - */ - protected $shares; - /** - * @var int|null - */ - protected $size; - /** - * @var string|null - */ - protected $sourceTeam; - /** - * @var string|null - */ - protected $state; - /** - * @var string|null - */ - protected $thumb1024; - /** - * @var int|null - */ - protected $thumb1024H; - /** - * @var int|null - */ - protected $thumb1024W; - /** - * @var string|null - */ - protected $thumb160; - /** - * @var string|null - */ - protected $thumb360; - /** - * @var string|null - */ - protected $thumb360Gif; - /** - * @var int|null - */ - protected $thumb360H; - /** - * @var int|null - */ - protected $thumb360W; - /** - * @var string|null - */ - protected $thumb480; - /** - * @var int|null - */ - protected $thumb480H; - /** - * @var int|null - */ - protected $thumb480W; - /** - * @var string|null - */ - protected $thumb64; - /** - * @var string|null - */ - protected $thumb720; - /** - * @var int|null - */ - protected $thumb720H; - /** - * @var int|null - */ - protected $thumb720W; - /** - * @var string|null - */ - protected $thumb80; - /** - * @var string|null - */ - protected $thumb800; - /** - * @var int|null - */ - protected $thumb800H; - /** - * @var int|null - */ - protected $thumb800W; - /** - * @var string|null - */ - protected $thumb960; - /** - * @var int|null - */ - protected $thumb960H; - /** - * @var int|null - */ - protected $thumb960W; - /** - * @var string|null - */ - protected $thumbTiny; + public ?array $reactions; + public ?ObjsFileShares $shares; + public ?int $size; + public ?string $sourceTeam; + public ?string $state; + public ?string $thumb1024; + public ?int $thumb1024H; + public ?int $thumb1024W; + public ?string $thumb160; + public ?string $thumb360; + public ?string $thumb360Gif; + public ?int $thumb360H; + public ?int $thumb360W; + public ?string $thumb480; + public ?int $thumb480H; + public ?int $thumb480W; + public ?string $thumb64; + public ?string $thumb720; + public ?int $thumb720H; + public ?int $thumb720W; + public ?string $thumb80; + public ?string $thumb800; + public ?int $thumb800H; + public ?int $thumb800W; + public ?string $thumb960; + public ?int $thumb960H; + public ?int $thumb960W; + public ?string $thumbTiny; /** * @var int|string|null */ - protected $timestamp; - /** - * @var string|null - */ - protected $title; - /** - * @var int|null - */ - protected $updated; - /** - * @var string|null - */ - protected $urlPrivate; - /** - * @var string|null - */ - protected $urlPrivateDownload; - /** - * @var string|null - */ - protected $user; - /** - * @var string|null - */ - protected $userTeam; - /** - * @var string|null - */ - protected $username; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getChannels(): ?array - { - return $this->channels; - } - - /** - * @param list|null $channels - */ - public function setChannels(?array $channels): self - { - $this->initialized['channels'] = true; - $this->channels = $channels; - - return $this; - } - - public function getCommentsCount(): ?int - { - return $this->commentsCount; - } - - public function setCommentsCount(?int $commentsCount): self - { - $this->initialized['commentsCount'] = true; - $this->commentsCount = $commentsCount; - - return $this; - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getDateDelete(): ?int - { - return $this->dateDelete; - } - - public function setDateDelete(?int $dateDelete): self - { - $this->initialized['dateDelete'] = true; - $this->dateDelete = $dateDelete; - - return $this; - } - - public function getDeanimateGif(): ?string - { - return $this->deanimateGif; - } - - public function setDeanimateGif(?string $deanimateGif): self - { - $this->initialized['deanimateGif'] = true; - $this->deanimateGif = $deanimateGif; - - return $this; - } - - public function getDisplayAsBot(): ?bool - { - return $this->displayAsBot; - } - - public function setDisplayAsBot(?bool $displayAsBot): self - { - $this->initialized['displayAsBot'] = true; - $this->displayAsBot = $displayAsBot; - - return $this; - } - - public function getEditable(): ?bool - { - return $this->editable; - } - - public function setEditable(?bool $editable): self - { - $this->initialized['editable'] = true; - $this->editable = $editable; - - return $this; - } - - public function getEditor(): ?string - { - return $this->editor; - } - - public function setEditor(?string $editor): self - { - $this->initialized['editor'] = true; - $this->editor = $editor; - - return $this; - } - - public function getExternalId(): ?string - { - return $this->externalId; - } - - public function setExternalId(?string $externalId): self - { - $this->initialized['externalId'] = true; - $this->externalId = $externalId; - - return $this; - } - - public function getExternalType(): ?string - { - return $this->externalType; - } - - public function setExternalType(?string $externalType): self - { - $this->initialized['externalType'] = true; - $this->externalType = $externalType; - - return $this; - } - - public function getExternalUrl(): ?string - { - return $this->externalUrl; - } - - public function setExternalUrl(?string $externalUrl): self - { - $this->initialized['externalUrl'] = true; - $this->externalUrl = $externalUrl; - - return $this; - } - - public function getFiletype(): ?string - { - return $this->filetype; - } - - public function setFiletype(?string $filetype): self - { - $this->initialized['filetype'] = true; - $this->filetype = $filetype; - - return $this; - } - - /** - * @return list|null - */ - public function getGroups(): ?array - { - return $this->groups; - } - - /** - * @param list|null $groups - */ - public function setGroups(?array $groups): self - { - $this->initialized['groups'] = true; - $this->groups = $groups; - - return $this; - } - - public function getHasRichPreview(): ?bool - { - return $this->hasRichPreview; - } - - public function setHasRichPreview(?bool $hasRichPreview): self - { - $this->initialized['hasRichPreview'] = true; - $this->hasRichPreview = $hasRichPreview; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getImageExifRotation(): ?int - { - return $this->imageExifRotation; - } - - public function setImageExifRotation(?int $imageExifRotation): self - { - $this->initialized['imageExifRotation'] = true; - $this->imageExifRotation = $imageExifRotation; - - return $this; - } - - /** - * @return list|null - */ - public function getIms(): ?array - { - return $this->ims; - } - - /** - * @param list|null $ims - */ - public function setIms(?array $ims): self - { - $this->initialized['ims'] = true; - $this->ims = $ims; - - return $this; - } - - public function getIsExternal(): ?bool - { - return $this->isExternal; - } - - public function setIsExternal(?bool $isExternal): self - { - $this->initialized['isExternal'] = true; - $this->isExternal = $isExternal; - - return $this; - } - - public function getIsPublic(): ?bool - { - return $this->isPublic; - } - - public function setIsPublic(?bool $isPublic): self - { - $this->initialized['isPublic'] = true; - $this->isPublic = $isPublic; - - return $this; - } - - public function getIsStarred(): ?bool - { - return $this->isStarred; - } - - public function setIsStarred(?bool $isStarred): self - { - $this->initialized['isStarred'] = true; - $this->isStarred = $isStarred; - - return $this; - } - - public function getIsTombstoned(): ?bool - { - return $this->isTombstoned; - } - - public function setIsTombstoned(?bool $isTombstoned): self - { - $this->initialized['isTombstoned'] = true; - $this->isTombstoned = $isTombstoned; - - return $this; - } - - public function getLastEditor(): ?string - { - return $this->lastEditor; - } - - public function setLastEditor(?string $lastEditor): self - { - $this->initialized['lastEditor'] = true; - $this->lastEditor = $lastEditor; - - return $this; - } - - public function getMimetype(): ?string - { - return $this->mimetype; - } - - public function setMimetype(?string $mimetype): self - { - $this->initialized['mimetype'] = true; - $this->mimetype = $mimetype; - - return $this; - } - - public function getMode(): ?string - { - return $this->mode; - } - - public function setMode(?string $mode): self - { - $this->initialized['mode'] = true; - $this->mode = $mode; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getNonOwnerEditable(): ?bool - { - return $this->nonOwnerEditable; - } - - public function setNonOwnerEditable(?bool $nonOwnerEditable): self - { - $this->initialized['nonOwnerEditable'] = true; - $this->nonOwnerEditable = $nonOwnerEditable; - - return $this; - } - - public function getNumStars(): ?int - { - return $this->numStars; - } - - public function setNumStars(?int $numStars): self - { - $this->initialized['numStars'] = true; - $this->numStars = $numStars; - - return $this; - } - - public function getOriginalH(): ?int - { - return $this->originalH; - } - - public function setOriginalH(?int $originalH): self - { - $this->initialized['originalH'] = true; - $this->originalH = $originalH; - - return $this; - } - - public function getOriginalW(): ?int - { - return $this->originalW; - } - - public function setOriginalW(?int $originalW): self - { - $this->initialized['originalW'] = true; - $this->originalW = $originalW; - - return $this; - } - - public function getPermalink(): ?string - { - return $this->permalink; - } - - public function setPermalink(?string $permalink): self - { - $this->initialized['permalink'] = true; - $this->permalink = $permalink; - - return $this; - } - - public function getPermalinkPublic(): ?string - { - return $this->permalinkPublic; - } - - public function setPermalinkPublic(?string $permalinkPublic): self - { - $this->initialized['permalinkPublic'] = true; - $this->permalinkPublic = $permalinkPublic; - - return $this; - } - - public function getPinnedInfo() - { - return $this->pinnedInfo; - } - - public function setPinnedInfo($pinnedInfo): self - { - $this->initialized['pinnedInfo'] = true; - $this->pinnedInfo = $pinnedInfo; - - return $this; - } - - /** - * @return list|null - */ - public function getPinnedTo(): ?array - { - return $this->pinnedTo; - } - - /** - * @param list|null $pinnedTo - */ - public function setPinnedTo(?array $pinnedTo): self - { - $this->initialized['pinnedTo'] = true; - $this->pinnedTo = $pinnedTo; - - return $this; - } - - public function getPjpeg(): ?string - { - return $this->pjpeg; - } - - public function setPjpeg(?string $pjpeg): self - { - $this->initialized['pjpeg'] = true; - $this->pjpeg = $pjpeg; - - return $this; - } - - public function getPrettyType(): ?string - { - return $this->prettyType; - } - - public function setPrettyType(?string $prettyType): self - { - $this->initialized['prettyType'] = true; - $this->prettyType = $prettyType; - - return $this; - } - - public function getPreview(): ?string - { - return $this->preview; - } - - public function setPreview(?string $preview): self - { - $this->initialized['preview'] = true; - $this->preview = $preview; - - return $this; - } - - public function getPublicUrlShared(): ?bool - { - return $this->publicUrlShared; - } - - public function setPublicUrlShared(?bool $publicUrlShared): self - { - $this->initialized['publicUrlShared'] = true; - $this->publicUrlShared = $publicUrlShared; - - return $this; - } - - /** - * @return list|null - */ - public function getReactions(): ?array - { - return $this->reactions; - } - - /** - * @param list|null $reactions - */ - public function setReactions(?array $reactions): self - { - $this->initialized['reactions'] = true; - $this->reactions = $reactions; - - return $this; - } - - public function getShares(): ?ObjsFileShares - { - return $this->shares; - } - - public function setShares(?ObjsFileShares $shares): self - { - $this->initialized['shares'] = true; - $this->shares = $shares; - - return $this; - } - - public function getSize(): ?int - { - return $this->size; - } - - public function setSize(?int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } - - public function getSourceTeam(): ?string - { - return $this->sourceTeam; - } - - public function setSourceTeam(?string $sourceTeam): self - { - $this->initialized['sourceTeam'] = true; - $this->sourceTeam = $sourceTeam; - - return $this; - } - - public function getState(): ?string - { - return $this->state; - } - - public function setState(?string $state): self - { - $this->initialized['state'] = true; - $this->state = $state; - - return $this; - } - - public function getThumb1024(): ?string - { - return $this->thumb1024; - } - - public function setThumb1024(?string $thumb1024): self - { - $this->initialized['thumb1024'] = true; - $this->thumb1024 = $thumb1024; - - return $this; - } - - public function getThumb1024H(): ?int - { - return $this->thumb1024H; - } - - public function setThumb1024H(?int $thumb1024H): self - { - $this->initialized['thumb1024H'] = true; - $this->thumb1024H = $thumb1024H; - - return $this; - } - - public function getThumb1024W(): ?int - { - return $this->thumb1024W; - } - - public function setThumb1024W(?int $thumb1024W): self - { - $this->initialized['thumb1024W'] = true; - $this->thumb1024W = $thumb1024W; - - return $this; - } - - public function getThumb160(): ?string - { - return $this->thumb160; - } - - public function setThumb160(?string $thumb160): self - { - $this->initialized['thumb160'] = true; - $this->thumb160 = $thumb160; - - return $this; - } - - public function getThumb360(): ?string - { - return $this->thumb360; - } - - public function setThumb360(?string $thumb360): self - { - $this->initialized['thumb360'] = true; - $this->thumb360 = $thumb360; - - return $this; - } - - public function getThumb360Gif(): ?string - { - return $this->thumb360Gif; - } - - public function setThumb360Gif(?string $thumb360Gif): self - { - $this->initialized['thumb360Gif'] = true; - $this->thumb360Gif = $thumb360Gif; - - return $this; - } - - public function getThumb360H(): ?int - { - return $this->thumb360H; - } - - public function setThumb360H(?int $thumb360H): self - { - $this->initialized['thumb360H'] = true; - $this->thumb360H = $thumb360H; - - return $this; - } - - public function getThumb360W(): ?int - { - return $this->thumb360W; - } - - public function setThumb360W(?int $thumb360W): self - { - $this->initialized['thumb360W'] = true; - $this->thumb360W = $thumb360W; - - return $this; - } - - public function getThumb480(): ?string - { - return $this->thumb480; - } - - public function setThumb480(?string $thumb480): self - { - $this->initialized['thumb480'] = true; - $this->thumb480 = $thumb480; - - return $this; - } - - public function getThumb480H(): ?int - { - return $this->thumb480H; - } - - public function setThumb480H(?int $thumb480H): self - { - $this->initialized['thumb480H'] = true; - $this->thumb480H = $thumb480H; - - return $this; - } - - public function getThumb480W(): ?int - { - return $this->thumb480W; - } - - public function setThumb480W(?int $thumb480W): self - { - $this->initialized['thumb480W'] = true; - $this->thumb480W = $thumb480W; - - return $this; - } - - public function getThumb64(): ?string - { - return $this->thumb64; - } - - public function setThumb64(?string $thumb64): self - { - $this->initialized['thumb64'] = true; - $this->thumb64 = $thumb64; - - return $this; - } - - public function getThumb720(): ?string - { - return $this->thumb720; - } - - public function setThumb720(?string $thumb720): self - { - $this->initialized['thumb720'] = true; - $this->thumb720 = $thumb720; - - return $this; - } - - public function getThumb720H(): ?int - { - return $this->thumb720H; - } - - public function setThumb720H(?int $thumb720H): self - { - $this->initialized['thumb720H'] = true; - $this->thumb720H = $thumb720H; - - return $this; - } - - public function getThumb720W(): ?int - { - return $this->thumb720W; - } - - public function setThumb720W(?int $thumb720W): self - { - $this->initialized['thumb720W'] = true; - $this->thumb720W = $thumb720W; - - return $this; - } - - public function getThumb80(): ?string - { - return $this->thumb80; - } - - public function setThumb80(?string $thumb80): self - { - $this->initialized['thumb80'] = true; - $this->thumb80 = $thumb80; - - return $this; - } - - public function getThumb800(): ?string - { - return $this->thumb800; - } - - public function setThumb800(?string $thumb800): self - { - $this->initialized['thumb800'] = true; - $this->thumb800 = $thumb800; - - return $this; - } - - public function getThumb800H(): ?int - { - return $this->thumb800H; - } - - public function setThumb800H(?int $thumb800H): self - { - $this->initialized['thumb800H'] = true; - $this->thumb800H = $thumb800H; - - return $this; - } - - public function getThumb800W(): ?int - { - return $this->thumb800W; - } - - public function setThumb800W(?int $thumb800W): self - { - $this->initialized['thumb800W'] = true; - $this->thumb800W = $thumb800W; - - return $this; - } - - public function getThumb960(): ?string - { - return $this->thumb960; - } - - public function setThumb960(?string $thumb960): self - { - $this->initialized['thumb960'] = true; - $this->thumb960 = $thumb960; - - return $this; - } - - public function getThumb960H(): ?int - { - return $this->thumb960H; - } - - public function setThumb960H(?int $thumb960H): self - { - $this->initialized['thumb960H'] = true; - $this->thumb960H = $thumb960H; - - return $this; - } - - public function getThumb960W(): ?int - { - return $this->thumb960W; - } - - public function setThumb960W(?int $thumb960W): self - { - $this->initialized['thumb960W'] = true; - $this->thumb960W = $thumb960W; - - return $this; - } - - public function getThumbTiny(): ?string - { - return $this->thumbTiny; - } - - public function setThumbTiny(?string $thumbTiny): self - { - $this->initialized['thumbTiny'] = true; - $this->thumbTiny = $thumbTiny; - - return $this; - } - - /** - * @return int|string|null - */ - public function getTimestamp() - { - return $this->timestamp; - } - - /** - * @param int|string|null $timestamp - */ - public function setTimestamp($timestamp): self - { - $this->initialized['timestamp'] = true; - $this->timestamp = $timestamp; - - return $this; - } - - public function getTitle(): ?string - { - return $this->title; - } - - public function setTitle(?string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getUpdated(): ?int - { - return $this->updated; - } - - public function setUpdated(?int $updated): self - { - $this->initialized['updated'] = true; - $this->updated = $updated; - - return $this; - } - - public function getUrlPrivate(): ?string - { - return $this->urlPrivate; - } - - public function setUrlPrivate(?string $urlPrivate): self - { - $this->initialized['urlPrivate'] = true; - $this->urlPrivate = $urlPrivate; - - return $this; - } - - public function getUrlPrivateDownload(): ?string - { - return $this->urlPrivateDownload; - } - - public function setUrlPrivateDownload(?string $urlPrivateDownload): self - { - $this->initialized['urlPrivateDownload'] = true; - $this->urlPrivateDownload = $urlPrivateDownload; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getUserTeam(): ?string - { - return $this->userTeam; - } - - public function setUserTeam(?string $userTeam): self - { - $this->initialized['userTeam'] = true; - $this->userTeam = $userTeam; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } + public $timestamp; + public ?string $title; + public ?int $updated; + public ?string $urlPrivate; + public ?string $urlPrivateDownload; + public ?string $user; + public ?string $userTeam; + public ?string $username; } diff --git a/generated/Model/ObjsFileShares.php b/generated/Model/ObjsFileShares.php index c640d39c..bd5d79f5 100644 --- a/generated/Model/ObjsFileShares.php +++ b/generated/Model/ObjsFileShares.php @@ -15,47 +15,12 @@ class ObjsFileShares { - /** - * @var array - */ - protected $initialized = []; /** * @var mixed|null */ - protected $private; + public $private; /** * @var mixed|null */ - protected $public; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getPrivate() - { - return $this->private; - } - - public function setPrivate($private): self - { - $this->initialized['private'] = true; - $this->private = $private; - - return $this; - } - - public function getPublic() - { - return $this->public; - } - - public function setPublic($public): self - { - $this->initialized['public'] = true; - $this->public = $public; - - return $this; - } + public $public; } diff --git a/generated/Model/ObjsIcon.php b/generated/Model/ObjsIcon.php index b5f8b324..b506f959 100644 --- a/generated/Model/ObjsIcon.php +++ b/generated/Model/ObjsIcon.php @@ -15,149 +15,12 @@ class ObjsIcon { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $image102; - /** - * @var string|null - */ - protected $image132; - /** - * @var string|null - */ - protected $image230; - /** - * @var string|null - */ - protected $image34; - /** - * @var string|null - */ - protected $image44; - /** - * @var string|null - */ - protected $image68; - /** - * @var string|null - */ - protected $image88; - /** - * @var bool|null - */ - protected $imageDefault; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getImage102(): ?string - { - return $this->image102; - } - - public function setImage102(?string $image102): self - { - $this->initialized['image102'] = true; - $this->image102 = $image102; - - return $this; - } - - public function getImage132(): ?string - { - return $this->image132; - } - - public function setImage132(?string $image132): self - { - $this->initialized['image132'] = true; - $this->image132 = $image132; - - return $this; - } - - public function getImage230(): ?string - { - return $this->image230; - } - - public function setImage230(?string $image230): self - { - $this->initialized['image230'] = true; - $this->image230 = $image230; - - return $this; - } - - public function getImage34(): ?string - { - return $this->image34; - } - - public function setImage34(?string $image34): self - { - $this->initialized['image34'] = true; - $this->image34 = $image34; - - return $this; - } - - public function getImage44(): ?string - { - return $this->image44; - } - - public function setImage44(?string $image44): self - { - $this->initialized['image44'] = true; - $this->image44 = $image44; - - return $this; - } - - public function getImage68(): ?string - { - return $this->image68; - } - - public function setImage68(?string $image68): self - { - $this->initialized['image68'] = true; - $this->image68 = $image68; - - return $this; - } - - public function getImage88(): ?string - { - return $this->image88; - } - - public function setImage88(?string $image88): self - { - $this->initialized['image88'] = true; - $this->image88 = $image88; - - return $this; - } - - public function getImageDefault(): ?bool - { - return $this->imageDefault; - } - - public function setImageDefault(?bool $imageDefault): self - { - $this->initialized['imageDefault'] = true; - $this->imageDefault = $imageDefault; - - return $this; - } + public ?string $image102; + public ?string $image132; + public ?string $image230; + public ?string $image34; + public ?string $image44; + public ?string $image68; + public ?string $image88; + public ?bool $imageDefault; } diff --git a/generated/Model/ObjsMessage.php b/generated/Model/ObjsMessage.php index ec3bc412..279c5931 100644 --- a/generated/Model/ObjsMessage.php +++ b/generated/Model/ObjsMessage.php @@ -15,769 +15,69 @@ class ObjsMessage { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $attachments; + public ?array $attachments; /** * This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace. * * @var list|null */ - protected $blocks; + public ?array $blocks; /** * @var mixed|null */ - protected $botId; - /** - * @var ObjsBotProfile|null - */ - protected $botProfile; - /** - * @var string|null - */ - protected $clientMsgId; - /** - * @var ObjsComment|null - */ - protected $comment; - /** - * @var bool|null - */ - protected $displayAsBot; - /** - * @var ObjsFile|null - */ - protected $file; + public $botId; + public ?ObjsBotProfile $botProfile; + public ?string $clientMsgId; + public ?ObjsComment $comment; + public ?bool $displayAsBot; + public ?ObjsFile $file; /** * @var list|null */ - protected $files; - /** - * @var ObjsMessageIcons|null - */ - protected $icons; - /** - * @var string|null - */ - protected $inviter; - /** - * @var bool|null - */ - protected $isDelayedMessage; - /** - * @var bool|null - */ - protected $isIntro; - /** - * @var bool|null - */ - protected $isStarred; - /** - * @var string|null - */ - protected $lastRead; - /** - * @var string|null - */ - protected $latestReply; - /** - * @var ObjsMetadata|null - */ - protected $metadata; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $oldName; - /** - * @var string|null - */ - protected $parentUserId; - /** - * @var string|null - */ - protected $permalink; + public ?array $files; + public ?ObjsMessageIcons $icons; + public ?string $inviter; + public ?bool $isDelayedMessage; + public ?bool $isIntro; + public ?bool $isStarred; + public ?string $lastRead; + public ?string $latestReply; + public ?ObjsMetadata $metadata; + public ?string $name; + public ?string $oldName; + public ?string $parentUserId; + public ?string $permalink; /** * @var list|null */ - protected $pinnedTo; - /** - * @var string|null - */ - protected $purpose; + public ?array $pinnedTo; + public ?string $purpose; /** * @var list|null */ - protected $reactions; - /** - * @var int|null - */ - protected $replyCount; + public ?array $reactions; + public ?int $replyCount; /** * @var list|null */ - protected $replyUsers; - /** - * @var int|null - */ - protected $replyUsersCount; - /** - * @var string|null - */ - protected $sourceTeam; - /** - * @var bool|null - */ - protected $subscribed; - /** - * @var string|null - */ - protected $subtype; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $threadTs; - /** - * @var string|null - */ - protected $topic; - /** - * @var string|null - */ - protected $ts; - /** - * @var string|null - */ - protected $type; - /** - * @var int|null - */ - protected $unreadCount; - /** - * @var bool|null - */ - protected $upload; - /** - * @var string|null - */ - protected $user; - /** - * @var ObjsUserProfileShort|null - */ - protected $userProfile; - /** - * @var string|null - */ - protected $userTeam; - /** - * @var string|null - */ - protected $username; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getAttachments(): ?array - { - return $this->attachments; - } - - /** - * @param list|null $attachments - */ - public function setAttachments(?array $attachments): self - { - $this->initialized['attachments'] = true; - $this->attachments = $attachments; - - return $this; - } - - /** - * This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace. - * - * @return list|null - */ - public function getBlocks(): ?array - { - return $this->blocks; - } - - /** - * This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace. - * - * @param list|null $blocks - */ - public function setBlocks(?array $blocks): self - { - $this->initialized['blocks'] = true; - $this->blocks = $blocks; - - return $this; - } - - public function getBotId() - { - return $this->botId; - } - - public function setBotId($botId): self - { - $this->initialized['botId'] = true; - $this->botId = $botId; - - return $this; - } - - public function getBotProfile(): ?ObjsBotProfile - { - return $this->botProfile; - } - - public function setBotProfile(?ObjsBotProfile $botProfile): self - { - $this->initialized['botProfile'] = true; - $this->botProfile = $botProfile; - - return $this; - } - - public function getClientMsgId(): ?string - { - return $this->clientMsgId; - } - - public function setClientMsgId(?string $clientMsgId): self - { - $this->initialized['clientMsgId'] = true; - $this->clientMsgId = $clientMsgId; - - return $this; - } - - public function getComment(): ?ObjsComment - { - return $this->comment; - } - - public function setComment(?ObjsComment $comment): self - { - $this->initialized['comment'] = true; - $this->comment = $comment; - - return $this; - } - - public function getDisplayAsBot(): ?bool - { - return $this->displayAsBot; - } - - public function setDisplayAsBot(?bool $displayAsBot): self - { - $this->initialized['displayAsBot'] = true; - $this->displayAsBot = $displayAsBot; - - return $this; - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - /** - * @return list|null - */ - public function getFiles(): ?array - { - return $this->files; - } - - /** - * @param list|null $files - */ - public function setFiles(?array $files): self - { - $this->initialized['files'] = true; - $this->files = $files; - - return $this; - } - - public function getIcons(): ?ObjsMessageIcons - { - return $this->icons; - } - - public function setIcons(?ObjsMessageIcons $icons): self - { - $this->initialized['icons'] = true; - $this->icons = $icons; - - return $this; - } - - public function getInviter(): ?string - { - return $this->inviter; - } - - public function setInviter(?string $inviter): self - { - $this->initialized['inviter'] = true; - $this->inviter = $inviter; - - return $this; - } - - public function getIsDelayedMessage(): ?bool - { - return $this->isDelayedMessage; - } - - public function setIsDelayedMessage(?bool $isDelayedMessage): self - { - $this->initialized['isDelayedMessage'] = true; - $this->isDelayedMessage = $isDelayedMessage; - - return $this; - } - - public function getIsIntro(): ?bool - { - return $this->isIntro; - } - - public function setIsIntro(?bool $isIntro): self - { - $this->initialized['isIntro'] = true; - $this->isIntro = $isIntro; - - return $this; - } - - public function getIsStarred(): ?bool - { - return $this->isStarred; - } - - public function setIsStarred(?bool $isStarred): self - { - $this->initialized['isStarred'] = true; - $this->isStarred = $isStarred; - - return $this; - } - - public function getLastRead(): ?string - { - return $this->lastRead; - } - - public function setLastRead(?string $lastRead): self - { - $this->initialized['lastRead'] = true; - $this->lastRead = $lastRead; - - return $this; - } - - public function getLatestReply(): ?string - { - return $this->latestReply; - } - - public function setLatestReply(?string $latestReply): self - { - $this->initialized['latestReply'] = true; - $this->latestReply = $latestReply; - - return $this; - } - - public function getMetadata(): ?ObjsMetadata - { - return $this->metadata; - } - - public function setMetadata(?ObjsMetadata $metadata): self - { - $this->initialized['metadata'] = true; - $this->metadata = $metadata; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getOldName(): ?string - { - return $this->oldName; - } - - public function setOldName(?string $oldName): self - { - $this->initialized['oldName'] = true; - $this->oldName = $oldName; - - return $this; - } - - public function getParentUserId(): ?string - { - return $this->parentUserId; - } - - public function setParentUserId(?string $parentUserId): self - { - $this->initialized['parentUserId'] = true; - $this->parentUserId = $parentUserId; - - return $this; - } - - public function getPermalink(): ?string - { - return $this->permalink; - } - - public function setPermalink(?string $permalink): self - { - $this->initialized['permalink'] = true; - $this->permalink = $permalink; - - return $this; - } - - /** - * @return list|null - */ - public function getPinnedTo(): ?array - { - return $this->pinnedTo; - } - - /** - * @param list|null $pinnedTo - */ - public function setPinnedTo(?array $pinnedTo): self - { - $this->initialized['pinnedTo'] = true; - $this->pinnedTo = $pinnedTo; - - return $this; - } - - public function getPurpose(): ?string - { - return $this->purpose; - } - - public function setPurpose(?string $purpose): self - { - $this->initialized['purpose'] = true; - $this->purpose = $purpose; - - return $this; - } - - /** - * @return list|null - */ - public function getReactions(): ?array - { - return $this->reactions; - } - - /** - * @param list|null $reactions - */ - public function setReactions(?array $reactions): self - { - $this->initialized['reactions'] = true; - $this->reactions = $reactions; - - return $this; - } - - public function getReplyCount(): ?int - { - return $this->replyCount; - } - - public function setReplyCount(?int $replyCount): self - { - $this->initialized['replyCount'] = true; - $this->replyCount = $replyCount; - - return $this; - } - - /** - * @return list|null - */ - public function getReplyUsers(): ?array - { - return $this->replyUsers; - } - - /** - * @param list|null $replyUsers - */ - public function setReplyUsers(?array $replyUsers): self - { - $this->initialized['replyUsers'] = true; - $this->replyUsers = $replyUsers; - - return $this; - } - - public function getReplyUsersCount(): ?int - { - return $this->replyUsersCount; - } - - public function setReplyUsersCount(?int $replyUsersCount): self - { - $this->initialized['replyUsersCount'] = true; - $this->replyUsersCount = $replyUsersCount; - - return $this; - } - - public function getSourceTeam(): ?string - { - return $this->sourceTeam; - } - - public function setSourceTeam(?string $sourceTeam): self - { - $this->initialized['sourceTeam'] = true; - $this->sourceTeam = $sourceTeam; - - return $this; - } - - public function getSubscribed(): ?bool - { - return $this->subscribed; - } - - public function setSubscribed(?bool $subscribed): self - { - $this->initialized['subscribed'] = true; - $this->subscribed = $subscribed; - - return $this; - } - - public function getSubtype(): ?string - { - return $this->subtype; - } - - public function setSubtype(?string $subtype): self - { - $this->initialized['subtype'] = true; - $this->subtype = $subtype; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getThreadTs(): ?string - { - return $this->threadTs; - } - - public function setThreadTs(?string $threadTs): self - { - $this->initialized['threadTs'] = true; - $this->threadTs = $threadTs; - - return $this; - } - - public function getTopic(): ?string - { - return $this->topic; - } - - public function setTopic(?string $topic): self - { - $this->initialized['topic'] = true; - $this->topic = $topic; - - return $this; - } - - public function getTs(): ?string - { - return $this->ts; - } - - public function setTs(?string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getUnreadCount(): ?int - { - return $this->unreadCount; - } - - public function setUnreadCount(?int $unreadCount): self - { - $this->initialized['unreadCount'] = true; - $this->unreadCount = $unreadCount; - - return $this; - } - - public function getUpload(): ?bool - { - return $this->upload; - } - - public function setUpload(?bool $upload): self - { - $this->initialized['upload'] = true; - $this->upload = $upload; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getUserProfile(): ?ObjsUserProfileShort - { - return $this->userProfile; - } - - public function setUserProfile(?ObjsUserProfileShort $userProfile): self - { - $this->initialized['userProfile'] = true; - $this->userProfile = $userProfile; - - return $this; - } - - public function getUserTeam(): ?string - { - return $this->userTeam; - } - - public function setUserTeam(?string $userTeam): self - { - $this->initialized['userTeam'] = true; - $this->userTeam = $userTeam; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } + public ?array $replyUsers; + public ?int $replyUsersCount; + public ?string $sourceTeam; + public ?bool $subscribed; + public ?string $subtype; + public ?string $team; + public ?string $text; + public ?string $threadTs; + public ?string $topic; + public ?string $ts; + public ?string $type; + public ?int $unreadCount; + public ?bool $upload; + public ?string $user; + public ?ObjsUserProfileShort $userProfile; + public ?string $userTeam; + public ?string $username; } diff --git a/generated/Model/ObjsMessageAttachmentsItem.php b/generated/Model/ObjsMessageAttachmentsItem.php index bd93215e..051ad342 100644 --- a/generated/Model/ObjsMessageAttachmentsItem.php +++ b/generated/Model/ObjsMessageAttachmentsItem.php @@ -19,393 +19,39 @@ class ObjsMessageAttachmentsItem implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $actions; - /** - * @var string|null - */ - protected $authorIcon; - /** - * @var string|null - */ - protected $authorLink; - /** - * @var string|null - */ - protected $authorName; - /** - * @var string|null - */ - protected $callbackId; - /** - * @var string|null - */ - protected $color; - /** - * @var string|null - */ - protected $fallback; + public ?array $actions; + public ?string $authorIcon; + public ?string $authorLink; + public ?string $authorName; + public ?string $callbackId; + public ?string $color; + public ?string $fallback; /** * @var list|null */ - protected $fields; - /** - * @var string|null - */ - protected $footer; - /** - * @var string|null - */ - protected $footerIcon; - /** - * @var int|null - */ - protected $id; - /** - * @var int|null - */ - protected $imageBytes; - /** - * @var int|null - */ - protected $imageHeight; - /** - * @var string|null - */ - protected $imageUrl; - /** - * @var int|null - */ - protected $imageWidth; - /** - * @var string|null - */ - protected $pretext; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $thumbUrl; - /** - * @var string|null - */ - protected $title; - /** - * @var string|null - */ - protected $titleLink; + public ?array $fields; + public ?string $footer; + public ?string $footerIcon; + public ?int $id; + public ?int $imageBytes; + public ?int $imageHeight; + public ?string $imageUrl; + public ?int $imageWidth; + public ?string $pretext; + public ?string $text; + public ?string $thumbUrl; + public ?string $title; + public ?string $titleLink; /** * @var float|string|null */ - protected $ts; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getActions(): ?array - { - return $this->actions; - } - - /** - * @param list|null $actions - */ - public function setActions(?array $actions): self - { - $this->initialized['actions'] = true; - $this->actions = $actions; - - return $this; - } - - public function getAuthorIcon(): ?string - { - return $this->authorIcon; - } - - public function setAuthorIcon(?string $authorIcon): self - { - $this->initialized['authorIcon'] = true; - $this->authorIcon = $authorIcon; - - return $this; - } - - public function getAuthorLink(): ?string - { - return $this->authorLink; - } - - public function setAuthorLink(?string $authorLink): self - { - $this->initialized['authorLink'] = true; - $this->authorLink = $authorLink; - - return $this; - } - - public function getAuthorName(): ?string - { - return $this->authorName; - } - - public function setAuthorName(?string $authorName): self - { - $this->initialized['authorName'] = true; - $this->authorName = $authorName; - - return $this; - } - - public function getCallbackId(): ?string - { - return $this->callbackId; - } - - public function setCallbackId(?string $callbackId): self - { - $this->initialized['callbackId'] = true; - $this->callbackId = $callbackId; - - return $this; - } - - public function getColor(): ?string - { - return $this->color; - } - - public function setColor(?string $color): self - { - $this->initialized['color'] = true; - $this->color = $color; - - return $this; - } - - public function getFallback(): ?string - { - return $this->fallback; - } - - public function setFallback(?string $fallback): self - { - $this->initialized['fallback'] = true; - $this->fallback = $fallback; - - return $this; - } - - /** - * @return list|null - */ - public function getFields(): ?array - { - return $this->fields; - } - - /** - * @param list|null $fields - */ - public function setFields(?array $fields): self - { - $this->initialized['fields'] = true; - $this->fields = $fields; - - return $this; - } - - public function getFooter(): ?string - { - return $this->footer; - } - - public function setFooter(?string $footer): self - { - $this->initialized['footer'] = true; - $this->footer = $footer; - - return $this; - } - - public function getFooterIcon(): ?string - { - return $this->footerIcon; - } - - public function setFooterIcon(?string $footerIcon): self - { - $this->initialized['footerIcon'] = true; - $this->footerIcon = $footerIcon; - - return $this; - } - - public function getId(): ?int - { - return $this->id; - } - - public function setId(?int $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getImageBytes(): ?int - { - return $this->imageBytes; - } - - public function setImageBytes(?int $imageBytes): self - { - $this->initialized['imageBytes'] = true; - $this->imageBytes = $imageBytes; - - return $this; - } - - public function getImageHeight(): ?int - { - return $this->imageHeight; - } - - public function setImageHeight(?int $imageHeight): self - { - $this->initialized['imageHeight'] = true; - $this->imageHeight = $imageHeight; - - return $this; - } - - public function getImageUrl(): ?string - { - return $this->imageUrl; - } - - public function setImageUrl(?string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getImageWidth(): ?int - { - return $this->imageWidth; - } - - public function setImageWidth(?int $imageWidth): self - { - $this->initialized['imageWidth'] = true; - $this->imageWidth = $imageWidth; - - return $this; - } - - public function getPretext(): ?string - { - return $this->pretext; - } - - public function setPretext(?string $pretext): self - { - $this->initialized['pretext'] = true; - $this->pretext = $pretext; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getThumbUrl(): ?string - { - return $this->thumbUrl; - } - - public function setThumbUrl(?string $thumbUrl): self - { - $this->initialized['thumbUrl'] = true; - $this->thumbUrl = $thumbUrl; - - return $this; - } - - public function getTitle(): ?string - { - return $this->title; - } - - public function setTitle(?string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getTitleLink(): ?string - { - return $this->titleLink; - } - - public function setTitleLink(?string $titleLink): self - { - $this->initialized['titleLink'] = true; - $this->titleLink = $titleLink; - - return $this; - } - - /** - * @return float|string|null - */ - public function getTs() - { - return $this->ts; - } - - /** - * @param float|string|null $ts - */ - public function setTs($ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } + public $ts; public function definedProperties(): array { - return ['actions' => ['actions', 'getActions', 'setActions'], 'authorIcon' => ['author_icon', 'getAuthorIcon', 'setAuthorIcon'], 'authorLink' => ['author_link', 'getAuthorLink', 'setAuthorLink'], 'authorName' => ['author_name', 'getAuthorName', 'setAuthorName'], 'callbackId' => ['callback_id', 'getCallbackId', 'setCallbackId'], 'color' => ['color', 'getColor', 'setColor'], 'fallback' => ['fallback', 'getFallback', 'setFallback'], 'fields' => ['fields', 'getFields', 'setFields'], 'footer' => ['footer', 'getFooter', 'setFooter'], 'footerIcon' => ['footer_icon', 'getFooterIcon', 'setFooterIcon'], 'id' => ['id', 'getId', 'setId'], 'imageBytes' => ['image_bytes', 'getImageBytes', 'setImageBytes'], 'imageHeight' => ['image_height', 'getImageHeight', 'setImageHeight'], 'imageUrl' => ['image_url', 'getImageUrl', 'setImageUrl'], 'imageWidth' => ['image_width', 'getImageWidth', 'setImageWidth'], 'pretext' => ['pretext', 'getPretext', 'setPretext'], 'text' => ['text', 'getText', 'setText'], 'thumbUrl' => ['thumb_url', 'getThumbUrl', 'setThumbUrl'], 'title' => ['title', 'getTitle', 'setTitle'], 'titleLink' => ['title_link', 'getTitleLink', 'setTitleLink'], 'ts' => ['ts', 'getTs', 'setTs']]; + return ['actions' => 'actions', 'authorIcon' => 'author_icon', 'authorLink' => 'author_link', 'authorName' => 'author_name', 'callbackId' => 'callback_id', 'color' => 'color', 'fallback' => 'fallback', 'fields' => 'fields', 'footer' => 'footer', 'footerIcon' => 'footer_icon', 'id' => 'id', 'imageBytes' => 'image_bytes', 'imageHeight' => 'image_height', 'imageUrl' => 'image_url', 'imageWidth' => 'image_width', 'pretext' => 'pretext', 'text' => 'text', 'thumbUrl' => 'thumb_url', 'title' => 'title', 'titleLink' => 'title_link', 'ts' => 'ts']; } } diff --git a/generated/Model/ObjsMessageAttachmentsItemActionsItem.php b/generated/Model/ObjsMessageAttachmentsItemActionsItem.php index a2d633e2..523edad4 100644 --- a/generated/Model/ObjsMessageAttachmentsItemActionsItem.php +++ b/generated/Model/ObjsMessageAttachmentsItemActionsItem.php @@ -15,115 +15,10 @@ class ObjsMessageAttachmentsItemActionsItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $style; - /** - * @var string|null - */ - protected $text; - /** - * @var string|null - */ - protected $type; - /** - * @var string|null - */ - protected $value; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getStyle(): ?string - { - return $this->style; - } - - public function setStyle(?string $style): self - { - $this->initialized['style'] = true; - $this->style = $style; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } + public ?string $id; + public ?string $name; + public ?string $style; + public ?string $text; + public ?string $type; + public ?string $value; } diff --git a/generated/Model/ObjsMessageAttachmentsItemFieldsItem.php b/generated/Model/ObjsMessageAttachmentsItemFieldsItem.php index 16ed083c..a268511c 100644 --- a/generated/Model/ObjsMessageAttachmentsItemFieldsItem.php +++ b/generated/Model/ObjsMessageAttachmentsItemFieldsItem.php @@ -15,64 +15,7 @@ class ObjsMessageAttachmentsItemFieldsItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $short; - /** - * @var string|null - */ - protected $title; - /** - * @var string|null - */ - protected $value; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getShort(): ?bool - { - return $this->short; - } - - public function setShort(?bool $short): self - { - $this->initialized['short'] = true; - $this->short = $short; - - return $this; - } - - public function getTitle(): ?string - { - return $this->title; - } - - public function setTitle(?string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getValue(): ?string - { - return $this->value; - } - - public function setValue(?string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } + public ?bool $short; + public ?string $title; + public ?string $value; } diff --git a/generated/Model/ObjsMessageIcons.php b/generated/Model/ObjsMessageIcons.php index 2df5cc02..23d47d25 100644 --- a/generated/Model/ObjsMessageIcons.php +++ b/generated/Model/ObjsMessageIcons.php @@ -15,47 +15,6 @@ class ObjsMessageIcons { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $emoji; - /** - * @var string|null - */ - protected $image64; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEmoji(): ?string - { - return $this->emoji; - } - - public function setEmoji(?string $emoji): self - { - $this->initialized['emoji'] = true; - $this->emoji = $emoji; - - return $this; - } - - public function getImage64(): ?string - { - return $this->image64; - } - - public function setImage64(?string $image64): self - { - $this->initialized['image64'] = true; - $this->image64 = $image64; - - return $this; - } + public ?string $emoji; + public ?string $image64; } diff --git a/generated/Model/ObjsMetadata.php b/generated/Model/ObjsMetadata.php index d0589b29..2e717de6 100644 --- a/generated/Model/ObjsMetadata.php +++ b/generated/Model/ObjsMetadata.php @@ -15,47 +15,9 @@ class ObjsMetadata { - /** - * @var array - */ - protected $initialized = []; /** * @var mixed|null */ - protected $eventPayload; - /** - * @var string|null - */ - protected $eventType; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEventPayload() - { - return $this->eventPayload; - } - - public function setEventPayload($eventPayload): self - { - $this->initialized['eventPayload'] = true; - $this->eventPayload = $eventPayload; - - return $this; - } - - public function getEventType(): ?string - { - return $this->eventType; - } - - public function setEventType(?string $eventType): self - { - $this->initialized['eventType'] = true; - $this->eventType = $eventType; - - return $this; - } + public $eventPayload; + public ?string $eventType; } diff --git a/generated/Model/ObjsPaging.php b/generated/Model/ObjsPaging.php index 641c26d3..19c71c2c 100644 --- a/generated/Model/ObjsPaging.php +++ b/generated/Model/ObjsPaging.php @@ -15,115 +15,10 @@ class ObjsPaging { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $count; - /** - * @var int|null - */ - protected $page; - /** - * @var int|null - */ - protected $pages; - /** - * @var int|null - */ - protected $perPage; - /** - * @var int|null - */ - protected $spill; - /** - * @var int|null - */ - protected $total; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCount(): ?int - { - return $this->count; - } - - public function setCount(?int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getPage(): ?int - { - return $this->page; - } - - public function setPage(?int $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } - - public function getPages(): ?int - { - return $this->pages; - } - - public function setPages(?int $pages): self - { - $this->initialized['pages'] = true; - $this->pages = $pages; - - return $this; - } - - public function getPerPage(): ?int - { - return $this->perPage; - } - - public function setPerPage(?int $perPage): self - { - $this->initialized['perPage'] = true; - $this->perPage = $perPage; - - return $this; - } - - public function getSpill(): ?int - { - return $this->spill; - } - - public function setSpill(?int $spill): self - { - $this->initialized['spill'] = true; - $this->spill = $spill; - - return $this; - } - - public function getTotal(): ?int - { - return $this->total; - } - - public function setTotal(?int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } + public ?int $count; + public ?int $page; + public ?int $pages; + public ?int $perPage; + public ?int $spill; + public ?int $total; } diff --git a/generated/Model/ObjsPrimaryOwner.php b/generated/Model/ObjsPrimaryOwner.php index 7bde51d6..ea2dd966 100644 --- a/generated/Model/ObjsPrimaryOwner.php +++ b/generated/Model/ObjsPrimaryOwner.php @@ -15,47 +15,6 @@ class ObjsPrimaryOwner { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $email; - /** - * @var string|null - */ - protected $id; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEmail(): ?string - { - return $this->email; - } - - public function setEmail(?string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } + public ?string $email; + public ?string $id; } diff --git a/generated/Model/ObjsReaction.php b/generated/Model/ObjsReaction.php index 156c26f6..344dba94 100644 --- a/generated/Model/ObjsReaction.php +++ b/generated/Model/ObjsReaction.php @@ -19,75 +19,15 @@ class ObjsReaction implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $count; - /** - * @var string|null - */ - protected $name; + public ?int $count; + public ?string $name; /** * @var list|null */ - protected $users; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCount(): ?int - { - return $this->count; - } - - public function setCount(?int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - /** - * @return list|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param list|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } + public ?array $users; public function definedProperties(): array { - return ['count' => ['count', 'getCount', 'setCount'], 'name' => ['name', 'getName', 'setName'], 'users' => ['users', 'getUsers', 'setUsers']]; + return ['count' => 'count', 'name' => 'name', 'users' => 'users']; } } diff --git a/generated/Model/ObjsReminder.php b/generated/Model/ObjsReminder.php index 0308246f..207cc529 100644 --- a/generated/Model/ObjsReminder.php +++ b/generated/Model/ObjsReminder.php @@ -15,132 +15,11 @@ class ObjsReminder { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $completeTs; - /** - * @var string|null - */ - protected $creator; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $recurring; - /** - * @var string|null - */ - protected $text; - /** - * @var int|null - */ - protected $time; - /** - * @var string|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCompleteTs(): ?int - { - return $this->completeTs; - } - - public function setCompleteTs(?int $completeTs): self - { - $this->initialized['completeTs'] = true; - $this->completeTs = $completeTs; - - return $this; - } - - public function getCreator(): ?string - { - return $this->creator; - } - - public function setCreator(?string $creator): self - { - $this->initialized['creator'] = true; - $this->creator = $creator; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getRecurring(): ?bool - { - return $this->recurring; - } - - public function setRecurring(?bool $recurring): self - { - $this->initialized['recurring'] = true; - $this->recurring = $recurring; - - return $this; - } - - public function getText(): ?string - { - return $this->text; - } - - public function setText(?string $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getTime(): ?int - { - return $this->time; - } - - public function setTime(?int $time): self - { - $this->initialized['time'] = true; - $this->time = $time; - - return $this; - } - - public function getUser(): ?string - { - return $this->user; - } - - public function setUser(?string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?int $completeTs; + public ?string $creator; + public ?string $id; + public ?bool $recurring; + public ?string $text; + public ?int $time; + public ?string $user; } diff --git a/generated/Model/ObjsResources.php b/generated/Model/ObjsResources.php index 78624d61..61dbc94d 100644 --- a/generated/Model/ObjsResources.php +++ b/generated/Model/ObjsResources.php @@ -15,76 +15,13 @@ class ObjsResources { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $excludedIds; + public ?array $excludedIds; /** * @var list|null */ - protected $ids; - /** - * @var bool|null - */ - protected $wildcard; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getExcludedIds(): ?array - { - return $this->excludedIds; - } - - /** - * @param list|null $excludedIds - */ - public function setExcludedIds(?array $excludedIds): self - { - $this->initialized['excludedIds'] = true; - $this->excludedIds = $excludedIds; - - return $this; - } - - /** - * @return list|null - */ - public function getIds(): ?array - { - return $this->ids; - } - - /** - * @param list|null $ids - */ - public function setIds(?array $ids): self - { - $this->initialized['ids'] = true; - $this->ids = $ids; - - return $this; - } - - public function getWildcard(): ?bool - { - return $this->wildcard; - } - - public function setWildcard(?bool $wildcard): self - { - $this->initialized['wildcard'] = true; - $this->wildcard = $wildcard; - - return $this; - } + public ?array $ids; + public ?bool $wildcard; } diff --git a/generated/Model/ObjsResponseMetadata.php b/generated/Model/ObjsResponseMetadata.php index 4aca0717..ab3ea404 100644 --- a/generated/Model/ObjsResponseMetadata.php +++ b/generated/Model/ObjsResponseMetadata.php @@ -15,76 +15,13 @@ class ObjsResponseMetadata { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $messages; - /** - * @var string|null - */ - protected $nextCursor; + public ?array $messages; + public ?string $nextCursor; /** * @var list|null */ - protected $warnings; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getMessages(): ?array - { - return $this->messages; - } - - /** - * @param list|null $messages - */ - public function setMessages(?array $messages): self - { - $this->initialized['messages'] = true; - $this->messages = $messages; - - return $this; - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } - - /** - * @return list|null - */ - public function getWarnings(): ?array - { - return $this->warnings; - } - - /** - * @param list|null $warnings - */ - public function setWarnings(?array $warnings): self - { - $this->initialized['warnings'] = true; - $this->warnings = $warnings; - - return $this; - } + public ?array $warnings; } diff --git a/generated/Model/ObjsSubteam.php b/generated/Model/ObjsSubteam.php index 80aacb0e..f37973d1 100644 --- a/generated/Model/ObjsSubteam.php +++ b/generated/Model/ObjsSubteam.php @@ -15,376 +15,34 @@ class ObjsSubteam { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $autoProvision; + public ?bool $autoProvision; /** * @var mixed|null */ - protected $autoType; - /** - * @var int|null - */ - protected $channelCount; - /** - * @var string|null - */ - protected $createdBy; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var int|null - */ - protected $dateDelete; - /** - * @var int|null - */ - protected $dateUpdate; + public $autoType; + public ?int $channelCount; + public ?string $createdBy; + public ?int $dateCreate; + public ?int $dateDelete; + public ?int $dateUpdate; /** * @var mixed|null */ - protected $deletedBy; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $enterpriseSubteamId; - /** - * @var string|null - */ - protected $handle; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isExternal; - /** - * @var bool|null - */ - protected $isSubteam; - /** - * @var bool|null - */ - protected $isUsergroup; - /** - * @var string|null - */ - protected $name; - /** - * @var ObjsSubteamPrefs|null - */ - protected $prefs; - /** - * @var string|null - */ - protected $teamId; - /** - * @var string|null - */ - protected $updatedBy; - /** - * @var int|null - */ - protected $userCount; + public $deletedBy; + public ?string $description; + public ?string $enterpriseSubteamId; + public ?string $handle; + public ?string $id; + public ?bool $isExternal; + public ?bool $isSubteam; + public ?bool $isUsergroup; + public ?string $name; + public ?ObjsSubteamPrefs $prefs; + public ?string $teamId; + public ?string $updatedBy; + public ?int $userCount; /** * @var list|null */ - protected $users; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAutoProvision(): ?bool - { - return $this->autoProvision; - } - - public function setAutoProvision(?bool $autoProvision): self - { - $this->initialized['autoProvision'] = true; - $this->autoProvision = $autoProvision; - - return $this; - } - - public function getAutoType() - { - return $this->autoType; - } - - public function setAutoType($autoType): self - { - $this->initialized['autoType'] = true; - $this->autoType = $autoType; - - return $this; - } - - public function getChannelCount(): ?int - { - return $this->channelCount; - } - - public function setChannelCount(?int $channelCount): self - { - $this->initialized['channelCount'] = true; - $this->channelCount = $channelCount; - - return $this; - } - - public function getCreatedBy(): ?string - { - return $this->createdBy; - } - - public function setCreatedBy(?string $createdBy): self - { - $this->initialized['createdBy'] = true; - $this->createdBy = $createdBy; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getDateDelete(): ?int - { - return $this->dateDelete; - } - - public function setDateDelete(?int $dateDelete): self - { - $this->initialized['dateDelete'] = true; - $this->dateDelete = $dateDelete; - - return $this; - } - - public function getDateUpdate(): ?int - { - return $this->dateUpdate; - } - - public function setDateUpdate(?int $dateUpdate): self - { - $this->initialized['dateUpdate'] = true; - $this->dateUpdate = $dateUpdate; - - return $this; - } - - public function getDeletedBy() - { - return $this->deletedBy; - } - - public function setDeletedBy($deletedBy): self - { - $this->initialized['deletedBy'] = true; - $this->deletedBy = $deletedBy; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getEnterpriseSubteamId(): ?string - { - return $this->enterpriseSubteamId; - } - - public function setEnterpriseSubteamId(?string $enterpriseSubteamId): self - { - $this->initialized['enterpriseSubteamId'] = true; - $this->enterpriseSubteamId = $enterpriseSubteamId; - - return $this; - } - - public function getHandle(): ?string - { - return $this->handle; - } - - public function setHandle(?string $handle): self - { - $this->initialized['handle'] = true; - $this->handle = $handle; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsExternal(): ?bool - { - return $this->isExternal; - } - - public function setIsExternal(?bool $isExternal): self - { - $this->initialized['isExternal'] = true; - $this->isExternal = $isExternal; - - return $this; - } - - public function getIsSubteam(): ?bool - { - return $this->isSubteam; - } - - public function setIsSubteam(?bool $isSubteam): self - { - $this->initialized['isSubteam'] = true; - $this->isSubteam = $isSubteam; - - return $this; - } - - public function getIsUsergroup(): ?bool - { - return $this->isUsergroup; - } - - public function setIsUsergroup(?bool $isUsergroup): self - { - $this->initialized['isUsergroup'] = true; - $this->isUsergroup = $isUsergroup; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getPrefs(): ?ObjsSubteamPrefs - { - return $this->prefs; - } - - public function setPrefs(?ObjsSubteamPrefs $prefs): self - { - $this->initialized['prefs'] = true; - $this->prefs = $prefs; - - return $this; - } - - public function getTeamId(): ?string - { - return $this->teamId; - } - - public function setTeamId(?string $teamId): self - { - $this->initialized['teamId'] = true; - $this->teamId = $teamId; - - return $this; - } - - public function getUpdatedBy(): ?string - { - return $this->updatedBy; - } - - public function setUpdatedBy(?string $updatedBy): self - { - $this->initialized['updatedBy'] = true; - $this->updatedBy = $updatedBy; - - return $this; - } - - public function getUserCount(): ?int - { - return $this->userCount; - } - - public function setUserCount(?int $userCount): self - { - $this->initialized['userCount'] = true; - $this->userCount = $userCount; - - return $this; - } - - /** - * @return list|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param list|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } + public ?array $users; } diff --git a/generated/Model/ObjsSubteamPrefs.php b/generated/Model/ObjsSubteamPrefs.php index df6acd9c..e6911528 100644 --- a/generated/Model/ObjsSubteamPrefs.php +++ b/generated/Model/ObjsSubteamPrefs.php @@ -15,59 +15,12 @@ class ObjsSubteamPrefs { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $channels; + public ?array $channels; /** * @var list|null */ - protected $groups; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getChannels(): ?array - { - return $this->channels; - } - - /** - * @param list|null $channels - */ - public function setChannels(?array $channels): self - { - $this->initialized['channels'] = true; - $this->channels = $channels; - - return $this; - } - - /** - * @return list|null - */ - public function getGroups(): ?array - { - return $this->groups; - } - - /** - * @param list|null $groups - */ - public function setGroups(?array $groups): self - { - $this->initialized['groups'] = true; - $this->groups = $groups; - - return $this; - } + public ?array $groups; } diff --git a/generated/Model/ObjsTeam.php b/generated/Model/ObjsTeam.php index e76532ab..0f8494bf 100644 --- a/generated/Model/ObjsTeam.php +++ b/generated/Model/ObjsTeam.php @@ -15,506 +15,33 @@ class ObjsTeam { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $archived; - /** - * @var string|null - */ - protected $avatarBaseUrl; - /** - * @var int|null - */ - protected $created; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var bool|null - */ - protected $deleted; - /** - * @var string|null - */ - protected $description; - /** - * @var string|null - */ - protected $discoverable; - /** - * @var string|null - */ - protected $domain; - /** - * @var string|null - */ - protected $emailDomain; - /** - * @var string|null - */ - protected $enterpriseId; - /** - * @var string|null - */ - protected $enterpriseName; - /** - * @var ObjsExternalOrgMigrations|null - */ - protected $externalOrgMigrations; - /** - * @var bool|null - */ - protected $hasComplianceExport; - /** - * @var ObjsIcon|null - */ - protected $icon; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isAssigned; - /** - * @var int|null - */ - protected $isEnterprise; - /** - * @var bool|null - */ - protected $isOverStorageLimit; - /** - * @var int|null - */ - protected $limitTs; - /** - * @var string|null - */ - protected $locale; - /** - * @var int|null - */ - protected $messagesCount; - /** - * @var int|null - */ - protected $msgEditWindowMins; - /** - * @var string|null - */ - protected $name; - /** - * @var bool|null - */ - protected $overIntegrationsLimit; - /** - * @var bool|null - */ - protected $overStorageLimit; - /** - * @var string|null - */ - protected $payProdCur; - /** - * @var string|null - */ - protected $plan; - /** - * @var ObjsPrimaryOwner|null - */ - protected $primaryOwner; - /** - * @var ObjsTeamSsoProvider|null - */ - protected $ssoProvider; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getArchived(): ?bool - { - return $this->archived; - } - - public function setArchived(?bool $archived): self - { - $this->initialized['archived'] = true; - $this->archived = $archived; - - return $this; - } - - public function getAvatarBaseUrl(): ?string - { - return $this->avatarBaseUrl; - } - - public function setAvatarBaseUrl(?string $avatarBaseUrl): self - { - $this->initialized['avatarBaseUrl'] = true; - $this->avatarBaseUrl = $avatarBaseUrl; - - return $this; - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getDeleted(): ?bool - { - return $this->deleted; - } - - public function setDeleted(?bool $deleted): self - { - $this->initialized['deleted'] = true; - $this->deleted = $deleted; - - return $this; - } - - public function getDescription(): ?string - { - return $this->description; - } - - public function setDescription(?string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getDiscoverable(): ?string - { - return $this->discoverable; - } - - public function setDiscoverable(?string $discoverable): self - { - $this->initialized['discoverable'] = true; - $this->discoverable = $discoverable; - - return $this; - } - - public function getDomain(): ?string - { - return $this->domain; - } - - public function setDomain(?string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getEmailDomain(): ?string - { - return $this->emailDomain; - } - - public function setEmailDomain(?string $emailDomain): self - { - $this->initialized['emailDomain'] = true; - $this->emailDomain = $emailDomain; - - return $this; - } - - public function getEnterpriseId(): ?string - { - return $this->enterpriseId; - } - - public function setEnterpriseId(?string $enterpriseId): self - { - $this->initialized['enterpriseId'] = true; - $this->enterpriseId = $enterpriseId; - - return $this; - } - - public function getEnterpriseName(): ?string - { - return $this->enterpriseName; - } - - public function setEnterpriseName(?string $enterpriseName): self - { - $this->initialized['enterpriseName'] = true; - $this->enterpriseName = $enterpriseName; - - return $this; - } - - public function getExternalOrgMigrations(): ?ObjsExternalOrgMigrations - { - return $this->externalOrgMigrations; - } - - public function setExternalOrgMigrations(?ObjsExternalOrgMigrations $externalOrgMigrations): self - { - $this->initialized['externalOrgMigrations'] = true; - $this->externalOrgMigrations = $externalOrgMigrations; - - return $this; - } - - public function getHasComplianceExport(): ?bool - { - return $this->hasComplianceExport; - } - - public function setHasComplianceExport(?bool $hasComplianceExport): self - { - $this->initialized['hasComplianceExport'] = true; - $this->hasComplianceExport = $hasComplianceExport; - - return $this; - } - - public function getIcon(): ?ObjsIcon - { - return $this->icon; - } - - public function setIcon(?ObjsIcon $icon): self - { - $this->initialized['icon'] = true; - $this->icon = $icon; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsAssigned(): ?bool - { - return $this->isAssigned; - } - - public function setIsAssigned(?bool $isAssigned): self - { - $this->initialized['isAssigned'] = true; - $this->isAssigned = $isAssigned; - - return $this; - } - - public function getIsEnterprise(): ?int - { - return $this->isEnterprise; - } - - public function setIsEnterprise(?int $isEnterprise): self - { - $this->initialized['isEnterprise'] = true; - $this->isEnterprise = $isEnterprise; - - return $this; - } - - public function getIsOverStorageLimit(): ?bool - { - return $this->isOverStorageLimit; - } - - public function setIsOverStorageLimit(?bool $isOverStorageLimit): self - { - $this->initialized['isOverStorageLimit'] = true; - $this->isOverStorageLimit = $isOverStorageLimit; - - return $this; - } - - public function getLimitTs(): ?int - { - return $this->limitTs; - } - - public function setLimitTs(?int $limitTs): self - { - $this->initialized['limitTs'] = true; - $this->limitTs = $limitTs; - - return $this; - } - - public function getLocale(): ?string - { - return $this->locale; - } - - public function setLocale(?string $locale): self - { - $this->initialized['locale'] = true; - $this->locale = $locale; - - return $this; - } - - public function getMessagesCount(): ?int - { - return $this->messagesCount; - } - - public function setMessagesCount(?int $messagesCount): self - { - $this->initialized['messagesCount'] = true; - $this->messagesCount = $messagesCount; - - return $this; - } - - public function getMsgEditWindowMins(): ?int - { - return $this->msgEditWindowMins; - } - - public function setMsgEditWindowMins(?int $msgEditWindowMins): self - { - $this->initialized['msgEditWindowMins'] = true; - $this->msgEditWindowMins = $msgEditWindowMins; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getOverIntegrationsLimit(): ?bool - { - return $this->overIntegrationsLimit; - } - - public function setOverIntegrationsLimit(?bool $overIntegrationsLimit): self - { - $this->initialized['overIntegrationsLimit'] = true; - $this->overIntegrationsLimit = $overIntegrationsLimit; - - return $this; - } - - public function getOverStorageLimit(): ?bool - { - return $this->overStorageLimit; - } - - public function setOverStorageLimit(?bool $overStorageLimit): self - { - $this->initialized['overStorageLimit'] = true; - $this->overStorageLimit = $overStorageLimit; - - return $this; - } - - public function getPayProdCur(): ?string - { - return $this->payProdCur; - } - - public function setPayProdCur(?string $payProdCur): self - { - $this->initialized['payProdCur'] = true; - $this->payProdCur = $payProdCur; - - return $this; - } - - public function getPlan(): ?string - { - return $this->plan; - } - - public function setPlan(?string $plan): self - { - $this->initialized['plan'] = true; - $this->plan = $plan; - - return $this; - } - - public function getPrimaryOwner(): ?ObjsPrimaryOwner - { - return $this->primaryOwner; - } - - public function setPrimaryOwner(?ObjsPrimaryOwner $primaryOwner): self - { - $this->initialized['primaryOwner'] = true; - $this->primaryOwner = $primaryOwner; - - return $this; - } - - public function getSsoProvider(): ?ObjsTeamSsoProvider - { - return $this->ssoProvider; - } - - public function setSsoProvider(?ObjsTeamSsoProvider $ssoProvider): self - { - $this->initialized['ssoProvider'] = true; - $this->ssoProvider = $ssoProvider; - - return $this; - } + public ?bool $archived; + public ?string $avatarBaseUrl; + public ?int $created; + public ?int $dateCreate; + public ?bool $deleted; + public ?string $description; + public ?string $discoverable; + public ?string $domain; + public ?string $emailDomain; + public ?string $enterpriseId; + public ?string $enterpriseName; + public ?ObjsExternalOrgMigrations $externalOrgMigrations; + public ?bool $hasComplianceExport; + public ?ObjsIcon $icon; + public ?string $id; + public ?bool $isAssigned; + public ?int $isEnterprise; + public ?bool $isOverStorageLimit; + public ?int $limitTs; + public ?string $locale; + public ?int $messagesCount; + public ?int $msgEditWindowMins; + public ?string $name; + public ?bool $overIntegrationsLimit; + public ?bool $overStorageLimit; + public ?string $payProdCur; + public ?string $plan; + public ?ObjsPrimaryOwner $primaryOwner; + public ?ObjsTeamSsoProvider $ssoProvider; } diff --git a/generated/Model/ObjsTeamProfileField.php b/generated/Model/ObjsTeamProfileField.php index 6668821f..37c85aaf 100644 --- a/generated/Model/ObjsTeamProfileField.php +++ b/generated/Model/ObjsTeamProfileField.php @@ -15,172 +15,16 @@ class ObjsTeamProfileField { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $fieldName; - /** - * @var string|null - */ - protected $hint; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isHidden; - /** - * @var string|null - */ - protected $label; - /** - * @var ObjsTeamProfileFieldOption|null - */ - protected $options; - /** - * @var float|null - */ - protected $ordering; + public ?string $fieldName; + public ?string $hint; + public ?string $id; + public ?bool $isHidden; + public ?string $label; + public ?ObjsTeamProfileFieldOption $options; + public ?float $ordering; /** * @var list|null */ - protected $possibleValues; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFieldName(): ?string - { - return $this->fieldName; - } - - public function setFieldName(?string $fieldName): self - { - $this->initialized['fieldName'] = true; - $this->fieldName = $fieldName; - - return $this; - } - - public function getHint(): ?string - { - return $this->hint; - } - - public function setHint(?string $hint): self - { - $this->initialized['hint'] = true; - $this->hint = $hint; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsHidden(): ?bool - { - return $this->isHidden; - } - - public function setIsHidden(?bool $isHidden): self - { - $this->initialized['isHidden'] = true; - $this->isHidden = $isHidden; - - return $this; - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getOptions(): ?ObjsTeamProfileFieldOption - { - return $this->options; - } - - public function setOptions(?ObjsTeamProfileFieldOption $options): self - { - $this->initialized['options'] = true; - $this->options = $options; - - return $this; - } - - public function getOrdering(): ?float - { - return $this->ordering; - } - - public function setOrdering(?float $ordering): self - { - $this->initialized['ordering'] = true; - $this->ordering = $ordering; - - return $this; - } - - /** - * @return list|null - */ - public function getPossibleValues(): ?array - { - return $this->possibleValues; - } - - /** - * @param list|null $possibleValues - */ - public function setPossibleValues(?array $possibleValues): self - { - $this->initialized['possibleValues'] = true; - $this->possibleValues = $possibleValues; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?array $possibleValues; + public ?string $type; } diff --git a/generated/Model/ObjsTeamProfileFieldOption.php b/generated/Model/ObjsTeamProfileFieldOption.php index 22be8863..2c2047ea 100644 --- a/generated/Model/ObjsTeamProfileFieldOption.php +++ b/generated/Model/ObjsTeamProfileFieldOption.php @@ -15,81 +15,8 @@ class ObjsTeamProfileFieldOption { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $isCustom; - /** - * @var bool|null - */ - protected $isMultipleEntry; - /** - * @var bool|null - */ - protected $isProtected; - /** - * @var bool|null - */ - protected $isScim; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getIsCustom(): ?bool - { - return $this->isCustom; - } - - public function setIsCustom(?bool $isCustom): self - { - $this->initialized['isCustom'] = true; - $this->isCustom = $isCustom; - - return $this; - } - - public function getIsMultipleEntry(): ?bool - { - return $this->isMultipleEntry; - } - - public function setIsMultipleEntry(?bool $isMultipleEntry): self - { - $this->initialized['isMultipleEntry'] = true; - $this->isMultipleEntry = $isMultipleEntry; - - return $this; - } - - public function getIsProtected(): ?bool - { - return $this->isProtected; - } - - public function setIsProtected(?bool $isProtected): self - { - $this->initialized['isProtected'] = true; - $this->isProtected = $isProtected; - - return $this; - } - - public function getIsScim(): ?bool - { - return $this->isScim; - } - - public function setIsScim(?bool $isScim): self - { - $this->initialized['isScim'] = true; - $this->isScim = $isScim; - - return $this; - } + public ?bool $isCustom; + public ?bool $isMultipleEntry; + public ?bool $isProtected; + public ?bool $isScim; } diff --git a/generated/Model/ObjsTeamSsoProvider.php b/generated/Model/ObjsTeamSsoProvider.php index 0afa3404..d0e1295d 100644 --- a/generated/Model/ObjsTeamSsoProvider.php +++ b/generated/Model/ObjsTeamSsoProvider.php @@ -15,64 +15,7 @@ class ObjsTeamSsoProvider { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $label; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getLabel(): ?string - { - return $this->label; - } - - public function setLabel(?string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $label; + public ?string $name; + public ?string $type; } diff --git a/generated/Model/ObjsUser.php b/generated/Model/ObjsUser.php index 1e2243be..d741225c 100644 --- a/generated/Model/ObjsUser.php +++ b/generated/Model/ObjsUser.php @@ -15,537 +15,43 @@ class ObjsUser { - /** - * @var array - */ - protected $initialized = []; /** * refercing to bug: https://jira.tinyspeck.com/browse/EVALUE-1559. - * - * @var string|null - */ - protected $color; - /** - * @var bool|null - */ - protected $deleted; - /** - * @var ObjsEnterpriseUser|null - */ - protected $enterpriseUser; - /** - * @var bool|null - */ - protected $has2fa; - /** - * @var string|null - */ - protected $id; - /** - * @var bool|null - */ - protected $isAdmin; - /** - * @var bool|null - */ - protected $isAppUser; - /** - * @var bool|null - */ - protected $isBot; - /** - * @var bool|null - */ - protected $isExternal; - /** - * @var bool|null - */ - protected $isForgotten; - /** - * @var bool|null - */ - protected $isInvitedUser; - /** - * @var bool|null - */ - protected $isOwner; - /** - * @var bool|null - */ - protected $isPrimaryOwner; - /** - * @var bool|null - */ - protected $isRestricted; - /** - * @var bool|null - */ - protected $isStranger; - /** - * @var bool|null - */ - protected $isUltraRestricted; - /** - * @var string|null - */ - protected $locale; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $presence; - /** - * @var ObjsUserProfile|null */ - protected $profile; - /** - * @var string|null - */ - protected $realName; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $teamId; - /** - * @var ObjsUserTeamProfile|null - */ - protected $teamProfile; + public ?string $color; + public ?bool $deleted; + public ?ObjsEnterpriseUser $enterpriseUser; + public ?bool $has2fa; + public ?string $id; + public ?bool $isAdmin; + public ?bool $isAppUser; + public ?bool $isBot; + public ?bool $isExternal; + public ?bool $isForgotten; + public ?bool $isInvitedUser; + public ?bool $isOwner; + public ?bool $isPrimaryOwner; + public ?bool $isRestricted; + public ?bool $isStranger; + public ?bool $isUltraRestricted; + public ?string $locale; + public ?string $name; + public ?string $presence; + public ?ObjsUserProfile $profile; + public ?string $realName; + public ?string $team; + public ?string $teamId; + public ?ObjsUserTeamProfile $teamProfile; /** * @var list|null */ - protected $teams; - /** - * @var string|null - */ - protected $twoFactorType; + public ?array $teams; + public ?string $twoFactorType; /** * @var mixed|null */ - protected $tz; - /** - * @var string|null - */ - protected $tzLabel; - /** - * @var float|null - */ - protected $tzOffset; - /** - * @var float|null - */ - protected $updated; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * refercing to bug: https://jira.tinyspeck.com/browse/EVALUE-1559. - */ - public function getColor(): ?string - { - return $this->color; - } - - /** - * refercing to bug: https://jira.tinyspeck.com/browse/EVALUE-1559. - */ - public function setColor(?string $color): self - { - $this->initialized['color'] = true; - $this->color = $color; - - return $this; - } - - public function getDeleted(): ?bool - { - return $this->deleted; - } - - public function setDeleted(?bool $deleted): self - { - $this->initialized['deleted'] = true; - $this->deleted = $deleted; - - return $this; - } - - public function getEnterpriseUser(): ?ObjsEnterpriseUser - { - return $this->enterpriseUser; - } - - public function setEnterpriseUser(?ObjsEnterpriseUser $enterpriseUser): self - { - $this->initialized['enterpriseUser'] = true; - $this->enterpriseUser = $enterpriseUser; - - return $this; - } - - public function getHas2fa(): ?bool - { - return $this->has2fa; - } - - public function setHas2fa(?bool $has2fa): self - { - $this->initialized['has2fa'] = true; - $this->has2fa = $has2fa; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getIsAdmin(): ?bool - { - return $this->isAdmin; - } - - public function setIsAdmin(?bool $isAdmin): self - { - $this->initialized['isAdmin'] = true; - $this->isAdmin = $isAdmin; - - return $this; - } - - public function getIsAppUser(): ?bool - { - return $this->isAppUser; - } - - public function setIsAppUser(?bool $isAppUser): self - { - $this->initialized['isAppUser'] = true; - $this->isAppUser = $isAppUser; - - return $this; - } - - public function getIsBot(): ?bool - { - return $this->isBot; - } - - public function setIsBot(?bool $isBot): self - { - $this->initialized['isBot'] = true; - $this->isBot = $isBot; - - return $this; - } - - public function getIsExternal(): ?bool - { - return $this->isExternal; - } - - public function setIsExternal(?bool $isExternal): self - { - $this->initialized['isExternal'] = true; - $this->isExternal = $isExternal; - - return $this; - } - - public function getIsForgotten(): ?bool - { - return $this->isForgotten; - } - - public function setIsForgotten(?bool $isForgotten): self - { - $this->initialized['isForgotten'] = true; - $this->isForgotten = $isForgotten; - - return $this; - } - - public function getIsInvitedUser(): ?bool - { - return $this->isInvitedUser; - } - - public function setIsInvitedUser(?bool $isInvitedUser): self - { - $this->initialized['isInvitedUser'] = true; - $this->isInvitedUser = $isInvitedUser; - - return $this; - } - - public function getIsOwner(): ?bool - { - return $this->isOwner; - } - - public function setIsOwner(?bool $isOwner): self - { - $this->initialized['isOwner'] = true; - $this->isOwner = $isOwner; - - return $this; - } - - public function getIsPrimaryOwner(): ?bool - { - return $this->isPrimaryOwner; - } - - public function setIsPrimaryOwner(?bool $isPrimaryOwner): self - { - $this->initialized['isPrimaryOwner'] = true; - $this->isPrimaryOwner = $isPrimaryOwner; - - return $this; - } - - public function getIsRestricted(): ?bool - { - return $this->isRestricted; - } - - public function setIsRestricted(?bool $isRestricted): self - { - $this->initialized['isRestricted'] = true; - $this->isRestricted = $isRestricted; - - return $this; - } - - public function getIsStranger(): ?bool - { - return $this->isStranger; - } - - public function setIsStranger(?bool $isStranger): self - { - $this->initialized['isStranger'] = true; - $this->isStranger = $isStranger; - - return $this; - } - - public function getIsUltraRestricted(): ?bool - { - return $this->isUltraRestricted; - } - - public function setIsUltraRestricted(?bool $isUltraRestricted): self - { - $this->initialized['isUltraRestricted'] = true; - $this->isUltraRestricted = $isUltraRestricted; - - return $this; - } - - public function getLocale(): ?string - { - return $this->locale; - } - - public function setLocale(?string $locale): self - { - $this->initialized['locale'] = true; - $this->locale = $locale; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getPresence(): ?string - { - return $this->presence; - } - - public function setPresence(?string $presence): self - { - $this->initialized['presence'] = true; - $this->presence = $presence; - - return $this; - } - - public function getProfile(): ?ObjsUserProfile - { - return $this->profile; - } - - public function setProfile(?ObjsUserProfile $profile): self - { - $this->initialized['profile'] = true; - $this->profile = $profile; - - return $this; - } - - public function getRealName(): ?string - { - return $this->realName; - } - - public function setRealName(?string $realName): self - { - $this->initialized['realName'] = true; - $this->realName = $realName; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getTeamId(): ?string - { - return $this->teamId; - } - - public function setTeamId(?string $teamId): self - { - $this->initialized['teamId'] = true; - $this->teamId = $teamId; - - return $this; - } - - public function getTeamProfile(): ?ObjsUserTeamProfile - { - return $this->teamProfile; - } - - public function setTeamProfile(?ObjsUserTeamProfile $teamProfile): self - { - $this->initialized['teamProfile'] = true; - $this->teamProfile = $teamProfile; - - return $this; - } - - /** - * @return list|null - */ - public function getTeams(): ?array - { - return $this->teams; - } - - /** - * @param list|null $teams - */ - public function setTeams(?array $teams): self - { - $this->initialized['teams'] = true; - $this->teams = $teams; - - return $this; - } - - public function getTwoFactorType(): ?string - { - return $this->twoFactorType; - } - - public function setTwoFactorType(?string $twoFactorType): self - { - $this->initialized['twoFactorType'] = true; - $this->twoFactorType = $twoFactorType; - - return $this; - } - - public function getTz() - { - return $this->tz; - } - - public function setTz($tz): self - { - $this->initialized['tz'] = true; - $this->tz = $tz; - - return $this; - } - - public function getTzLabel(): ?string - { - return $this->tzLabel; - } - - public function setTzLabel(?string $tzLabel): self - { - $this->initialized['tzLabel'] = true; - $this->tzLabel = $tzLabel; - - return $this; - } - - public function getTzOffset(): ?float - { - return $this->tzOffset; - } - - public function setTzOffset(?float $tzOffset): self - { - $this->initialized['tzOffset'] = true; - $this->tzOffset = $tzOffset; - - return $this; - } - - public function getUpdated(): ?float - { - return $this->updated; - } - - public function setUpdated(?float $updated): self - { - $this->initialized['updated'] = true; - $this->updated = $updated; - - return $this; - } + public $tz; + public ?string $tzLabel; + public ?float $tzOffset; + public ?float $updated; } diff --git a/generated/Model/ObjsUserProfile.php b/generated/Model/ObjsUserProfile.php index 599f5391..980f2d13 100644 --- a/generated/Model/ObjsUserProfile.php +++ b/generated/Model/ObjsUserProfile.php @@ -15,767 +15,51 @@ class ObjsUserProfile { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $alwaysActive; - /** - * @var string|null - */ - protected $apiAppId; - /** - * @var string|null - */ - protected $avatarHash; - /** - * @var string|null - */ - protected $botId; - /** - * @var string|null - */ - protected $displayName; - /** - * @var string|null - */ - protected $displayNameNormalized; - /** - * @var string|null - */ - protected $email; + public ?bool $alwaysActive; + public ?string $apiAppId; + public ?string $avatarHash; + public ?string $botId; + public ?string $displayName; + public ?string $displayNameNormalized; + public ?string $email; /** * @var list|null */ - protected $fields; - /** - * @var string|null - */ - protected $firstName; - /** - * @var int|null - */ - protected $guestExpirationTs; - /** - * @var string|null - */ - protected $guestInvitedBy; - /** - * @var string|null - */ - protected $image1024; - /** - * @var string|null - */ - protected $image192; - /** - * @var string|null - */ - protected $image24; - /** - * @var string|null - */ - protected $image32; - /** - * @var string|null - */ - protected $image48; - /** - * @var string|null - */ - protected $image512; - /** - * @var string|null - */ - protected $image72; - /** - * @var string|null - */ - protected $imageOriginal; - /** - * @var bool|null - */ - protected $isAppUser; - /** - * @var bool|null - */ - protected $isCustomImage; - /** - * @var bool|null - */ - protected $isRestricted; - /** - * @var bool|null - */ - protected $isUltraRestricted; - /** - * @var string|null - */ - protected $lastAvatarImageHash; - /** - * @var string|null - */ - protected $lastName; - /** - * @var int|null - */ - protected $membershipsCount; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $phone; - /** - * @var string|null - */ - protected $pronouns; - /** - * @var string|null - */ - protected $realName; - /** - * @var string|null - */ - protected $realNameNormalized; - /** - * @var string|null - */ - protected $skype; - /** - * @var string|null - */ - protected $statusDefaultEmoji; - /** - * @var string|null - */ - protected $statusDefaultText; - /** - * @var string|null - */ - protected $statusDefaultTextCanonical; - /** - * @var string|null - */ - protected $statusEmoji; - /** - * @var int|null - */ - protected $statusExpiration; - /** - * @var string|null - */ - protected $statusText; - /** - * @var string|null - */ - protected $statusTextCanonical; - /** - * @var string|null - */ - protected $team; - /** - * @var string|null - */ - protected $title; - /** - * @var int|null - */ - protected $updated; - /** - * @var string|null - */ - protected $userId; - /** - * @var string|null - */ - protected $username; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAlwaysActive(): ?bool - { - return $this->alwaysActive; - } - - public function setAlwaysActive(?bool $alwaysActive): self - { - $this->initialized['alwaysActive'] = true; - $this->alwaysActive = $alwaysActive; - - return $this; - } - - public function getApiAppId(): ?string - { - return $this->apiAppId; - } - - public function setApiAppId(?string $apiAppId): self - { - $this->initialized['apiAppId'] = true; - $this->apiAppId = $apiAppId; - - return $this; - } - - public function getAvatarHash(): ?string - { - return $this->avatarHash; - } - - public function setAvatarHash(?string $avatarHash): self - { - $this->initialized['avatarHash'] = true; - $this->avatarHash = $avatarHash; - - return $this; - } - - public function getBotId(): ?string - { - return $this->botId; - } - - public function setBotId(?string $botId): self - { - $this->initialized['botId'] = true; - $this->botId = $botId; - - return $this; - } - - public function getDisplayName(): ?string - { - return $this->displayName; - } - - public function setDisplayName(?string $displayName): self - { - $this->initialized['displayName'] = true; - $this->displayName = $displayName; - - return $this; - } - - public function getDisplayNameNormalized(): ?string - { - return $this->displayNameNormalized; - } - - public function setDisplayNameNormalized(?string $displayNameNormalized): self - { - $this->initialized['displayNameNormalized'] = true; - $this->displayNameNormalized = $displayNameNormalized; - - return $this; - } - - public function getEmail(): ?string - { - return $this->email; - } - - public function setEmail(?string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - /** - * @return list|null - */ - public function getFields(): ?array - { - return $this->fields; - } - - /** - * @param list|null $fields - */ - public function setFields(?array $fields): self - { - $this->initialized['fields'] = true; - $this->fields = $fields; - - return $this; - } - - public function getFirstName(): ?string - { - return $this->firstName; - } - - public function setFirstName(?string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getGuestExpirationTs(): ?int - { - return $this->guestExpirationTs; - } - - public function setGuestExpirationTs(?int $guestExpirationTs): self - { - $this->initialized['guestExpirationTs'] = true; - $this->guestExpirationTs = $guestExpirationTs; - - return $this; - } - - public function getGuestInvitedBy(): ?string - { - return $this->guestInvitedBy; - } - - public function setGuestInvitedBy(?string $guestInvitedBy): self - { - $this->initialized['guestInvitedBy'] = true; - $this->guestInvitedBy = $guestInvitedBy; - - return $this; - } - - public function getImage1024(): ?string - { - return $this->image1024; - } - - public function setImage1024(?string $image1024): self - { - $this->initialized['image1024'] = true; - $this->image1024 = $image1024; - - return $this; - } - - public function getImage192(): ?string - { - return $this->image192; - } - - public function setImage192(?string $image192): self - { - $this->initialized['image192'] = true; - $this->image192 = $image192; - - return $this; - } - - public function getImage24(): ?string - { - return $this->image24; - } - - public function setImage24(?string $image24): self - { - $this->initialized['image24'] = true; - $this->image24 = $image24; - - return $this; - } - - public function getImage32(): ?string - { - return $this->image32; - } - - public function setImage32(?string $image32): self - { - $this->initialized['image32'] = true; - $this->image32 = $image32; - - return $this; - } - - public function getImage48(): ?string - { - return $this->image48; - } - - public function setImage48(?string $image48): self - { - $this->initialized['image48'] = true; - $this->image48 = $image48; - - return $this; - } - - public function getImage512(): ?string - { - return $this->image512; - } - - public function setImage512(?string $image512): self - { - $this->initialized['image512'] = true; - $this->image512 = $image512; - - return $this; - } - - public function getImage72(): ?string - { - return $this->image72; - } - - public function setImage72(?string $image72): self - { - $this->initialized['image72'] = true; - $this->image72 = $image72; - - return $this; - } - - public function getImageOriginal(): ?string - { - return $this->imageOriginal; - } - - public function setImageOriginal(?string $imageOriginal): self - { - $this->initialized['imageOriginal'] = true; - $this->imageOriginal = $imageOriginal; - - return $this; - } - - public function getIsAppUser(): ?bool - { - return $this->isAppUser; - } - - public function setIsAppUser(?bool $isAppUser): self - { - $this->initialized['isAppUser'] = true; - $this->isAppUser = $isAppUser; - - return $this; - } - - public function getIsCustomImage(): ?bool - { - return $this->isCustomImage; - } - - public function setIsCustomImage(?bool $isCustomImage): self - { - $this->initialized['isCustomImage'] = true; - $this->isCustomImage = $isCustomImage; - - return $this; - } - - public function getIsRestricted(): ?bool - { - return $this->isRestricted; - } - - public function setIsRestricted(?bool $isRestricted): self - { - $this->initialized['isRestricted'] = true; - $this->isRestricted = $isRestricted; - - return $this; - } - - public function getIsUltraRestricted(): ?bool - { - return $this->isUltraRestricted; - } - - public function setIsUltraRestricted(?bool $isUltraRestricted): self - { - $this->initialized['isUltraRestricted'] = true; - $this->isUltraRestricted = $isUltraRestricted; - - return $this; - } - - public function getLastAvatarImageHash(): ?string - { - return $this->lastAvatarImageHash; - } - - public function setLastAvatarImageHash(?string $lastAvatarImageHash): self - { - $this->initialized['lastAvatarImageHash'] = true; - $this->lastAvatarImageHash = $lastAvatarImageHash; - - return $this; - } - - public function getLastName(): ?string - { - return $this->lastName; - } - - public function setLastName(?string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getMembershipsCount(): ?int - { - return $this->membershipsCount; - } - - public function setMembershipsCount(?int $membershipsCount): self - { - $this->initialized['membershipsCount'] = true; - $this->membershipsCount = $membershipsCount; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getPhone(): ?string - { - return $this->phone; - } - - public function setPhone(?string $phone): self - { - $this->initialized['phone'] = true; - $this->phone = $phone; - - return $this; - } - - public function getPronouns(): ?string - { - return $this->pronouns; - } - - public function setPronouns(?string $pronouns): self - { - $this->initialized['pronouns'] = true; - $this->pronouns = $pronouns; - - return $this; - } - - public function getRealName(): ?string - { - return $this->realName; - } - - public function setRealName(?string $realName): self - { - $this->initialized['realName'] = true; - $this->realName = $realName; - - return $this; - } - - public function getRealNameNormalized(): ?string - { - return $this->realNameNormalized; - } - - public function setRealNameNormalized(?string $realNameNormalized): self - { - $this->initialized['realNameNormalized'] = true; - $this->realNameNormalized = $realNameNormalized; - - return $this; - } - - public function getSkype(): ?string - { - return $this->skype; - } - - public function setSkype(?string $skype): self - { - $this->initialized['skype'] = true; - $this->skype = $skype; - - return $this; - } - - public function getStatusDefaultEmoji(): ?string - { - return $this->statusDefaultEmoji; - } - - public function setStatusDefaultEmoji(?string $statusDefaultEmoji): self - { - $this->initialized['statusDefaultEmoji'] = true; - $this->statusDefaultEmoji = $statusDefaultEmoji; - - return $this; - } - - public function getStatusDefaultText(): ?string - { - return $this->statusDefaultText; - } - - public function setStatusDefaultText(?string $statusDefaultText): self - { - $this->initialized['statusDefaultText'] = true; - $this->statusDefaultText = $statusDefaultText; - - return $this; - } - - public function getStatusDefaultTextCanonical(): ?string - { - return $this->statusDefaultTextCanonical; - } - - public function setStatusDefaultTextCanonical(?string $statusDefaultTextCanonical): self - { - $this->initialized['statusDefaultTextCanonical'] = true; - $this->statusDefaultTextCanonical = $statusDefaultTextCanonical; - - return $this; - } - - public function getStatusEmoji(): ?string - { - return $this->statusEmoji; - } - - public function setStatusEmoji(?string $statusEmoji): self - { - $this->initialized['statusEmoji'] = true; - $this->statusEmoji = $statusEmoji; - - return $this; - } - - public function getStatusExpiration(): ?int - { - return $this->statusExpiration; - } - - public function setStatusExpiration(?int $statusExpiration): self - { - $this->initialized['statusExpiration'] = true; - $this->statusExpiration = $statusExpiration; - - return $this; - } - - public function getStatusText(): ?string - { - return $this->statusText; - } - - public function setStatusText(?string $statusText): self - { - $this->initialized['statusText'] = true; - $this->statusText = $statusText; - - return $this; - } - - public function getStatusTextCanonical(): ?string - { - return $this->statusTextCanonical; - } - - public function setStatusTextCanonical(?string $statusTextCanonical): self - { - $this->initialized['statusTextCanonical'] = true; - $this->statusTextCanonical = $statusTextCanonical; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getTitle(): ?string - { - return $this->title; - } - - public function setTitle(?string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getUpdated(): ?int - { - return $this->updated; - } - - public function setUpdated(?int $updated): self - { - $this->initialized['updated'] = true; - $this->updated = $updated; - - return $this; - } - - public function getUserId(): ?string - { - return $this->userId; - } - - public function setUserId(?string $userId): self - { - $this->initialized['userId'] = true; - $this->userId = $userId; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } + public ?array $fields; + public ?string $firstName; + public ?int $guestExpirationTs; + public ?string $guestInvitedBy; + public ?string $image1024; + public ?string $image192; + public ?string $image24; + public ?string $image32; + public ?string $image48; + public ?string $image512; + public ?string $image72; + public ?string $imageOriginal; + public ?bool $isAppUser; + public ?bool $isCustomImage; + public ?bool $isRestricted; + public ?bool $isUltraRestricted; + public ?string $lastAvatarImageHash; + public ?string $lastName; + public ?int $membershipsCount; + public ?string $name; + public ?string $phone; + public ?string $pronouns; + public ?string $realName; + public ?string $realNameNormalized; + public ?string $skype; + public ?string $statusDefaultEmoji; + public ?string $statusDefaultText; + public ?string $statusDefaultTextCanonical; + public ?string $statusEmoji; + public ?int $statusExpiration; + public ?string $statusText; + public ?string $statusTextCanonical; + public ?string $team; + public ?string $title; + public ?int $updated; + public ?string $userId; + public ?string $username; } diff --git a/generated/Model/ObjsUserProfileShort.php b/generated/Model/ObjsUserProfileShort.php index 2cd72058..35477f3e 100644 --- a/generated/Model/ObjsUserProfileShort.php +++ b/generated/Model/ObjsUserProfileShort.php @@ -15,200 +15,15 @@ class ObjsUserProfileShort { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $avatarHash; - /** - * @var string|null - */ - protected $displayName; - /** - * @var string|null - */ - protected $displayNameNormalized; - /** - * @var string|null - */ - protected $firstName; - /** - * @var string|null - */ - protected $image72; - /** - * @var bool|null - */ - protected $isRestricted; - /** - * @var bool|null - */ - protected $isUltraRestricted; - /** - * @var string|null - */ - protected $name; - /** - * @var string|null - */ - protected $realName; - /** - * @var string|null - */ - protected $realNameNormalized; - /** - * @var string|null - */ - protected $team; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAvatarHash(): ?string - { - return $this->avatarHash; - } - - public function setAvatarHash(?string $avatarHash): self - { - $this->initialized['avatarHash'] = true; - $this->avatarHash = $avatarHash; - - return $this; - } - - public function getDisplayName(): ?string - { - return $this->displayName; - } - - public function setDisplayName(?string $displayName): self - { - $this->initialized['displayName'] = true; - $this->displayName = $displayName; - - return $this; - } - - public function getDisplayNameNormalized(): ?string - { - return $this->displayNameNormalized; - } - - public function setDisplayNameNormalized(?string $displayNameNormalized): self - { - $this->initialized['displayNameNormalized'] = true; - $this->displayNameNormalized = $displayNameNormalized; - - return $this; - } - - public function getFirstName(): ?string - { - return $this->firstName; - } - - public function setFirstName(?string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getImage72(): ?string - { - return $this->image72; - } - - public function setImage72(?string $image72): self - { - $this->initialized['image72'] = true; - $this->image72 = $image72; - - return $this; - } - - public function getIsRestricted(): ?bool - { - return $this->isRestricted; - } - - public function setIsRestricted(?bool $isRestricted): self - { - $this->initialized['isRestricted'] = true; - $this->isRestricted = $isRestricted; - - return $this; - } - - public function getIsUltraRestricted(): ?bool - { - return $this->isUltraRestricted; - } - - public function setIsUltraRestricted(?bool $isUltraRestricted): self - { - $this->initialized['isUltraRestricted'] = true; - $this->isUltraRestricted = $isUltraRestricted; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getRealName(): ?string - { - return $this->realName; - } - - public function setRealName(?string $realName): self - { - $this->initialized['realName'] = true; - $this->realName = $realName; - - return $this; - } - - public function getRealNameNormalized(): ?string - { - return $this->realNameNormalized; - } - - public function setRealNameNormalized(?string $realNameNormalized): self - { - $this->initialized['realNameNormalized'] = true; - $this->realNameNormalized = $realNameNormalized; - - return $this; - } - - public function getTeam(): ?string - { - return $this->team; - } - - public function setTeam(?string $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } + public ?string $avatarHash; + public ?string $displayName; + public ?string $displayNameNormalized; + public ?string $firstName; + public ?string $image72; + public ?bool $isRestricted; + public ?bool $isUltraRestricted; + public ?string $name; + public ?string $realName; + public ?string $realNameNormalized; + public ?string $team; } diff --git a/generated/Model/ObjsUserTeamProfile.php b/generated/Model/ObjsUserTeamProfile.php index 978ec04f..2d725370 100644 --- a/generated/Model/ObjsUserTeamProfile.php +++ b/generated/Model/ObjsUserTeamProfile.php @@ -15,36 +15,8 @@ class ObjsUserTeamProfile { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $fields; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getFields(): ?array - { - return $this->fields; - } - - /** - * @param list|null $fields - */ - public function setFields(?array $fields): self - { - $this->initialized['fields'] = true; - $this->fields = $fields; - - return $this; - } + public ?array $fields; } diff --git a/generated/Model/PinsAddPostResponse200.php b/generated/Model/PinsAddPostResponse200.php index 49aa7631..97a0255a 100644 --- a/generated/Model/PinsAddPostResponse200.php +++ b/generated/Model/PinsAddPostResponse200.php @@ -15,30 +15,5 @@ class PinsAddPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/PinsAddPostResponsedefault.php b/generated/Model/PinsAddPostResponsedefault.php index 2ada0562..d2a86603 100644 --- a/generated/Model/PinsAddPostResponsedefault.php +++ b/generated/Model/PinsAddPostResponsedefault.php @@ -15,72 +15,10 @@ class PinsAddPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/PinsListGetResponse200Item0.php b/generated/Model/PinsListGetResponse200Item0.php index 92df9f9f..5471f91b 100644 --- a/generated/Model/PinsListGetResponse200Item0.php +++ b/generated/Model/PinsListGetResponse200Item0.php @@ -15,53 +15,9 @@ class PinsListGetResponse200Item0 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|list|null */ - protected $items; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|list|null - */ - public function getItems() - { - return $this->items; - } - - /** - * @param list|list|null $items - */ - public function setItems($items): self - { - $this->initialized['items'] = true; - $this->items = $items; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public $items; + public ?bool $ok; } diff --git a/generated/Model/PinsListGetResponse200Item0ItemsItem0.php b/generated/Model/PinsListGetResponse200Item0ItemsItem0.php index a725daa2..039fd4fb 100644 --- a/generated/Model/PinsListGetResponse200Item0ItemsItem0.php +++ b/generated/Model/PinsListGetResponse200Item0ItemsItem0.php @@ -15,81 +15,8 @@ class PinsListGetResponse200Item0ItemsItem0 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $created; - /** - * @var string|null - */ - protected $createdBy; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getCreatedBy(): ?string - { - return $this->createdBy; - } - - public function setCreatedBy(?string $createdBy): self - { - $this->initialized['createdBy'] = true; - $this->createdBy = $createdBy; - - return $this; - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?int $created; + public ?string $createdBy; + public ?ObjsFile $file; + public ?string $type; } diff --git a/generated/Model/PinsListGetResponse200Item0ItemsItem1.php b/generated/Model/PinsListGetResponse200Item0ItemsItem1.php index 68e3e055..96d7402c 100644 --- a/generated/Model/PinsListGetResponse200Item0ItemsItem1.php +++ b/generated/Model/PinsListGetResponse200Item0ItemsItem1.php @@ -15,98 +15,9 @@ class PinsListGetResponse200Item0ItemsItem1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var int|null - */ - protected $created; - /** - * @var string|null - */ - protected $createdBy; - /** - * @var ObjsMessage|null - */ - protected $message; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getCreated(): ?int - { - return $this->created; - } - - public function setCreated(?int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getCreatedBy(): ?string - { - return $this->createdBy; - } - - public function setCreatedBy(?string $createdBy): self - { - $this->initialized['createdBy'] = true; - $this->createdBy = $createdBy; - - return $this; - } - - public function getMessage(): ?ObjsMessage - { - return $this->message; - } - - public function setMessage(?ObjsMessage $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $channel; + public ?int $created; + public ?string $createdBy; + public ?ObjsMessage $message; + public ?string $type; } diff --git a/generated/Model/PinsListGetResponse200Item1.php b/generated/Model/PinsListGetResponse200Item1.php index 3bf0cb97..01146982 100644 --- a/generated/Model/PinsListGetResponse200Item1.php +++ b/generated/Model/PinsListGetResponse200Item1.php @@ -15,47 +15,6 @@ class PinsListGetResponse200Item1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $count; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCount(): ?int - { - return $this->count; - } - - public function setCount(?int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?int $count; + public ?bool $ok; } diff --git a/generated/Model/PinsListGetResponsedefault.php b/generated/Model/PinsListGetResponsedefault.php index e51b6968..58ff9386 100644 --- a/generated/Model/PinsListGetResponsedefault.php +++ b/generated/Model/PinsListGetResponsedefault.php @@ -15,72 +15,10 @@ class PinsListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/PinsRemovePostResponse200.php b/generated/Model/PinsRemovePostResponse200.php index ad0e95ad..88233571 100644 --- a/generated/Model/PinsRemovePostResponse200.php +++ b/generated/Model/PinsRemovePostResponse200.php @@ -15,30 +15,5 @@ class PinsRemovePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/PinsRemovePostResponsedefault.php b/generated/Model/PinsRemovePostResponsedefault.php index 43cd06be..9bc48ff9 100644 --- a/generated/Model/PinsRemovePostResponsedefault.php +++ b/generated/Model/PinsRemovePostResponsedefault.php @@ -15,72 +15,10 @@ class PinsRemovePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ReactionsAddPostResponse200.php b/generated/Model/ReactionsAddPostResponse200.php index d1b89abf..db843f70 100644 --- a/generated/Model/ReactionsAddPostResponse200.php +++ b/generated/Model/ReactionsAddPostResponse200.php @@ -15,30 +15,5 @@ class ReactionsAddPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ReactionsAddPostResponsedefault.php b/generated/Model/ReactionsAddPostResponsedefault.php index 0b42b675..05e523e2 100644 --- a/generated/Model/ReactionsAddPostResponsedefault.php +++ b/generated/Model/ReactionsAddPostResponsedefault.php @@ -15,72 +15,10 @@ class ReactionsAddPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ReactionsGetGetResponsedefault.php b/generated/Model/ReactionsGetGetResponsedefault.php index 2c8c4db1..f1750c3a 100644 --- a/generated/Model/ReactionsGetGetResponsedefault.php +++ b/generated/Model/ReactionsGetGetResponsedefault.php @@ -15,72 +15,10 @@ class ReactionsGetGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ReactionsListGetResponse200.php b/generated/Model/ReactionsListGetResponse200.php index f2f9184a..75bad097 100644 --- a/generated/Model/ReactionsListGetResponse200.php +++ b/generated/Model/ReactionsListGetResponse200.php @@ -15,87 +15,11 @@ class ReactionsListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $items; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsPaging|null - */ - protected $paging; - /** - * @var ObjsResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getItems(): ?array - { - return $this->items; - } - - /** - * @param list|null $items - */ - public function setItems(?array $items): self - { - $this->initialized['items'] = true; - $this->items = $items; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPaging(): ?ObjsPaging - { - return $this->paging; - } - - public function setPaging(?ObjsPaging $paging): self - { - $this->initialized['paging'] = true; - $this->paging = $paging; - - return $this; - } - - public function getResponseMetadata(): ?ObjsResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ObjsResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $items; + public ?bool $ok; + public ?ObjsPaging $paging; + public ?ObjsResponseMetadata $responseMetadata; } diff --git a/generated/Model/ReactionsListGetResponse200ItemsItemItem0.php b/generated/Model/ReactionsListGetResponse200ItemsItemItem0.php index fd6c3851..cdb2c958 100644 --- a/generated/Model/ReactionsListGetResponse200ItemsItemItem0.php +++ b/generated/Model/ReactionsListGetResponse200ItemsItemItem0.php @@ -15,64 +15,7 @@ class ReactionsListGetResponse200ItemsItemItem0 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var ObjsMessage|null - */ - protected $message; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getMessage(): ?ObjsMessage - { - return $this->message; - } - - public function setMessage(?ObjsMessage $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $channel; + public ?ObjsMessage $message; + public ?string $type; } diff --git a/generated/Model/ReactionsListGetResponse200ItemsItemItem1.php b/generated/Model/ReactionsListGetResponse200ItemsItemItem1.php index dc080fe3..2c3e7c70 100644 --- a/generated/Model/ReactionsListGetResponse200ItemsItemItem1.php +++ b/generated/Model/ReactionsListGetResponse200ItemsItemItem1.php @@ -15,47 +15,6 @@ class ReactionsListGetResponse200ItemsItemItem1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?ObjsFile $file; + public ?string $type; } diff --git a/generated/Model/ReactionsListGetResponse200ItemsItemItem2.php b/generated/Model/ReactionsListGetResponse200ItemsItemItem2.php index 08b3549b..e626e39b 100644 --- a/generated/Model/ReactionsListGetResponse200ItemsItemItem2.php +++ b/generated/Model/ReactionsListGetResponse200ItemsItemItem2.php @@ -15,64 +15,7 @@ class ReactionsListGetResponse200ItemsItemItem2 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsComment|null - */ - protected $comment; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getComment(): ?ObjsComment - { - return $this->comment; - } - - public function setComment(?ObjsComment $comment): self - { - $this->initialized['comment'] = true; - $this->comment = $comment; - - return $this; - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?ObjsComment $comment; + public ?ObjsFile $file; + public ?string $type; } diff --git a/generated/Model/ReactionsListGetResponsedefault.php b/generated/Model/ReactionsListGetResponsedefault.php index 9bd2a8b2..8ed2f420 100644 --- a/generated/Model/ReactionsListGetResponsedefault.php +++ b/generated/Model/ReactionsListGetResponsedefault.php @@ -15,72 +15,10 @@ class ReactionsListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ReactionsRemovePostResponse200.php b/generated/Model/ReactionsRemovePostResponse200.php index 003c3463..bf9eeb5b 100644 --- a/generated/Model/ReactionsRemovePostResponse200.php +++ b/generated/Model/ReactionsRemovePostResponse200.php @@ -15,30 +15,5 @@ class ReactionsRemovePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/ReactionsRemovePostResponsedefault.php b/generated/Model/ReactionsRemovePostResponsedefault.php index 8ab9f5f2..59858fae 100644 --- a/generated/Model/ReactionsRemovePostResponsedefault.php +++ b/generated/Model/ReactionsRemovePostResponsedefault.php @@ -15,72 +15,10 @@ class ReactionsRemovePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/RemindersAddPostResponse200.php b/generated/Model/RemindersAddPostResponse200.php index e32bc042..a1ab45c3 100644 --- a/generated/Model/RemindersAddPostResponse200.php +++ b/generated/Model/RemindersAddPostResponse200.php @@ -15,47 +15,6 @@ class RemindersAddPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsReminder|null - */ - protected $reminder; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getReminder(): ?ObjsReminder - { - return $this->reminder; - } - - public function setReminder(?ObjsReminder $reminder): self - { - $this->initialized['reminder'] = true; - $this->reminder = $reminder; - - return $this; - } + public ?bool $ok; + public ?ObjsReminder $reminder; } diff --git a/generated/Model/RemindersAddPostResponsedefault.php b/generated/Model/RemindersAddPostResponsedefault.php index 93c1c8f6..87a4f1b3 100644 --- a/generated/Model/RemindersAddPostResponsedefault.php +++ b/generated/Model/RemindersAddPostResponsedefault.php @@ -15,72 +15,10 @@ class RemindersAddPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/RemindersCompletePostResponse200.php b/generated/Model/RemindersCompletePostResponse200.php index d70795ad..ccbcf3cc 100644 --- a/generated/Model/RemindersCompletePostResponse200.php +++ b/generated/Model/RemindersCompletePostResponse200.php @@ -15,30 +15,5 @@ class RemindersCompletePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/RemindersCompletePostResponsedefault.php b/generated/Model/RemindersCompletePostResponsedefault.php index 3bd6a670..5ebd5ce7 100644 --- a/generated/Model/RemindersCompletePostResponsedefault.php +++ b/generated/Model/RemindersCompletePostResponsedefault.php @@ -15,72 +15,10 @@ class RemindersCompletePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/RemindersDeletePostResponse200.php b/generated/Model/RemindersDeletePostResponse200.php index 17c9733d..1aaf1a8d 100644 --- a/generated/Model/RemindersDeletePostResponse200.php +++ b/generated/Model/RemindersDeletePostResponse200.php @@ -15,30 +15,5 @@ class RemindersDeletePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/RemindersDeletePostResponsedefault.php b/generated/Model/RemindersDeletePostResponsedefault.php index 733f47a8..52e24d2f 100644 --- a/generated/Model/RemindersDeletePostResponsedefault.php +++ b/generated/Model/RemindersDeletePostResponsedefault.php @@ -15,72 +15,10 @@ class RemindersDeletePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/RemindersInfoGetResponse200.php b/generated/Model/RemindersInfoGetResponse200.php index e1460e00..51038998 100644 --- a/generated/Model/RemindersInfoGetResponse200.php +++ b/generated/Model/RemindersInfoGetResponse200.php @@ -15,47 +15,6 @@ class RemindersInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsReminder|null - */ - protected $reminder; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getReminder(): ?ObjsReminder - { - return $this->reminder; - } - - public function setReminder(?ObjsReminder $reminder): self - { - $this->initialized['reminder'] = true; - $this->reminder = $reminder; - - return $this; - } + public ?bool $ok; + public ?ObjsReminder $reminder; } diff --git a/generated/Model/RemindersInfoGetResponsedefault.php b/generated/Model/RemindersInfoGetResponsedefault.php index 9dbeed2d..2a6bb8b0 100644 --- a/generated/Model/RemindersInfoGetResponsedefault.php +++ b/generated/Model/RemindersInfoGetResponsedefault.php @@ -15,72 +15,10 @@ class RemindersInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/RemindersListGetResponse200.php b/generated/Model/RemindersListGetResponse200.php index f497a3ef..2a3b25c3 100644 --- a/generated/Model/RemindersListGetResponse200.php +++ b/generated/Model/RemindersListGetResponse200.php @@ -15,53 +15,9 @@ class RemindersListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; + public ?bool $ok; /** * @var list|null */ - protected $reminders; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * @return list|null - */ - public function getReminders(): ?array - { - return $this->reminders; - } - - /** - * @param list|null $reminders - */ - public function setReminders(?array $reminders): self - { - $this->initialized['reminders'] = true; - $this->reminders = $reminders; - - return $this; - } + public ?array $reminders; } diff --git a/generated/Model/RemindersListGetResponsedefault.php b/generated/Model/RemindersListGetResponsedefault.php index 87553853..de60f332 100644 --- a/generated/Model/RemindersListGetResponsedefault.php +++ b/generated/Model/RemindersListGetResponsedefault.php @@ -15,72 +15,10 @@ class RemindersListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/RtmConnectGetResponse200.php b/generated/Model/RtmConnectGetResponse200.php index dbbc403c..6c12d4c0 100644 --- a/generated/Model/RtmConnectGetResponse200.php +++ b/generated/Model/RtmConnectGetResponse200.php @@ -15,81 +15,8 @@ class RtmConnectGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var RtmConnectGetResponse200Self|null - */ - protected $self; - /** - * @var RtmConnectGetResponse200Team|null - */ - protected $team; - /** - * @var string|null - */ - protected $url; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getSelf(): ?RtmConnectGetResponse200Self - { - return $this->self; - } - - public function setSelf(?RtmConnectGetResponse200Self $self): self - { - $this->initialized['self'] = true; - $this->self = $self; - - return $this; - } - - public function getTeam(): ?RtmConnectGetResponse200Team - { - return $this->team; - } - - public function setTeam(?RtmConnectGetResponse200Team $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getUrl(): ?string - { - return $this->url; - } - - public function setUrl(?string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } + public ?bool $ok; + public ?RtmConnectGetResponse200Self $self; + public ?RtmConnectGetResponse200Team $team; + public ?string $url; } diff --git a/generated/Model/RtmConnectGetResponse200Self.php b/generated/Model/RtmConnectGetResponse200Self.php index 50981b02..89e63328 100644 --- a/generated/Model/RtmConnectGetResponse200Self.php +++ b/generated/Model/RtmConnectGetResponse200Self.php @@ -15,47 +15,6 @@ class RtmConnectGetResponse200Self { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $id; + public ?string $name; } diff --git a/generated/Model/RtmConnectGetResponse200Team.php b/generated/Model/RtmConnectGetResponse200Team.php index e29dea63..e5d70adb 100644 --- a/generated/Model/RtmConnectGetResponse200Team.php +++ b/generated/Model/RtmConnectGetResponse200Team.php @@ -15,64 +15,7 @@ class RtmConnectGetResponse200Team { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $domain; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDomain(): ?string - { - return $this->domain; - } - - public function setDomain(?string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $domain; + public ?string $id; + public ?string $name; } diff --git a/generated/Model/RtmConnectGetResponsedefault.php b/generated/Model/RtmConnectGetResponsedefault.php index c36faa65..92a4b7da 100644 --- a/generated/Model/RtmConnectGetResponsedefault.php +++ b/generated/Model/RtmConnectGetResponsedefault.php @@ -15,72 +15,10 @@ class RtmConnectGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/SearchMessagesGetResponse200.php b/generated/Model/SearchMessagesGetResponse200.php index 2c9925f0..90eb31ca 100644 --- a/generated/Model/SearchMessagesGetResponse200.php +++ b/generated/Model/SearchMessagesGetResponse200.php @@ -19,35 +19,10 @@ class SearchMessagesGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/SearchMessagesGetResponsedefault.php b/generated/Model/SearchMessagesGetResponsedefault.php index 25e5f197..5266071f 100644 --- a/generated/Model/SearchMessagesGetResponsedefault.php +++ b/generated/Model/SearchMessagesGetResponsedefault.php @@ -19,35 +19,10 @@ class SearchMessagesGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/StarsAddPostResponse200.php b/generated/Model/StarsAddPostResponse200.php index 87f9469e..cc4d361d 100644 --- a/generated/Model/StarsAddPostResponse200.php +++ b/generated/Model/StarsAddPostResponse200.php @@ -15,30 +15,5 @@ class StarsAddPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/StarsAddPostResponsedefault.php b/generated/Model/StarsAddPostResponsedefault.php index c5c90049..4c21b615 100644 --- a/generated/Model/StarsAddPostResponsedefault.php +++ b/generated/Model/StarsAddPostResponsedefault.php @@ -15,72 +15,10 @@ class StarsAddPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/StarsListGetResponse200.php b/generated/Model/StarsListGetResponse200.php index 586d724f..01cd545d 100644 --- a/generated/Model/StarsListGetResponse200.php +++ b/generated/Model/StarsListGetResponse200.php @@ -15,70 +15,10 @@ class StarsListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $items; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsPaging|null - */ - protected $paging; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getItems(): ?array - { - return $this->items; - } - - /** - * @param list|null $items - */ - public function setItems(?array $items): self - { - $this->initialized['items'] = true; - $this->items = $items; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPaging(): ?ObjsPaging - { - return $this->paging; - } - - public function setPaging(?ObjsPaging $paging): self - { - $this->initialized['paging'] = true; - $this->paging = $paging; - - return $this; - } + public ?array $items; + public ?bool $ok; + public ?ObjsPaging $paging; } diff --git a/generated/Model/StarsListGetResponse200ItemsItemItem0.php b/generated/Model/StarsListGetResponse200ItemsItemItem0.php index 1afd9f05..6de51d6a 100644 --- a/generated/Model/StarsListGetResponse200ItemsItemItem0.php +++ b/generated/Model/StarsListGetResponse200ItemsItemItem0.php @@ -15,81 +15,8 @@ class StarsListGetResponse200ItemsItemItem0 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var ObjsMessage|null - */ - protected $message; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getMessage(): ?ObjsMessage - { - return $this->message; - } - - public function setMessage(?ObjsMessage $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $channel; + public ?int $dateCreate; + public ?ObjsMessage $message; + public ?string $type; } diff --git a/generated/Model/StarsListGetResponse200ItemsItemItem1.php b/generated/Model/StarsListGetResponse200ItemsItemItem1.php index e8ca9676..7e2a3e12 100644 --- a/generated/Model/StarsListGetResponse200ItemsItemItem1.php +++ b/generated/Model/StarsListGetResponse200ItemsItemItem1.php @@ -15,64 +15,7 @@ class StarsListGetResponse200ItemsItemItem1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?int $dateCreate; + public ?ObjsFile $file; + public ?string $type; } diff --git a/generated/Model/StarsListGetResponse200ItemsItemItem2.php b/generated/Model/StarsListGetResponse200ItemsItemItem2.php index 359d98a8..fe908d65 100644 --- a/generated/Model/StarsListGetResponse200ItemsItemItem2.php +++ b/generated/Model/StarsListGetResponse200ItemsItemItem2.php @@ -15,81 +15,8 @@ class StarsListGetResponse200ItemsItemItem2 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var ObjsComment|null - */ - protected $comment; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var ObjsFile|null - */ - protected $file; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getComment(): ?ObjsComment - { - return $this->comment; - } - - public function setComment(?ObjsComment $comment): self - { - $this->initialized['comment'] = true; - $this->comment = $comment; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getFile(): ?ObjsFile - { - return $this->file; - } - - public function setFile(?ObjsFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?ObjsComment $comment; + public ?int $dateCreate; + public ?ObjsFile $file; + public ?string $type; } diff --git a/generated/Model/StarsListGetResponse200ItemsItemItem3.php b/generated/Model/StarsListGetResponse200ItemsItemItem3.php index e0f4a441..d2d51136 100644 --- a/generated/Model/StarsListGetResponse200ItemsItemItem3.php +++ b/generated/Model/StarsListGetResponse200ItemsItemItem3.php @@ -15,64 +15,7 @@ class StarsListGetResponse200ItemsItemItem3 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $channel; + public ?int $dateCreate; + public ?string $type; } diff --git a/generated/Model/StarsListGetResponse200ItemsItemItem4.php b/generated/Model/StarsListGetResponse200ItemsItemItem4.php index 105417fb..a68e69bf 100644 --- a/generated/Model/StarsListGetResponse200ItemsItemItem4.php +++ b/generated/Model/StarsListGetResponse200ItemsItemItem4.php @@ -15,64 +15,7 @@ class StarsListGetResponse200ItemsItemItem4 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $channel; + public ?int $dateCreate; + public ?string $type; } diff --git a/generated/Model/StarsListGetResponse200ItemsItemItem5.php b/generated/Model/StarsListGetResponse200ItemsItemItem5.php index d4420215..bbb481f7 100644 --- a/generated/Model/StarsListGetResponse200ItemsItemItem5.php +++ b/generated/Model/StarsListGetResponse200ItemsItemItem5.php @@ -15,64 +15,7 @@ class StarsListGetResponse200ItemsItemItem5 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $channel; - /** - * @var int|null - */ - protected $dateCreate; - /** - * @var string|null - */ - protected $type; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getDateCreate(): ?int - { - return $this->dateCreate; - } - - public function setDateCreate(?int $dateCreate): self - { - $this->initialized['dateCreate'] = true; - $this->dateCreate = $dateCreate; - - return $this; - } - - public function getType(): ?string - { - return $this->type; - } - - public function setType(?string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } + public ?string $channel; + public ?int $dateCreate; + public ?string $type; } diff --git a/generated/Model/StarsListGetResponsedefault.php b/generated/Model/StarsListGetResponsedefault.php index dd7e1431..b59ddb3c 100644 --- a/generated/Model/StarsListGetResponsedefault.php +++ b/generated/Model/StarsListGetResponsedefault.php @@ -15,72 +15,10 @@ class StarsListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/StarsRemovePostResponse200.php b/generated/Model/StarsRemovePostResponse200.php index 8c41aeff..56edda52 100644 --- a/generated/Model/StarsRemovePostResponse200.php +++ b/generated/Model/StarsRemovePostResponse200.php @@ -15,30 +15,5 @@ class StarsRemovePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/StarsRemovePostResponsedefault.php b/generated/Model/StarsRemovePostResponsedefault.php index 27f039d6..9339a843 100644 --- a/generated/Model/StarsRemovePostResponsedefault.php +++ b/generated/Model/StarsRemovePostResponsedefault.php @@ -15,72 +15,10 @@ class StarsRemovePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/TeamAccessLogsGetResponse200.php b/generated/Model/TeamAccessLogsGetResponse200.php index b1eadefb..0debfe57 100644 --- a/generated/Model/TeamAccessLogsGetResponse200.php +++ b/generated/Model/TeamAccessLogsGetResponse200.php @@ -15,70 +15,10 @@ class TeamAccessLogsGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $logins; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsPaging|null - */ - protected $paging; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getLogins(): ?array - { - return $this->logins; - } - - /** - * @param list|null $logins - */ - public function setLogins(?array $logins): self - { - $this->initialized['logins'] = true; - $this->logins = $logins; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPaging(): ?ObjsPaging - { - return $this->paging; - } - - public function setPaging(?ObjsPaging $paging): self - { - $this->initialized['paging'] = true; - $this->paging = $paging; - - return $this; - } + public ?array $logins; + public ?bool $ok; + public ?ObjsPaging $paging; } diff --git a/generated/Model/TeamAccessLogsGetResponse200LoginsItem.php b/generated/Model/TeamAccessLogsGetResponse200LoginsItem.php index 81987ce3..c7694c63 100644 --- a/generated/Model/TeamAccessLogsGetResponse200LoginsItem.php +++ b/generated/Model/TeamAccessLogsGetResponse200LoginsItem.php @@ -15,183 +15,14 @@ class TeamAccessLogsGetResponse200LoginsItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $count; - /** - * @var string|null - */ - protected $country; - /** - * @var int|null - */ - protected $dateFirst; - /** - * @var int|null - */ - protected $dateLast; - /** - * @var string|null - */ - protected $ip; - /** - * @var string|null - */ - protected $isp; - /** - * @var string|null - */ - protected $region; - /** - * @var string|null - */ - protected $userAgent; - /** - * @var string|null - */ - protected $userId; - /** - * @var string|null - */ - protected $username; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCount(): ?int - { - return $this->count; - } - - public function setCount(?int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getCountry(): ?string - { - return $this->country; - } - - public function setCountry(?string $country): self - { - $this->initialized['country'] = true; - $this->country = $country; - - return $this; - } - - public function getDateFirst(): ?int - { - return $this->dateFirst; - } - - public function setDateFirst(?int $dateFirst): self - { - $this->initialized['dateFirst'] = true; - $this->dateFirst = $dateFirst; - - return $this; - } - - public function getDateLast(): ?int - { - return $this->dateLast; - } - - public function setDateLast(?int $dateLast): self - { - $this->initialized['dateLast'] = true; - $this->dateLast = $dateLast; - - return $this; - } - - public function getIp(): ?string - { - return $this->ip; - } - - public function setIp(?string $ip): self - { - $this->initialized['ip'] = true; - $this->ip = $ip; - - return $this; - } - - public function getIsp(): ?string - { - return $this->isp; - } - - public function setIsp(?string $isp): self - { - $this->initialized['isp'] = true; - $this->isp = $isp; - - return $this; - } - - public function getRegion(): ?string - { - return $this->region; - } - - public function setRegion(?string $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - public function getUserAgent(): ?string - { - return $this->userAgent; - } - - public function setUserAgent(?string $userAgent): self - { - $this->initialized['userAgent'] = true; - $this->userAgent = $userAgent; - - return $this; - } - - public function getUserId(): ?string - { - return $this->userId; - } - - public function setUserId(?string $userId): self - { - $this->initialized['userId'] = true; - $this->userId = $userId; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } + public ?int $count; + public ?string $country; + public ?int $dateFirst; + public ?int $dateLast; + public ?string $ip; + public ?string $isp; + public ?string $region; + public ?string $userAgent; + public ?string $userId; + public ?string $username; } diff --git a/generated/Model/TeamAccessLogsGetResponsedefault.php b/generated/Model/TeamAccessLogsGetResponsedefault.php index 48a0386d..04d96c69 100644 --- a/generated/Model/TeamAccessLogsGetResponsedefault.php +++ b/generated/Model/TeamAccessLogsGetResponsedefault.php @@ -15,72 +15,10 @@ class TeamAccessLogsGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/TeamBillableInfoGetResponse200.php b/generated/Model/TeamBillableInfoGetResponse200.php index 647ff041..0519f45b 100644 --- a/generated/Model/TeamBillableInfoGetResponse200.php +++ b/generated/Model/TeamBillableInfoGetResponse200.php @@ -19,35 +19,10 @@ class TeamBillableInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/TeamBillableInfoGetResponsedefault.php b/generated/Model/TeamBillableInfoGetResponsedefault.php index 2eef089a..72c0930f 100644 --- a/generated/Model/TeamBillableInfoGetResponsedefault.php +++ b/generated/Model/TeamBillableInfoGetResponsedefault.php @@ -19,35 +19,10 @@ class TeamBillableInfoGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/TeamInfoGetResponse200.php b/generated/Model/TeamInfoGetResponse200.php index e4401538..91d97d21 100644 --- a/generated/Model/TeamInfoGetResponse200.php +++ b/generated/Model/TeamInfoGetResponse200.php @@ -15,47 +15,6 @@ class TeamInfoGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsTeam|null - */ - protected $team; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeam(): ?ObjsTeam - { - return $this->team; - } - - public function setTeam(?ObjsTeam $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } + public ?bool $ok; + public ?ObjsTeam $team; } diff --git a/generated/Model/TeamInfoGetResponsedefault.php b/generated/Model/TeamInfoGetResponsedefault.php index 62efc4e7..a75b1669 100644 --- a/generated/Model/TeamInfoGetResponsedefault.php +++ b/generated/Model/TeamInfoGetResponsedefault.php @@ -15,72 +15,10 @@ class TeamInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/TeamIntegrationLogsGetResponse200.php b/generated/Model/TeamIntegrationLogsGetResponse200.php index ff022a7a..9545512a 100644 --- a/generated/Model/TeamIntegrationLogsGetResponse200.php +++ b/generated/Model/TeamIntegrationLogsGetResponse200.php @@ -15,70 +15,10 @@ class TeamIntegrationLogsGetResponse200 { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $logs; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsPaging|null - */ - protected $paging; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getLogs(): ?array - { - return $this->logs; - } - - /** - * @param list|null $logs - */ - public function setLogs(?array $logs): self - { - $this->initialized['logs'] = true; - $this->logs = $logs; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getPaging(): ?ObjsPaging - { - return $this->paging; - } - - public function setPaging(?ObjsPaging $paging): self - { - $this->initialized['paging'] = true; - $this->paging = $paging; - - return $this; - } + public ?array $logs; + public ?bool $ok; + public ?ObjsPaging $paging; } diff --git a/generated/Model/TeamIntegrationLogsGetResponse200LogsItem.php b/generated/Model/TeamIntegrationLogsGetResponse200LogsItem.php index d49d3fea..4daf1b91 100644 --- a/generated/Model/TeamIntegrationLogsGetResponse200LogsItem.php +++ b/generated/Model/TeamIntegrationLogsGetResponse200LogsItem.php @@ -15,200 +15,15 @@ class TeamIntegrationLogsGetResponse200LogsItem { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $adminAppId; - /** - * @var string|null - */ - protected $appId; - /** - * @var string|null - */ - protected $appType; - /** - * @var string|null - */ - protected $changeType; - /** - * @var string|null - */ - protected $channel; - /** - * @var string|null - */ - protected $date; - /** - * @var string|null - */ - protected $scope; - /** - * @var string|null - */ - protected $serviceId; - /** - * @var string|null - */ - protected $serviceType; - /** - * @var string|null - */ - protected $userId; - /** - * @var string|null - */ - protected $userName; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAdminAppId(): ?string - { - return $this->adminAppId; - } - - public function setAdminAppId(?string $adminAppId): self - { - $this->initialized['adminAppId'] = true; - $this->adminAppId = $adminAppId; - - return $this; - } - - public function getAppId(): ?string - { - return $this->appId; - } - - public function setAppId(?string $appId): self - { - $this->initialized['appId'] = true; - $this->appId = $appId; - - return $this; - } - - public function getAppType(): ?string - { - return $this->appType; - } - - public function setAppType(?string $appType): self - { - $this->initialized['appType'] = true; - $this->appType = $appType; - - return $this; - } - - public function getChangeType(): ?string - { - return $this->changeType; - } - - public function setChangeType(?string $changeType): self - { - $this->initialized['changeType'] = true; - $this->changeType = $changeType; - - return $this; - } - - public function getChannel(): ?string - { - return $this->channel; - } - - public function setChannel(?string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getDate(): ?string - { - return $this->date; - } - - public function setDate(?string $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getScope(): ?string - { - return $this->scope; - } - - public function setScope(?string $scope): self - { - $this->initialized['scope'] = true; - $this->scope = $scope; - - return $this; - } - - public function getServiceId(): ?string - { - return $this->serviceId; - } - - public function setServiceId(?string $serviceId): self - { - $this->initialized['serviceId'] = true; - $this->serviceId = $serviceId; - - return $this; - } - - public function getServiceType(): ?string - { - return $this->serviceType; - } - - public function setServiceType(?string $serviceType): self - { - $this->initialized['serviceType'] = true; - $this->serviceType = $serviceType; - - return $this; - } - - public function getUserId(): ?string - { - return $this->userId; - } - - public function setUserId(?string $userId): self - { - $this->initialized['userId'] = true; - $this->userId = $userId; - - return $this; - } - - public function getUserName(): ?string - { - return $this->userName; - } - - public function setUserName(?string $userName): self - { - $this->initialized['userName'] = true; - $this->userName = $userName; - - return $this; - } + public ?string $adminAppId; + public ?string $appId; + public ?string $appType; + public ?string $changeType; + public ?string $channel; + public ?string $date; + public ?string $scope; + public ?string $serviceId; + public ?string $serviceType; + public ?string $userId; + public ?string $userName; } diff --git a/generated/Model/TeamIntegrationLogsGetResponsedefault.php b/generated/Model/TeamIntegrationLogsGetResponsedefault.php index eaad4477..8f2b530e 100644 --- a/generated/Model/TeamIntegrationLogsGetResponsedefault.php +++ b/generated/Model/TeamIntegrationLogsGetResponsedefault.php @@ -15,72 +15,10 @@ class TeamIntegrationLogsGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/TeamProfileGetGetResponse200.php b/generated/Model/TeamProfileGetGetResponse200.php index ab97f364..b205c9aa 100644 --- a/generated/Model/TeamProfileGetGetResponse200.php +++ b/generated/Model/TeamProfileGetGetResponse200.php @@ -15,47 +15,6 @@ class TeamProfileGetGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var TeamProfileGetGetResponse200Profile|null - */ - protected $profile; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProfile(): ?TeamProfileGetGetResponse200Profile - { - return $this->profile; - } - - public function setProfile(?TeamProfileGetGetResponse200Profile $profile): self - { - $this->initialized['profile'] = true; - $this->profile = $profile; - - return $this; - } + public ?bool $ok; + public ?TeamProfileGetGetResponse200Profile $profile; } diff --git a/generated/Model/TeamProfileGetGetResponse200Profile.php b/generated/Model/TeamProfileGetGetResponse200Profile.php index 8f46d20a..96cffff4 100644 --- a/generated/Model/TeamProfileGetGetResponse200Profile.php +++ b/generated/Model/TeamProfileGetGetResponse200Profile.php @@ -15,36 +15,8 @@ class TeamProfileGetGetResponse200Profile { - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $fields; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getFields(): ?array - { - return $this->fields; - } - - /** - * @param list|null $fields - */ - public function setFields(?array $fields): self - { - $this->initialized['fields'] = true; - $this->fields = $fields; - - return $this; - } + public ?array $fields; } diff --git a/generated/Model/TeamProfileGetGetResponsedefault.php b/generated/Model/TeamProfileGetGetResponsedefault.php index 44a56c90..5565233c 100644 --- a/generated/Model/TeamProfileGetGetResponsedefault.php +++ b/generated/Model/TeamProfileGetGetResponsedefault.php @@ -15,72 +15,10 @@ class TeamProfileGetGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsCreatePostResponse200.php b/generated/Model/UsergroupsCreatePostResponse200.php index 009f1c13..55808cd1 100644 --- a/generated/Model/UsergroupsCreatePostResponse200.php +++ b/generated/Model/UsergroupsCreatePostResponse200.php @@ -15,47 +15,6 @@ class UsergroupsCreatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsSubteam|null - */ - protected $usergroup; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getUsergroup(): ?ObjsSubteam - { - return $this->usergroup; - } - - public function setUsergroup(?ObjsSubteam $usergroup): self - { - $this->initialized['usergroup'] = true; - $this->usergroup = $usergroup; - - return $this; - } + public ?bool $ok; + public ?ObjsSubteam $usergroup; } diff --git a/generated/Model/UsergroupsCreatePostResponsedefault.php b/generated/Model/UsergroupsCreatePostResponsedefault.php index 674c71d1..7f8e94ab 100644 --- a/generated/Model/UsergroupsCreatePostResponsedefault.php +++ b/generated/Model/UsergroupsCreatePostResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsCreatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsDisablePostResponse200.php b/generated/Model/UsergroupsDisablePostResponse200.php index dab561fd..f229c425 100644 --- a/generated/Model/UsergroupsDisablePostResponse200.php +++ b/generated/Model/UsergroupsDisablePostResponse200.php @@ -15,47 +15,6 @@ class UsergroupsDisablePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsSubteam|null - */ - protected $usergroup; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getUsergroup(): ?ObjsSubteam - { - return $this->usergroup; - } - - public function setUsergroup(?ObjsSubteam $usergroup): self - { - $this->initialized['usergroup'] = true; - $this->usergroup = $usergroup; - - return $this; - } + public ?bool $ok; + public ?ObjsSubteam $usergroup; } diff --git a/generated/Model/UsergroupsDisablePostResponsedefault.php b/generated/Model/UsergroupsDisablePostResponsedefault.php index 8310bc6b..9efbdc8e 100644 --- a/generated/Model/UsergroupsDisablePostResponsedefault.php +++ b/generated/Model/UsergroupsDisablePostResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsDisablePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsEnablePostResponse200.php b/generated/Model/UsergroupsEnablePostResponse200.php index ae6bf68c..672fc1aa 100644 --- a/generated/Model/UsergroupsEnablePostResponse200.php +++ b/generated/Model/UsergroupsEnablePostResponse200.php @@ -15,47 +15,6 @@ class UsergroupsEnablePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsSubteam|null - */ - protected $usergroup; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getUsergroup(): ?ObjsSubteam - { - return $this->usergroup; - } - - public function setUsergroup(?ObjsSubteam $usergroup): self - { - $this->initialized['usergroup'] = true; - $this->usergroup = $usergroup; - - return $this; - } + public ?bool $ok; + public ?ObjsSubteam $usergroup; } diff --git a/generated/Model/UsergroupsEnablePostResponsedefault.php b/generated/Model/UsergroupsEnablePostResponsedefault.php index e206d23f..1501eb8e 100644 --- a/generated/Model/UsergroupsEnablePostResponsedefault.php +++ b/generated/Model/UsergroupsEnablePostResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsEnablePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsListGetResponse200.php b/generated/Model/UsergroupsListGetResponse200.php index e2d080c7..01e76f2f 100644 --- a/generated/Model/UsergroupsListGetResponse200.php +++ b/generated/Model/UsergroupsListGetResponse200.php @@ -15,53 +15,9 @@ class UsergroupsListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; + public ?bool $ok; /** * @var list|null */ - protected $usergroups; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * @return list|null - */ - public function getUsergroups(): ?array - { - return $this->usergroups; - } - - /** - * @param list|null $usergroups - */ - public function setUsergroups(?array $usergroups): self - { - $this->initialized['usergroups'] = true; - $this->usergroups = $usergroups; - - return $this; - } + public ?array $usergroups; } diff --git a/generated/Model/UsergroupsListGetResponsedefault.php b/generated/Model/UsergroupsListGetResponsedefault.php index 20822e2b..b1dc5df8 100644 --- a/generated/Model/UsergroupsListGetResponsedefault.php +++ b/generated/Model/UsergroupsListGetResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsUpdatePostResponse200.php b/generated/Model/UsergroupsUpdatePostResponse200.php index 929bd314..f42c08dc 100644 --- a/generated/Model/UsergroupsUpdatePostResponse200.php +++ b/generated/Model/UsergroupsUpdatePostResponse200.php @@ -15,47 +15,6 @@ class UsergroupsUpdatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsSubteam|null - */ - protected $usergroup; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getUsergroup(): ?ObjsSubteam - { - return $this->usergroup; - } - - public function setUsergroup(?ObjsSubteam $usergroup): self - { - $this->initialized['usergroup'] = true; - $this->usergroup = $usergroup; - - return $this; - } + public ?bool $ok; + public ?ObjsSubteam $usergroup; } diff --git a/generated/Model/UsergroupsUpdatePostResponsedefault.php b/generated/Model/UsergroupsUpdatePostResponsedefault.php index e64cd6b8..ea26cd56 100644 --- a/generated/Model/UsergroupsUpdatePostResponsedefault.php +++ b/generated/Model/UsergroupsUpdatePostResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsUpdatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsUsersListGetResponse200.php b/generated/Model/UsergroupsUsersListGetResponse200.php index 8045bb8d..9bdef37a 100644 --- a/generated/Model/UsergroupsUsersListGetResponse200.php +++ b/generated/Model/UsergroupsUsersListGetResponse200.php @@ -15,53 +15,9 @@ class UsergroupsUsersListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; + public ?bool $ok; /** * @var list|null */ - protected $users; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * @return list|null - */ - public function getUsers(): ?array - { - return $this->users; - } - - /** - * @param list|null $users - */ - public function setUsers(?array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } + public ?array $users; } diff --git a/generated/Model/UsergroupsUsersListGetResponsedefault.php b/generated/Model/UsergroupsUsersListGetResponsedefault.php index 8fb0f61e..e06553eb 100644 --- a/generated/Model/UsergroupsUsersListGetResponsedefault.php +++ b/generated/Model/UsergroupsUsersListGetResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsUsersListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsergroupsUsersUpdatePostResponse200.php b/generated/Model/UsergroupsUsersUpdatePostResponse200.php index ea3baaf5..3765837a 100644 --- a/generated/Model/UsergroupsUsersUpdatePostResponse200.php +++ b/generated/Model/UsergroupsUsersUpdatePostResponse200.php @@ -15,47 +15,6 @@ class UsergroupsUsersUpdatePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsSubteam|null - */ - protected $usergroup; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getUsergroup(): ?ObjsSubteam - { - return $this->usergroup; - } - - public function setUsergroup(?ObjsSubteam $usergroup): self - { - $this->initialized['usergroup'] = true; - $this->usergroup = $usergroup; - - return $this; - } + public ?bool $ok; + public ?ObjsSubteam $usergroup; } diff --git a/generated/Model/UsergroupsUsersUpdatePostResponsedefault.php b/generated/Model/UsergroupsUsersUpdatePostResponsedefault.php index 72c747e4..c96fe502 100644 --- a/generated/Model/UsergroupsUsersUpdatePostResponsedefault.php +++ b/generated/Model/UsergroupsUsersUpdatePostResponsedefault.php @@ -15,72 +15,10 @@ class UsergroupsUsersUpdatePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersConversationsGetResponse200.php b/generated/Model/UsersConversationsGetResponse200.php index 86412311..c704c24a 100644 --- a/generated/Model/UsersConversationsGetResponse200.php +++ b/generated/Model/UsersConversationsGetResponse200.php @@ -19,75 +19,15 @@ class UsersConversationsGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; /** * @var list|null */ - protected $channels; - /** - * @var bool|null - */ - protected $ok; - /** - * @var UsersConversationsGetResponse200ResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * @return list|null - */ - public function getChannels(): ?array - { - return $this->channels; - } - - /** - * @param list|null $channels - */ - public function setChannels(?array $channels): self - { - $this->initialized['channels'] = true; - $this->channels = $channels; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?UsersConversationsGetResponse200ResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?UsersConversationsGetResponse200ResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $channels; + public ?bool $ok; + public ?UsersConversationsGetResponse200ResponseMetadata $responseMetadata; public function definedProperties(): array { - return ['channels' => ['channels', 'getChannels', 'setChannels'], 'ok' => ['ok', 'getOk', 'setOk'], 'responseMetadata' => ['response_metadata', 'getResponseMetadata', 'setResponseMetadata']]; + return ['channels' => 'channels', 'ok' => 'ok', 'responseMetadata' => 'response_metadata']; } } diff --git a/generated/Model/UsersConversationsGetResponse200ResponseMetadata.php b/generated/Model/UsersConversationsGetResponse200ResponseMetadata.php index f7ca2168..7083da61 100644 --- a/generated/Model/UsersConversationsGetResponse200ResponseMetadata.php +++ b/generated/Model/UsersConversationsGetResponse200ResponseMetadata.php @@ -15,30 +15,5 @@ class UsersConversationsGetResponse200ResponseMetadata { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $nextCursor; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getNextCursor(): ?string - { - return $this->nextCursor; - } - - public function setNextCursor(?string $nextCursor): self - { - $this->initialized['nextCursor'] = true; - $this->nextCursor = $nextCursor; - - return $this; - } + public ?string $nextCursor; } diff --git a/generated/Model/UsersConversationsGetResponsedefault.php b/generated/Model/UsersConversationsGetResponsedefault.php index a0757b54..f2545ce2 100644 --- a/generated/Model/UsersConversationsGetResponsedefault.php +++ b/generated/Model/UsersConversationsGetResponsedefault.php @@ -15,72 +15,10 @@ class UsersConversationsGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersDeletePhotoPostResponse200.php b/generated/Model/UsersDeletePhotoPostResponse200.php index cd22d7da..8b0a8951 100644 --- a/generated/Model/UsersDeletePhotoPostResponse200.php +++ b/generated/Model/UsersDeletePhotoPostResponse200.php @@ -15,30 +15,5 @@ class UsersDeletePhotoPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/UsersDeletePhotoPostResponsedefault.php b/generated/Model/UsersDeletePhotoPostResponsedefault.php index 6e2a74f3..3685b8ae 100644 --- a/generated/Model/UsersDeletePhotoPostResponsedefault.php +++ b/generated/Model/UsersDeletePhotoPostResponsedefault.php @@ -15,72 +15,10 @@ class UsersDeletePhotoPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersGetPresenceGetResponse200.php b/generated/Model/UsersGetPresenceGetResponse200.php index 1a8e49c3..890367d7 100644 --- a/generated/Model/UsersGetPresenceGetResponse200.php +++ b/generated/Model/UsersGetPresenceGetResponse200.php @@ -19,137 +19,16 @@ class UsersGetPresenceGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $autoAway; - /** - * @var int|null - */ - protected $connectionCount; - /** - * @var int|null - */ - protected $lastActivity; - /** - * @var bool|null - */ - protected $manualAway; - /** - * @var bool|null - */ - protected $ok; - /** - * @var bool|null - */ - protected $online; - /** - * @var string|null - */ - protected $presence; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAutoAway(): ?bool - { - return $this->autoAway; - } - - public function setAutoAway(?bool $autoAway): self - { - $this->initialized['autoAway'] = true; - $this->autoAway = $autoAway; - - return $this; - } - - public function getConnectionCount(): ?int - { - return $this->connectionCount; - } - - public function setConnectionCount(?int $connectionCount): self - { - $this->initialized['connectionCount'] = true; - $this->connectionCount = $connectionCount; - - return $this; - } - - public function getLastActivity(): ?int - { - return $this->lastActivity; - } - - public function setLastActivity(?int $lastActivity): self - { - $this->initialized['lastActivity'] = true; - $this->lastActivity = $lastActivity; - - return $this; - } - - public function getManualAway(): ?bool - { - return $this->manualAway; - } - - public function setManualAway(?bool $manualAway): self - { - $this->initialized['manualAway'] = true; - $this->manualAway = $manualAway; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getOnline(): ?bool - { - return $this->online; - } - - public function setOnline(?bool $online): self - { - $this->initialized['online'] = true; - $this->online = $online; - - return $this; - } - - public function getPresence(): ?string - { - return $this->presence; - } - - public function setPresence(?string $presence): self - { - $this->initialized['presence'] = true; - $this->presence = $presence; - - return $this; - } + public ?bool $autoAway; + public ?int $connectionCount; + public ?int $lastActivity; + public ?bool $manualAway; + public ?bool $ok; + public ?bool $online; + public ?string $presence; public function definedProperties(): array { - return ['autoAway' => ['auto_away', 'getAutoAway', 'setAutoAway'], 'connectionCount' => ['connection_count', 'getConnectionCount', 'setConnectionCount'], 'lastActivity' => ['last_activity', 'getLastActivity', 'setLastActivity'], 'manualAway' => ['manual_away', 'getManualAway', 'setManualAway'], 'ok' => ['ok', 'getOk', 'setOk'], 'online' => ['online', 'getOnline', 'setOnline'], 'presence' => ['presence', 'getPresence', 'setPresence']]; + return ['autoAway' => 'auto_away', 'connectionCount' => 'connection_count', 'lastActivity' => 'last_activity', 'manualAway' => 'manual_away', 'ok' => 'ok', 'online' => 'online', 'presence' => 'presence']; } } diff --git a/generated/Model/UsersGetPresenceGetResponsedefault.php b/generated/Model/UsersGetPresenceGetResponsedefault.php index fdb5ecf3..525483c5 100644 --- a/generated/Model/UsersGetPresenceGetResponsedefault.php +++ b/generated/Model/UsersGetPresenceGetResponsedefault.php @@ -19,52 +19,11 @@ class UsersGetPresenceGetResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $error; + public ?bool $ok; public function definedProperties(): array { - return ['error' => ['error', 'getError', 'setError'], 'ok' => ['ok', 'getOk', 'setOk']]; + return ['error' => 'error', 'ok' => 'ok']; } } diff --git a/generated/Model/UsersIdentityGetResponse200Item0.php b/generated/Model/UsersIdentityGetResponse200Item0.php index d5081c44..e5f5b46d 100644 --- a/generated/Model/UsersIdentityGetResponse200Item0.php +++ b/generated/Model/UsersIdentityGetResponse200Item0.php @@ -15,64 +15,7 @@ class UsersIdentityGetResponse200Item0 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var UsersIdentityGetResponse200Item0Team|null - */ - protected $team; - /** - * @var UsersIdentityGetResponse200Item0User|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeam(): ?UsersIdentityGetResponse200Item0Team - { - return $this->team; - } - - public function setTeam(?UsersIdentityGetResponse200Item0Team $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getUser(): ?UsersIdentityGetResponse200Item0User - { - return $this->user; - } - - public function setUser(?UsersIdentityGetResponse200Item0User $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?bool $ok; + public ?UsersIdentityGetResponse200Item0Team $team; + public ?UsersIdentityGetResponse200Item0User $user; } diff --git a/generated/Model/UsersIdentityGetResponse200Item0Team.php b/generated/Model/UsersIdentityGetResponse200Item0Team.php index d002448c..41b22393 100644 --- a/generated/Model/UsersIdentityGetResponse200Item0Team.php +++ b/generated/Model/UsersIdentityGetResponse200Item0Team.php @@ -15,30 +15,5 @@ class UsersIdentityGetResponse200Item0Team { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } + public ?string $id; } diff --git a/generated/Model/UsersIdentityGetResponse200Item0User.php b/generated/Model/UsersIdentityGetResponse200Item0User.php index 72740a46..bca22bda 100644 --- a/generated/Model/UsersIdentityGetResponse200Item0User.php +++ b/generated/Model/UsersIdentityGetResponse200Item0User.php @@ -15,47 +15,6 @@ class UsersIdentityGetResponse200Item0User { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $id; + public ?string $name; } diff --git a/generated/Model/UsersIdentityGetResponse200Item1.php b/generated/Model/UsersIdentityGetResponse200Item1.php index 0e8bbe73..64c15079 100644 --- a/generated/Model/UsersIdentityGetResponse200Item1.php +++ b/generated/Model/UsersIdentityGetResponse200Item1.php @@ -15,64 +15,7 @@ class UsersIdentityGetResponse200Item1 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var UsersIdentityGetResponse200Item1Team|null - */ - protected $team; - /** - * @var UsersIdentityGetResponse200Item1User|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeam(): ?UsersIdentityGetResponse200Item1Team - { - return $this->team; - } - - public function setTeam(?UsersIdentityGetResponse200Item1Team $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getUser(): ?UsersIdentityGetResponse200Item1User - { - return $this->user; - } - - public function setUser(?UsersIdentityGetResponse200Item1User $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?bool $ok; + public ?UsersIdentityGetResponse200Item1Team $team; + public ?UsersIdentityGetResponse200Item1User $user; } diff --git a/generated/Model/UsersIdentityGetResponse200Item1Team.php b/generated/Model/UsersIdentityGetResponse200Item1Team.php index 42de3f27..fd8e1ff7 100644 --- a/generated/Model/UsersIdentityGetResponse200Item1Team.php +++ b/generated/Model/UsersIdentityGetResponse200Item1Team.php @@ -15,30 +15,5 @@ class UsersIdentityGetResponse200Item1Team { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } + public ?string $id; } diff --git a/generated/Model/UsersIdentityGetResponse200Item1User.php b/generated/Model/UsersIdentityGetResponse200Item1User.php index 74cb7ab2..03844876 100644 --- a/generated/Model/UsersIdentityGetResponse200Item1User.php +++ b/generated/Model/UsersIdentityGetResponse200Item1User.php @@ -15,64 +15,7 @@ class UsersIdentityGetResponse200Item1User { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $email; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEmail(): ?string - { - return $this->email; - } - - public function setEmail(?string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $email; + public ?string $id; + public ?string $name; } diff --git a/generated/Model/UsersIdentityGetResponse200Item2.php b/generated/Model/UsersIdentityGetResponse200Item2.php index 45f61c44..d377491a 100644 --- a/generated/Model/UsersIdentityGetResponse200Item2.php +++ b/generated/Model/UsersIdentityGetResponse200Item2.php @@ -15,64 +15,7 @@ class UsersIdentityGetResponse200Item2 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var UsersIdentityGetResponse200Item2Team|null - */ - protected $team; - /** - * @var UsersIdentityGetResponse200Item2User|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeam(): ?UsersIdentityGetResponse200Item2Team - { - return $this->team; - } - - public function setTeam(?UsersIdentityGetResponse200Item2Team $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getUser(): ?UsersIdentityGetResponse200Item2User - { - return $this->user; - } - - public function setUser(?UsersIdentityGetResponse200Item2User $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?bool $ok; + public ?UsersIdentityGetResponse200Item2Team $team; + public ?UsersIdentityGetResponse200Item2User $user; } diff --git a/generated/Model/UsersIdentityGetResponse200Item2Team.php b/generated/Model/UsersIdentityGetResponse200Item2Team.php index ea362b2f..c3126f88 100644 --- a/generated/Model/UsersIdentityGetResponse200Item2Team.php +++ b/generated/Model/UsersIdentityGetResponse200Item2Team.php @@ -15,30 +15,5 @@ class UsersIdentityGetResponse200Item2Team { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } + public ?string $id; } diff --git a/generated/Model/UsersIdentityGetResponse200Item2User.php b/generated/Model/UsersIdentityGetResponse200Item2User.php index b1a8ab06..a4efa0b3 100644 --- a/generated/Model/UsersIdentityGetResponse200Item2User.php +++ b/generated/Model/UsersIdentityGetResponse200Item2User.php @@ -15,149 +15,12 @@ class UsersIdentityGetResponse200Item2User { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $image192; - /** - * @var string|null - */ - protected $image24; - /** - * @var string|null - */ - protected $image32; - /** - * @var string|null - */ - protected $image48; - /** - * @var string|null - */ - protected $image512; - /** - * @var string|null - */ - protected $image72; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getImage192(): ?string - { - return $this->image192; - } - - public function setImage192(?string $image192): self - { - $this->initialized['image192'] = true; - $this->image192 = $image192; - - return $this; - } - - public function getImage24(): ?string - { - return $this->image24; - } - - public function setImage24(?string $image24): self - { - $this->initialized['image24'] = true; - $this->image24 = $image24; - - return $this; - } - - public function getImage32(): ?string - { - return $this->image32; - } - - public function setImage32(?string $image32): self - { - $this->initialized['image32'] = true; - $this->image32 = $image32; - - return $this; - } - - public function getImage48(): ?string - { - return $this->image48; - } - - public function setImage48(?string $image48): self - { - $this->initialized['image48'] = true; - $this->image48 = $image48; - - return $this; - } - - public function getImage512(): ?string - { - return $this->image512; - } - - public function setImage512(?string $image512): self - { - $this->initialized['image512'] = true; - $this->image512 = $image512; - - return $this; - } - - public function getImage72(): ?string - { - return $this->image72; - } - - public function setImage72(?string $image72): self - { - $this->initialized['image72'] = true; - $this->image72 = $image72; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $id; + public ?string $image192; + public ?string $image24; + public ?string $image32; + public ?string $image48; + public ?string $image512; + public ?string $image72; + public ?string $name; } diff --git a/generated/Model/UsersIdentityGetResponse200Item3.php b/generated/Model/UsersIdentityGetResponse200Item3.php index a4bc8bec..afa9c85e 100644 --- a/generated/Model/UsersIdentityGetResponse200Item3.php +++ b/generated/Model/UsersIdentityGetResponse200Item3.php @@ -15,64 +15,7 @@ class UsersIdentityGetResponse200Item3 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var UsersIdentityGetResponse200Item3Team|null - */ - protected $team; - /** - * @var UsersIdentityGetResponse200Item3User|null - */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getTeam(): ?UsersIdentityGetResponse200Item3Team - { - return $this->team; - } - - public function setTeam(?UsersIdentityGetResponse200Item3Team $team): self - { - $this->initialized['team'] = true; - $this->team = $team; - - return $this; - } - - public function getUser(): ?UsersIdentityGetResponse200Item3User - { - return $this->user; - } - - public function setUser(?UsersIdentityGetResponse200Item3User $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?bool $ok; + public ?UsersIdentityGetResponse200Item3Team $team; + public ?UsersIdentityGetResponse200Item3User $user; } diff --git a/generated/Model/UsersIdentityGetResponse200Item3Team.php b/generated/Model/UsersIdentityGetResponse200Item3Team.php index 414a7ec0..490ad4a0 100644 --- a/generated/Model/UsersIdentityGetResponse200Item3Team.php +++ b/generated/Model/UsersIdentityGetResponse200Item3Team.php @@ -15,200 +15,15 @@ class UsersIdentityGetResponse200Item3Team { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $domain; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $image102; - /** - * @var string|null - */ - protected $image132; - /** - * @var string|null - */ - protected $image230; - /** - * @var string|null - */ - protected $image34; - /** - * @var string|null - */ - protected $image44; - /** - * @var string|null - */ - protected $image68; - /** - * @var string|null - */ - protected $image88; - /** - * @var bool|null - */ - protected $imageDefault; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getDomain(): ?string - { - return $this->domain; - } - - public function setDomain(?string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getImage102(): ?string - { - return $this->image102; - } - - public function setImage102(?string $image102): self - { - $this->initialized['image102'] = true; - $this->image102 = $image102; - - return $this; - } - - public function getImage132(): ?string - { - return $this->image132; - } - - public function setImage132(?string $image132): self - { - $this->initialized['image132'] = true; - $this->image132 = $image132; - - return $this; - } - - public function getImage230(): ?string - { - return $this->image230; - } - - public function setImage230(?string $image230): self - { - $this->initialized['image230'] = true; - $this->image230 = $image230; - - return $this; - } - - public function getImage34(): ?string - { - return $this->image34; - } - - public function setImage34(?string $image34): self - { - $this->initialized['image34'] = true; - $this->image34 = $image34; - - return $this; - } - - public function getImage44(): ?string - { - return $this->image44; - } - - public function setImage44(?string $image44): self - { - $this->initialized['image44'] = true; - $this->image44 = $image44; - - return $this; - } - - public function getImage68(): ?string - { - return $this->image68; - } - - public function setImage68(?string $image68): self - { - $this->initialized['image68'] = true; - $this->image68 = $image68; - - return $this; - } - - public function getImage88(): ?string - { - return $this->image88; - } - - public function setImage88(?string $image88): self - { - $this->initialized['image88'] = true; - $this->image88 = $image88; - - return $this; - } - - public function getImageDefault(): ?bool - { - return $this->imageDefault; - } - - public function setImageDefault(?bool $imageDefault): self - { - $this->initialized['imageDefault'] = true; - $this->imageDefault = $imageDefault; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $domain; + public ?string $id; + public ?string $image102; + public ?string $image132; + public ?string $image230; + public ?string $image34; + public ?string $image44; + public ?string $image68; + public ?string $image88; + public ?bool $imageDefault; + public ?string $name; } diff --git a/generated/Model/UsersIdentityGetResponse200Item3User.php b/generated/Model/UsersIdentityGetResponse200Item3User.php index 99bf1bdf..8e72a2e4 100644 --- a/generated/Model/UsersIdentityGetResponse200Item3User.php +++ b/generated/Model/UsersIdentityGetResponse200Item3User.php @@ -15,47 +15,6 @@ class UsersIdentityGetResponse200Item3User { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $id; - /** - * @var string|null - */ - protected $name; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getId(): ?string - { - return $this->id; - } - - public function setId(?string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): ?string - { - return $this->name; - } - - public function setName(?string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } + public ?string $id; + public ?string $name; } diff --git a/generated/Model/UsersIdentityGetResponsedefault.php b/generated/Model/UsersIdentityGetResponsedefault.php index e6fe22d0..8ccde3b3 100644 --- a/generated/Model/UsersIdentityGetResponsedefault.php +++ b/generated/Model/UsersIdentityGetResponsedefault.php @@ -15,72 +15,10 @@ class UsersIdentityGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersInfoGetResponse200.php b/generated/Model/UsersInfoGetResponse200.php index 05065fd8..d39c306a 100644 --- a/generated/Model/UsersInfoGetResponse200.php +++ b/generated/Model/UsersInfoGetResponse200.php @@ -19,60 +19,14 @@ class UsersInfoGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; + public ?bool $ok; /** * Merged user object for non enterprise type and enterprise user. - * - * @var ObjsUser|null */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * Merged user object for non enterprise type and enterprise user. - */ - public function getUser(): ?ObjsUser - { - return $this->user; - } - - /** - * Merged user object for non enterprise type and enterprise user. - */ - public function setUser(?ObjsUser $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?ObjsUser $user; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk'], 'user' => ['user', 'getUser', 'setUser']]; + return ['ok' => 'ok', 'user' => 'user']; } } diff --git a/generated/Model/UsersInfoGetResponsedefault.php b/generated/Model/UsersInfoGetResponsedefault.php index 203299ac..1646d8c5 100644 --- a/generated/Model/UsersInfoGetResponsedefault.php +++ b/generated/Model/UsersInfoGetResponsedefault.php @@ -15,64 +15,7 @@ class UsersInfoGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCallstack(): ?string - { - return $this->callstack; - } - - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersListGetResponse200.php b/generated/Model/UsersListGetResponse200.php index 48823b7f..a6cb504f 100644 --- a/generated/Model/UsersListGetResponse200.php +++ b/generated/Model/UsersListGetResponse200.php @@ -15,87 +15,11 @@ class UsersListGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var int|null - */ - protected $cacheTs; + public ?int $cacheTs; /** * @var list|null */ - protected $members; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsResponseMetadata|null - */ - protected $responseMetadata; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getCacheTs(): ?int - { - return $this->cacheTs; - } - - public function setCacheTs(?int $cacheTs): self - { - $this->initialized['cacheTs'] = true; - $this->cacheTs = $cacheTs; - - return $this; - } - - /** - * @return list|null - */ - public function getMembers(): ?array - { - return $this->members; - } - - /** - * @param list|null $members - */ - public function setMembers(?array $members): self - { - $this->initialized['members'] = true; - $this->members = $members; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getResponseMetadata(): ?ObjsResponseMetadata - { - return $this->responseMetadata; - } - - public function setResponseMetadata(?ObjsResponseMetadata $responseMetadata): self - { - $this->initialized['responseMetadata'] = true; - $this->responseMetadata = $responseMetadata; - - return $this; - } + public ?array $members; + public ?bool $ok; + public ?ObjsResponseMetadata $responseMetadata; } diff --git a/generated/Model/UsersListGetResponsedefault.php b/generated/Model/UsersListGetResponsedefault.php index 8e525212..24c4cb1e 100644 --- a/generated/Model/UsersListGetResponsedefault.php +++ b/generated/Model/UsersListGetResponsedefault.php @@ -15,72 +15,10 @@ class UsersListGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersLookupByEmailGetResponse200.php b/generated/Model/UsersLookupByEmailGetResponse200.php index 63c286f2..2bdcbace 100644 --- a/generated/Model/UsersLookupByEmailGetResponse200.php +++ b/generated/Model/UsersLookupByEmailGetResponse200.php @@ -19,60 +19,14 @@ class UsersLookupByEmailGetResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; + public ?bool $ok; /** * Merged user object for non enterprise type and enterprise user. - * - * @var ObjsUser|null */ - protected $user; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * Merged user object for non enterprise type and enterprise user. - */ - public function getUser(): ?ObjsUser - { - return $this->user; - } - - /** - * Merged user object for non enterprise type and enterprise user. - */ - public function setUser(?ObjsUser $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } + public ?ObjsUser $user; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk'], 'user' => ['user', 'getUser', 'setUser']]; + return ['ok' => 'ok', 'user' => 'user']; } } diff --git a/generated/Model/UsersLookupByEmailGetResponsedefault.php b/generated/Model/UsersLookupByEmailGetResponsedefault.php index aee9a0bf..66dc32ca 100644 --- a/generated/Model/UsersLookupByEmailGetResponsedefault.php +++ b/generated/Model/UsersLookupByEmailGetResponsedefault.php @@ -15,72 +15,10 @@ class UsersLookupByEmailGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersProfileGetGetResponse200.php b/generated/Model/UsersProfileGetGetResponse200.php index ca832363..b082dba2 100644 --- a/generated/Model/UsersProfileGetGetResponse200.php +++ b/generated/Model/UsersProfileGetGetResponse200.php @@ -15,47 +15,6 @@ class UsersProfileGetGetResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsUserProfile|null - */ - protected $profile; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProfile(): ?ObjsUserProfile - { - return $this->profile; - } - - public function setProfile(?ObjsUserProfile $profile): self - { - $this->initialized['profile'] = true; - $this->profile = $profile; - - return $this; - } + public ?bool $ok; + public ?ObjsUserProfile $profile; } diff --git a/generated/Model/UsersProfileGetGetResponsedefault.php b/generated/Model/UsersProfileGetGetResponsedefault.php index 837d2558..73ad0278 100644 --- a/generated/Model/UsersProfileGetGetResponsedefault.php +++ b/generated/Model/UsersProfileGetGetResponsedefault.php @@ -15,72 +15,10 @@ class UsersProfileGetGetResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersProfileSetPostResponse200.php b/generated/Model/UsersProfileSetPostResponse200.php index 101b1de6..4f1ff9f9 100644 --- a/generated/Model/UsersProfileSetPostResponse200.php +++ b/generated/Model/UsersProfileSetPostResponse200.php @@ -15,81 +15,8 @@ class UsersProfileSetPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $emailPending; - /** - * @var bool|null - */ - protected $ok; - /** - * @var ObjsUserProfile|null - */ - protected $profile; - /** - * @var string|null - */ - protected $username; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getEmailPending(): ?string - { - return $this->emailPending; - } - - public function setEmailPending(?string $emailPending): self - { - $this->initialized['emailPending'] = true; - $this->emailPending = $emailPending; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProfile(): ?ObjsUserProfile - { - return $this->profile; - } - - public function setProfile(?ObjsUserProfile $profile): self - { - $this->initialized['profile'] = true; - $this->profile = $profile; - - return $this; - } - - public function getUsername(): ?string - { - return $this->username; - } - - public function setUsername(?string $username): self - { - $this->initialized['username'] = true; - $this->username = $username; - - return $this; - } + public ?string $emailPending; + public ?bool $ok; + public ?ObjsUserProfile $profile; + public ?string $username; } diff --git a/generated/Model/UsersProfileSetPostResponsedefault.php b/generated/Model/UsersProfileSetPostResponsedefault.php index 8fd37517..71395edd 100644 --- a/generated/Model/UsersProfileSetPostResponsedefault.php +++ b/generated/Model/UsersProfileSetPostResponsedefault.php @@ -15,72 +15,10 @@ class UsersProfileSetPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersSetActivePostResponse200.php b/generated/Model/UsersSetActivePostResponse200.php index 7965c152..32570479 100644 --- a/generated/Model/UsersSetActivePostResponse200.php +++ b/generated/Model/UsersSetActivePostResponse200.php @@ -15,30 +15,5 @@ class UsersSetActivePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/UsersSetActivePostResponsedefault.php b/generated/Model/UsersSetActivePostResponsedefault.php index 8b2dac43..dd6d914c 100644 --- a/generated/Model/UsersSetActivePostResponsedefault.php +++ b/generated/Model/UsersSetActivePostResponsedefault.php @@ -15,72 +15,10 @@ class UsersSetActivePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/UsersSetPhotoPostResponse200.php b/generated/Model/UsersSetPhotoPostResponse200.php index efc1a9c2..dd8736e5 100644 --- a/generated/Model/UsersSetPhotoPostResponse200.php +++ b/generated/Model/UsersSetPhotoPostResponse200.php @@ -15,47 +15,6 @@ class UsersSetPhotoPostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - /** - * @var UsersSetPhotoPostResponse200Profile|null - */ - protected $profile; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - public function getProfile(): ?UsersSetPhotoPostResponse200Profile - { - return $this->profile; - } - - public function setProfile(?UsersSetPhotoPostResponse200Profile $profile): self - { - $this->initialized['profile'] = true; - $this->profile = $profile; - - return $this; - } + public ?bool $ok; + public ?UsersSetPhotoPostResponse200Profile $profile; } diff --git a/generated/Model/UsersSetPhotoPostResponse200Profile.php b/generated/Model/UsersSetPhotoPostResponse200Profile.php index fe037e5f..421ed0f2 100644 --- a/generated/Model/UsersSetPhotoPostResponse200Profile.php +++ b/generated/Model/UsersSetPhotoPostResponse200Profile.php @@ -15,166 +15,13 @@ class UsersSetPhotoPostResponse200Profile { - /** - * @var array - */ - protected $initialized = []; - /** - * @var string|null - */ - protected $avatarHash; - /** - * @var string|null - */ - protected $image1024; - /** - * @var string|null - */ - protected $image192; - /** - * @var string|null - */ - protected $image24; - /** - * @var string|null - */ - protected $image32; - /** - * @var string|null - */ - protected $image48; - /** - * @var string|null - */ - protected $image512; - /** - * @var string|null - */ - protected $image72; - /** - * @var string|null - */ - protected $imageOriginal; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getAvatarHash(): ?string - { - return $this->avatarHash; - } - - public function setAvatarHash(?string $avatarHash): self - { - $this->initialized['avatarHash'] = true; - $this->avatarHash = $avatarHash; - - return $this; - } - - public function getImage1024(): ?string - { - return $this->image1024; - } - - public function setImage1024(?string $image1024): self - { - $this->initialized['image1024'] = true; - $this->image1024 = $image1024; - - return $this; - } - - public function getImage192(): ?string - { - return $this->image192; - } - - public function setImage192(?string $image192): self - { - $this->initialized['image192'] = true; - $this->image192 = $image192; - - return $this; - } - - public function getImage24(): ?string - { - return $this->image24; - } - - public function setImage24(?string $image24): self - { - $this->initialized['image24'] = true; - $this->image24 = $image24; - - return $this; - } - - public function getImage32(): ?string - { - return $this->image32; - } - - public function setImage32(?string $image32): self - { - $this->initialized['image32'] = true; - $this->image32 = $image32; - - return $this; - } - - public function getImage48(): ?string - { - return $this->image48; - } - - public function setImage48(?string $image48): self - { - $this->initialized['image48'] = true; - $this->image48 = $image48; - - return $this; - } - - public function getImage512(): ?string - { - return $this->image512; - } - - public function setImage512(?string $image512): self - { - $this->initialized['image512'] = true; - $this->image512 = $image512; - - return $this; - } - - public function getImage72(): ?string - { - return $this->image72; - } - - public function setImage72(?string $image72): self - { - $this->initialized['image72'] = true; - $this->image72 = $image72; - - return $this; - } - - public function getImageOriginal(): ?string - { - return $this->imageOriginal; - } - - public function setImageOriginal(?string $imageOriginal): self - { - $this->initialized['imageOriginal'] = true; - $this->imageOriginal = $imageOriginal; - - return $this; - } + public ?string $avatarHash; + public ?string $image1024; + public ?string $image192; + public ?string $image24; + public ?string $image32; + public ?string $image48; + public ?string $image512; + public ?string $image72; + public ?string $imageOriginal; } diff --git a/generated/Model/UsersSetPhotoPostResponsedefault.php b/generated/Model/UsersSetPhotoPostResponsedefault.php index a014e842..64f1d7e6 100644 --- a/generated/Model/UsersSetPhotoPostResponsedefault.php +++ b/generated/Model/UsersSetPhotoPostResponsedefault.php @@ -15,147 +15,22 @@ class UsersSetPhotoPostResponsedefault { - /** - * @var array - */ - protected $initialized = []; /** * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null */ - protected $callstack; + public ?string $callstack; /** * possibly DEV/QA only. - * - * @var string|null */ - protected $debugStep; + public ?string $debugStep; /** * possibly DEV/QA only. - * - * @var string|null - */ - protected $dims; - /** - * @var string|null */ - protected $error; - /** - * @var bool|null - */ - protected $ok; + public ?string $dims; + public ?string $error; + public ?bool $ok; /** * possibly DEV/QA only. - * - * @var int|null */ - protected $timeIdent; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - /** - * possibly DEV/QA only. - */ - public function getDebugStep(): ?string - { - return $this->debugStep; - } - - /** - * possibly DEV/QA only. - */ - public function setDebugStep(?string $debugStep): self - { - $this->initialized['debugStep'] = true; - $this->debugStep = $debugStep; - - return $this; - } - - /** - * possibly DEV/QA only. - */ - public function getDims(): ?string - { - return $this->dims; - } - - /** - * possibly DEV/QA only. - */ - public function setDims(?string $dims): self - { - $this->initialized['dims'] = true; - $this->dims = $dims; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } - - /** - * possibly DEV/QA only. - */ - public function getTimeIdent(): ?int - { - return $this->timeIdent; - } - - /** - * possibly DEV/QA only. - */ - public function setTimeIdent(?int $timeIdent): self - { - $this->initialized['timeIdent'] = true; - $this->timeIdent = $timeIdent; - - return $this; - } + public ?int $timeIdent; } diff --git a/generated/Model/UsersSetPresencePostResponse200.php b/generated/Model/UsersSetPresencePostResponse200.php index ee4a7514..24b4eb2a 100644 --- a/generated/Model/UsersSetPresencePostResponse200.php +++ b/generated/Model/UsersSetPresencePostResponse200.php @@ -15,30 +15,5 @@ class UsersSetPresencePostResponse200 { - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; } diff --git a/generated/Model/UsersSetPresencePostResponsedefault.php b/generated/Model/UsersSetPresencePostResponsedefault.php index 37ca93c2..83482fa6 100644 --- a/generated/Model/UsersSetPresencePostResponsedefault.php +++ b/generated/Model/UsersSetPresencePostResponsedefault.php @@ -15,72 +15,10 @@ class UsersSetPresencePostResponsedefault { - /** - * @var array - */ - protected $initialized = []; - /** - * Note: PHP callstack is only visible in dev/qa. - * - * @var string|null - */ - protected $callstack; - /** - * @var string|null - */ - protected $error; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - /** * Note: PHP callstack is only visible in dev/qa. */ - public function getCallstack(): ?string - { - return $this->callstack; - } - - /** - * Note: PHP callstack is only visible in dev/qa. - */ - public function setCallstack(?string $callstack): self - { - $this->initialized['callstack'] = true; - $this->callstack = $callstack; - - return $this; - } - - public function getError(): ?string - { - return $this->error; - } - - public function setError(?string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?string $callstack; + public ?string $error; + public ?bool $ok; } diff --git a/generated/Model/ViewsOpenPostResponse200.php b/generated/Model/ViewsOpenPostResponse200.php index 5889e789..f39c196e 100644 --- a/generated/Model/ViewsOpenPostResponse200.php +++ b/generated/Model/ViewsOpenPostResponse200.php @@ -19,35 +19,10 @@ class ViewsOpenPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsOpenPostResponsedefault.php b/generated/Model/ViewsOpenPostResponsedefault.php index 39d3246c..a4c0112e 100644 --- a/generated/Model/ViewsOpenPostResponsedefault.php +++ b/generated/Model/ViewsOpenPostResponsedefault.php @@ -19,35 +19,10 @@ class ViewsOpenPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsPublishPostResponse200.php b/generated/Model/ViewsPublishPostResponse200.php index e6fda534..4a5e591e 100644 --- a/generated/Model/ViewsPublishPostResponse200.php +++ b/generated/Model/ViewsPublishPostResponse200.php @@ -19,35 +19,10 @@ class ViewsPublishPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsPublishPostResponsedefault.php b/generated/Model/ViewsPublishPostResponsedefault.php index 679074bc..d49d2f54 100644 --- a/generated/Model/ViewsPublishPostResponsedefault.php +++ b/generated/Model/ViewsPublishPostResponsedefault.php @@ -19,35 +19,10 @@ class ViewsPublishPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsPushPostResponse200.php b/generated/Model/ViewsPushPostResponse200.php index 2be149e7..dbc5469b 100644 --- a/generated/Model/ViewsPushPostResponse200.php +++ b/generated/Model/ViewsPushPostResponse200.php @@ -19,35 +19,10 @@ class ViewsPushPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsPushPostResponsedefault.php b/generated/Model/ViewsPushPostResponsedefault.php index 8cf1d32c..666bd192 100644 --- a/generated/Model/ViewsPushPostResponsedefault.php +++ b/generated/Model/ViewsPushPostResponsedefault.php @@ -19,35 +19,10 @@ class ViewsPushPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsUpdatePostResponse200.php b/generated/Model/ViewsUpdatePostResponse200.php index a786f950..27f18d9b 100644 --- a/generated/Model/ViewsUpdatePostResponse200.php +++ b/generated/Model/ViewsUpdatePostResponse200.php @@ -19,35 +19,10 @@ class ViewsUpdatePostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/ViewsUpdatePostResponsedefault.php b/generated/Model/ViewsUpdatePostResponsedefault.php index 44d0357c..cc2e9f92 100644 --- a/generated/Model/ViewsUpdatePostResponsedefault.php +++ b/generated/Model/ViewsUpdatePostResponsedefault.php @@ -19,35 +19,10 @@ class ViewsUpdatePostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/WorkflowsStepCompletedPostResponse200.php b/generated/Model/WorkflowsStepCompletedPostResponse200.php index b83f9b12..85377c7f 100644 --- a/generated/Model/WorkflowsStepCompletedPostResponse200.php +++ b/generated/Model/WorkflowsStepCompletedPostResponse200.php @@ -19,35 +19,10 @@ class WorkflowsStepCompletedPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/WorkflowsStepCompletedPostResponsedefault.php b/generated/Model/WorkflowsStepCompletedPostResponsedefault.php index 9e72808b..3777da1a 100644 --- a/generated/Model/WorkflowsStepCompletedPostResponsedefault.php +++ b/generated/Model/WorkflowsStepCompletedPostResponsedefault.php @@ -19,35 +19,10 @@ class WorkflowsStepCompletedPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/WorkflowsStepFailedPostResponse200.php b/generated/Model/WorkflowsStepFailedPostResponse200.php index b746bf65..7d73af32 100644 --- a/generated/Model/WorkflowsStepFailedPostResponse200.php +++ b/generated/Model/WorkflowsStepFailedPostResponse200.php @@ -19,35 +19,10 @@ class WorkflowsStepFailedPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/WorkflowsStepFailedPostResponsedefault.php b/generated/Model/WorkflowsStepFailedPostResponsedefault.php index a6300195..80ba24d8 100644 --- a/generated/Model/WorkflowsStepFailedPostResponsedefault.php +++ b/generated/Model/WorkflowsStepFailedPostResponsedefault.php @@ -19,35 +19,10 @@ class WorkflowsStepFailedPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/WorkflowsUpdateStepPostResponse200.php b/generated/Model/WorkflowsUpdateStepPostResponse200.php index 8612dee2..d0a89e9e 100644 --- a/generated/Model/WorkflowsUpdateStepPostResponse200.php +++ b/generated/Model/WorkflowsUpdateStepPostResponse200.php @@ -19,35 +19,10 @@ class WorkflowsUpdateStepPostResponse200 implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Model/WorkflowsUpdateStepPostResponsedefault.php b/generated/Model/WorkflowsUpdateStepPostResponsedefault.php index 79cf06c9..bfdde0ad 100644 --- a/generated/Model/WorkflowsUpdateStepPostResponsedefault.php +++ b/generated/Model/WorkflowsUpdateStepPostResponsedefault.php @@ -19,35 +19,10 @@ class WorkflowsUpdateStepPostResponsedefault implements AdditionalPropertiesInterface { use AdditionalAndPatternProperties; - /** - * @var array - */ - protected $initialized = []; - /** - * @var bool|null - */ - protected $ok; - - public function isInitialized($property): bool - { - return \array_key_exists($property, $this->initialized); - } - - public function getOk(): ?bool - { - return $this->ok; - } - - public function setOk(?bool $ok): self - { - $this->initialized['ok'] = true; - $this->ok = $ok; - - return $this; - } + public ?bool $ok; public function definedProperties(): array { - return ['ok' => ['ok', 'getOk', 'setOk']]; + return ['ok' => 'ok']; } } diff --git a/generated/Normalizer/AdminAppsApprovePostResponse200Normalizer.php b/generated/Normalizer/AdminAppsApprovePostResponse200Normalizer.php index b95a45c7..8a2db03d 100644 --- a/generated/Normalizer/AdminAppsApprovePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminAppsApprovePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsApprovePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminAppsApprovePostResponsedefaultNormalizer.php index dfaf58d7..c861e45d 100644 --- a/generated/Normalizer/AdminAppsApprovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminAppsApprovePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsApprovedListGetResponse200Normalizer.php b/generated/Normalizer/AdminAppsApprovedListGetResponse200Normalizer.php index c3750f66..492419d0 100644 --- a/generated/Normalizer/AdminAppsApprovedListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminAppsApprovedListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsApprovedListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminAppsApprovedListGetResponsedefaultNormalizer.php index 66499ecc..d0104245 100644 --- a/generated/Normalizer/AdminAppsApprovedListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminAppsApprovedListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsRequestsListGetResponse200Normalizer.php b/generated/Normalizer/AdminAppsRequestsListGetResponse200Normalizer.php index f6d82107..c70f1f2c 100644 --- a/generated/Normalizer/AdminAppsRequestsListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminAppsRequestsListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsRequestsListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminAppsRequestsListGetResponsedefaultNormalizer.php index df6fe1ff..b62d131f 100644 --- a/generated/Normalizer/AdminAppsRequestsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminAppsRequestsListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsRestrictPostResponse200Normalizer.php b/generated/Normalizer/AdminAppsRestrictPostResponse200Normalizer.php index 4102021e..644af597 100644 --- a/generated/Normalizer/AdminAppsRestrictPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminAppsRestrictPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsRestrictPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminAppsRestrictPostResponsedefaultNormalizer.php index 05afbf7a..942c1388 100644 --- a/generated/Normalizer/AdminAppsRestrictPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminAppsRestrictPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsRestrictedListGetResponse200Normalizer.php b/generated/Normalizer/AdminAppsRestrictedListGetResponse200Normalizer.php index d2d78f2e..fb6439df 100644 --- a/generated/Normalizer/AdminAppsRestrictedListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminAppsRestrictedListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminAppsRestrictedListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminAppsRestrictedListGetResponsedefaultNormalizer.php index dbd04846..bdf5330a 100644 --- a/generated/Normalizer/AdminAppsRestrictedListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminAppsRestrictedListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsArchivePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsArchivePostResponse200Normalizer.php index ab2d0b53..2ae37690 100644 --- a/generated/Normalizer/AdminConversationsArchivePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsArchivePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsArchivePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsArchivePostResponsedefaultNormalizer.php index a874845f..2eb2a792 100644 --- a/generated/Normalizer/AdminConversationsArchivePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsArchivePostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsConvertToPrivatePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsConvertToPrivatePostResponse200Normalizer.php index 3a8e324f..1cb06ac6 100644 --- a/generated/Normalizer/AdminConversationsConvertToPrivatePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsConvertToPrivatePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsConvertToPrivatePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsConvertToPrivatePostResponsedefaultNormalizer.php index df8a62c0..a03b996e 100644 --- a/generated/Normalizer/AdminConversationsConvertToPrivatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsConvertToPrivatePostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsCreatePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsCreatePostResponse200Normalizer.php index 60cc7543..c586b50c 100644 --- a/generated/Normalizer/AdminConversationsCreatePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsCreatePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel_id', $data) && null !== $data['channel_id']) { - $object->setChannelId($data['channel_id']); - } elseif (\array_key_exists('channel_id', $data) && null === $data['channel_id']) { - $object->setChannelId(null); + $object->channelId = $data['channel_id']; + } elseif (\array_key_exists('channel_id', $data)) { + $object->channelId = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,10 +72,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('channelId') && null !== $data->getChannelId()) { - $dataArray['channel_id'] = $data->getChannelId(); + if (\array_key_exists('channelId', get_object_vars($data)) && null !== ($data->channelId ?? null)) { + $dataArray['channel_id'] = $data->channelId; } - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsCreatePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsCreatePostResponsedefaultNormalizer.php index b1242b6c..5e002b31 100644 --- a/generated/Normalizer/AdminConversationsCreatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsCreatePostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsDeletePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsDeletePostResponse200Normalizer.php index 8bf817c7..45d5cf8e 100644 --- a/generated/Normalizer/AdminConversationsDeletePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsDeletePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsDeletePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsDeletePostResponsedefaultNormalizer.php index 0ba0505e..9717e824 100644 --- a/generated/Normalizer/AdminConversationsDeletePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsDeletePostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsDisconnectSharedPostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsDisconnectSharedPostResponse200Normalizer.php index dfdc9f59..98bfd5ed 100644 --- a/generated/Normalizer/AdminConversationsDisconnectSharedPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsDisconnectSharedPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsDisconnectSharedPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsDisconnectSharedPostResponsedefaultNormalizer.php index 117edf6a..a5490ce5 100644 --- a/generated/Normalizer/AdminConversationsDisconnectSharedPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsDisconnectSharedPostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200Normalizer.php b/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200Normalizer.php index d01b9aba..2ea979d4 100644 --- a/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefaultNormalizer.php index 390e263f..b3f2b1eb 100644 --- a/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200Normalizer.php b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200Normalizer.php index 81258bd2..8a1514aa 100644 --- a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('prefs', $data) && null !== $data['prefs']) { - $object->setPrefs($this->denormalizer->denormalize($data['prefs'], \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200Prefs::class, 'json', $context)); - } elseif (\array_key_exists('prefs', $data) && null === $data['prefs']) { - $object->setPrefs(null); + $object->prefs = $this->denormalizer->denormalize($data['prefs'], \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200Prefs::class, 'json', $context); + } elseif (\array_key_exists('prefs', $data)) { + $object->prefs = null; } return $object; @@ -72,9 +72,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('prefs') && null !== $data->getPrefs()) { - $dataArray['prefs'] = null === $data->getPrefs() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPrefs(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('prefs', get_object_vars($data)) && null !== ($data->prefs ?? null)) { + $normalized = $this->normalizer->normalize($data->prefs, 'json', $context); + $dataArray['prefs'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } return $dataArray; diff --git a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThreadNormalizer.php b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThreadNormalizer.php index 2b15dba7..31ee5967 100644 --- a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThreadNormalizer.php +++ b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsCanThreadNormalizer.php @@ -57,18 +57,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['type'] as $value) { $values[] = $value; } - $object->setType($values); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $values; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { $values_1 = []; foreach ($data['user'] as $value_1) { $values_1[] = $value_1; } - $object->setUser($values_1); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $values_1; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,16 +77,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('type') && null !== $data->getType()) { + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { $values = []; - foreach ($data->getType() as $value) { + foreach ($data->type as $value) { $values[] = $value; } $dataArray['type'] = $values; } - if ($data->isInitialized('user') && null !== $data->getUser()) { + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { $values_1 = []; - foreach ($data->getUser() as $value_1) { + foreach ($data->user as $value_1) { $values_1[] = $value_1; } $dataArray['user'] = $values_1; diff --git a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsNormalizer.php b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsNormalizer.php index 15eb74ac..710f143e 100644 --- a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsNormalizer.php +++ b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('can_thread', $data) && null !== $data['can_thread']) { - $object->setCanThread($this->denormalizer->denormalize($data['can_thread'], \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread::class, 'json', $context)); - } elseif (\array_key_exists('can_thread', $data) && null === $data['can_thread']) { - $object->setCanThread(null); + $object->canThread = $this->denormalizer->denormalize($data['can_thread'], \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200PrefsCanThread::class, 'json', $context); + } elseif (\array_key_exists('can_thread', $data)) { + $object->canThread = null; } if (\array_key_exists('who_can_post', $data) && null !== $data['who_can_post']) { - $object->setWhoCanPost($this->denormalizer->denormalize($data['who_can_post'], \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost::class, 'json', $context)); - } elseif (\array_key_exists('who_can_post', $data) && null === $data['who_can_post']) { - $object->setWhoCanPost(null); + $object->whoCanPost = $this->denormalizer->denormalize($data['who_can_post'], \JoliCode\Slack\Api\Model\AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPost::class, 'json', $context); + } elseif (\array_key_exists('who_can_post', $data)) { + $object->whoCanPost = null; } return $object; @@ -69,11 +69,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('canThread') && null !== $data->getCanThread()) { - $dataArray['can_thread'] = null === $data->getCanThread() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getCanThread(), 'json', $context)); + if (\array_key_exists('canThread', get_object_vars($data)) && null !== ($data->canThread ?? null)) { + $normalized = $this->normalizer->normalize($data->canThread, 'json', $context); + $dataArray['can_thread'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('whoCanPost') && null !== $data->getWhoCanPost()) { - $dataArray['who_can_post'] = null === $data->getWhoCanPost() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getWhoCanPost(), 'json', $context)); + if (\array_key_exists('whoCanPost', get_object_vars($data)) && null !== ($data->whoCanPost ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->whoCanPost, 'json', $context); + $dataArray['who_can_post'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } return $dataArray; diff --git a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPostNormalizer.php b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPostNormalizer.php index 4f41d296..0d0307c8 100644 --- a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPostNormalizer.php +++ b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPostNormalizer.php @@ -57,18 +57,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['type'] as $value) { $values[] = $value; } - $object->setType($values); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $values; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { $values_1 = []; foreach ($data['user'] as $value_1) { $values_1[] = $value_1; } - $object->setUser($values_1); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $values_1; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,16 +77,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('type') && null !== $data->getType()) { + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { $values = []; - foreach ($data->getType() as $value) { + foreach ($data->type as $value) { $values[] = $value; } $dataArray['type'] = $values; } - if ($data->isInitialized('user') && null !== $data->getUser()) { + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { $values_1 = []; - foreach ($data->getUser() as $value_1) { + foreach ($data->user as $value_1) { $values_1[] = $value_1; } $dataArray['user'] = $values_1; diff --git a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponsedefaultNormalizer.php index 2ac24a4f..45e3cc52 100644 --- a/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsGetConversationPrefsGetResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsGetTeamsGetResponse200Normalizer.php b/generated/Normalizer/AdminConversationsGetTeamsGetResponse200Normalizer.php index ab47f612..7e28672a 100644 --- a/generated/Normalizer/AdminConversationsGetTeamsGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsGetTeamsGetResponse200Normalizer.php @@ -56,23 +56,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\AdminConversationsGetTeamsGetResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } if (\array_key_exists('team_ids', $data) && null !== $data['team_ids']) { $values = []; foreach ($data['team_ids'] as $value) { $values[] = $value; } - $object->setTeamIds($values); - } elseif (\array_key_exists('team_ids', $data) && null === $data['team_ids']) { - $object->setTeamIds(null); + $object->teamIds = $values; + } elseif (\array_key_exists('team_ids', $data)) { + $object->teamIds = null; } return $object; @@ -81,12 +81,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $values = []; - foreach ($data->getTeamIds() as $value) { + foreach ($data->teamIds as $value) { $values[] = $value; } $dataArray['team_ids'] = $values; diff --git a/generated/Normalizer/AdminConversationsGetTeamsGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/AdminConversationsGetTeamsGetResponse200ResponseMetadataNormalizer.php index a436a7d3..6f33d2d6 100644 --- a/generated/Normalizer/AdminConversationsGetTeamsGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/AdminConversationsGetTeamsGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsGetTeamsGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsGetTeamsGetResponsedefaultNormalizer.php index 880ce3ba..f07b81c9 100644 --- a/generated/Normalizer/AdminConversationsGetTeamsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsGetTeamsGetResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsInvitePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsInvitePostResponse200Normalizer.php index cfaad3bd..f05e6d40 100644 --- a/generated/Normalizer/AdminConversationsInvitePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsInvitePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsInvitePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsInvitePostResponsedefaultNormalizer.php index 78aa0995..2e714926 100644 --- a/generated/Normalizer/AdminConversationsInvitePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsInvitePostResponsedefaultNormalizer.php @@ -56,17 +56,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); + $object->error = $data['error']; unset($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + } elseif (\array_key_exists('error', $data)) { + $object->error = null; unset($data['error']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -81,8 +81,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsRenamePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsRenamePostResponse200Normalizer.php index 6548348d..b776f3e8 100644 --- a/generated/Normalizer/AdminConversationsRenamePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsRenamePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsRenamePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsRenamePostResponsedefaultNormalizer.php index 86de95f3..ce801e95 100644 --- a/generated/Normalizer/AdminConversationsRenamePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsRenamePostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponse200Normalizer.php index f07cf2a2..2915c946 100644 --- a/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponsedefaultNormalizer.php index cd47f7bc..a67beb22 100644 --- a/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsRestrictAccessAddGroupPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponse200Normalizer.php b/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponse200Normalizer.php index aaec8c9f..74ae0bd6 100644 --- a/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponsedefaultNormalizer.php index a599102a..cf91a669 100644 --- a/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsRestrictAccessListGroupsGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponse200Normalizer.php index 09837236..88622b1f 100644 --- a/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponsedefaultNormalizer.php index 911b0a8e..123c85cc 100644 --- a/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsRestrictAccessRemoveGroupPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsSearchGetResponse200Normalizer.php b/generated/Normalizer/AdminConversationsSearchGetResponse200Normalizer.php index c7ead25b..64734418 100644 --- a/generated/Normalizer/AdminConversationsSearchGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsSearchGetResponse200Normalizer.php @@ -57,14 +57,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['channels'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsChannel::class, 'json', $context); } - $object->setChannels($values); - } elseif (\array_key_exists('channels', $data) && null === $data['channels']) { - $object->setChannels(null); + $object->channels = $values; + } elseif (\array_key_exists('channels', $data)) { + $object->channels = null; } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -74,11 +74,12 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getChannels() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->channels as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['channels'] = $values; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsSearchGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsSearchGetResponsedefaultNormalizer.php index 2a3c47d5..2619c390 100644 --- a/generated/Normalizer/AdminConversationsSearchGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsSearchGetResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponse200Normalizer.php index 43f216f7..6f7aad2b 100644 --- a/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponsedefaultNormalizer.php index 0c8557ab..06609f4a 100644 --- a/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsSetConversationPrefsPostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsSetTeamsPostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsSetTeamsPostResponse200Normalizer.php index 05e67c3b..9d0ee23d 100644 --- a/generated/Normalizer/AdminConversationsSetTeamsPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsSetTeamsPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsSetTeamsPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsSetTeamsPostResponsedefaultNormalizer.php index 93f50daf..18ceb1d6 100644 --- a/generated/Normalizer/AdminConversationsSetTeamsPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsSetTeamsPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminConversationsUnarchivePostResponse200Normalizer.php b/generated/Normalizer/AdminConversationsUnarchivePostResponse200Normalizer.php index fcbc9337..884aebf6 100644 --- a/generated/Normalizer/AdminConversationsUnarchivePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminConversationsUnarchivePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminConversationsUnarchivePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminConversationsUnarchivePostResponsedefaultNormalizer.php index ba05f736..5214ad78 100644 --- a/generated/Normalizer/AdminConversationsUnarchivePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminConversationsUnarchivePostResponsedefaultNormalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AdminEmojiAddAliasPostResponse200Normalizer.php b/generated/Normalizer/AdminEmojiAddAliasPostResponse200Normalizer.php index 20aa59c7..9bce5dca 100644 --- a/generated/Normalizer/AdminEmojiAddAliasPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminEmojiAddAliasPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiAddAliasPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminEmojiAddAliasPostResponsedefaultNormalizer.php index 7ac239e2..73c0719e 100644 --- a/generated/Normalizer/AdminEmojiAddAliasPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminEmojiAddAliasPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiAddPostResponse200Normalizer.php b/generated/Normalizer/AdminEmojiAddPostResponse200Normalizer.php index 740baa4f..9f7c01cf 100644 --- a/generated/Normalizer/AdminEmojiAddPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminEmojiAddPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiAddPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminEmojiAddPostResponsedefaultNormalizer.php index 0d8733b4..e0704ec6 100644 --- a/generated/Normalizer/AdminEmojiAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminEmojiAddPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiListGetResponse200Normalizer.php b/generated/Normalizer/AdminEmojiListGetResponse200Normalizer.php index b623e3fd..9f395af6 100644 --- a/generated/Normalizer/AdminEmojiListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminEmojiListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminEmojiListGetResponsedefaultNormalizer.php index 501a1992..0bfc4b95 100644 --- a/generated/Normalizer/AdminEmojiListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminEmojiListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiRemovePostResponse200Normalizer.php b/generated/Normalizer/AdminEmojiRemovePostResponse200Normalizer.php index f43e5cd9..c0a8921a 100644 --- a/generated/Normalizer/AdminEmojiRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminEmojiRemovePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminEmojiRemovePostResponsedefaultNormalizer.php index 155b3363..ba8692cd 100644 --- a/generated/Normalizer/AdminEmojiRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminEmojiRemovePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiRenamePostResponse200Normalizer.php b/generated/Normalizer/AdminEmojiRenamePostResponse200Normalizer.php index bbb71985..05bbc2a8 100644 --- a/generated/Normalizer/AdminEmojiRenamePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminEmojiRenamePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminEmojiRenamePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminEmojiRenamePostResponsedefaultNormalizer.php index 40df9e1c..7f67b0c3 100644 --- a/generated/Normalizer/AdminEmojiRenamePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminEmojiRenamePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsApprovePostResponse200Normalizer.php b/generated/Normalizer/AdminInviteRequestsApprovePostResponse200Normalizer.php index d7cbd01b..6a1c6dab 100644 --- a/generated/Normalizer/AdminInviteRequestsApprovePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminInviteRequestsApprovePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsApprovePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminInviteRequestsApprovePostResponsedefaultNormalizer.php index 1f27c113..c509522b 100644 --- a/generated/Normalizer/AdminInviteRequestsApprovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminInviteRequestsApprovePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsApprovedListGetResponse200Normalizer.php b/generated/Normalizer/AdminInviteRequestsApprovedListGetResponse200Normalizer.php index 3546077d..5388cc40 100644 --- a/generated/Normalizer/AdminInviteRequestsApprovedListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminInviteRequestsApprovedListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsApprovedListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminInviteRequestsApprovedListGetResponsedefaultNormalizer.php index 76c72724..e1846658 100644 --- a/generated/Normalizer/AdminInviteRequestsApprovedListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminInviteRequestsApprovedListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsDeniedListGetResponse200Normalizer.php b/generated/Normalizer/AdminInviteRequestsDeniedListGetResponse200Normalizer.php index c11c37e3..21a7240d 100644 --- a/generated/Normalizer/AdminInviteRequestsDeniedListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminInviteRequestsDeniedListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsDeniedListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminInviteRequestsDeniedListGetResponsedefaultNormalizer.php index fcc17a53..9e27d6af 100644 --- a/generated/Normalizer/AdminInviteRequestsDeniedListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminInviteRequestsDeniedListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsDenyPostResponse200Normalizer.php b/generated/Normalizer/AdminInviteRequestsDenyPostResponse200Normalizer.php index 64dcc697..930fba3b 100644 --- a/generated/Normalizer/AdminInviteRequestsDenyPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminInviteRequestsDenyPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsDenyPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminInviteRequestsDenyPostResponsedefaultNormalizer.php index 751547c3..7747f303 100644 --- a/generated/Normalizer/AdminInviteRequestsDenyPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminInviteRequestsDenyPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsListGetResponse200Normalizer.php b/generated/Normalizer/AdminInviteRequestsListGetResponse200Normalizer.php index d500d0ee..b19a80e2 100644 --- a/generated/Normalizer/AdminInviteRequestsListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminInviteRequestsListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminInviteRequestsListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminInviteRequestsListGetResponsedefaultNormalizer.php index 36cbbcd7..6e18747b 100644 --- a/generated/Normalizer/AdminInviteRequestsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminInviteRequestsListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsAdminsListGetResponse200Normalizer.php b/generated/Normalizer/AdminTeamsAdminsListGetResponse200Normalizer.php index 9b6dee8b..3343d8fe 100644 --- a/generated/Normalizer/AdminTeamsAdminsListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsAdminsListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsAdminsListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsAdminsListGetResponsedefaultNormalizer.php index a8d8e322..c2da891c 100644 --- a/generated/Normalizer/AdminTeamsAdminsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsAdminsListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsCreatePostResponse200Normalizer.php b/generated/Normalizer/AdminTeamsCreatePostResponse200Normalizer.php index ee1b1ad9..bdc8e757 100644 --- a/generated/Normalizer/AdminTeamsCreatePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsCreatePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsCreatePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsCreatePostResponsedefaultNormalizer.php index 416962e9..866f858d 100644 --- a/generated/Normalizer/AdminTeamsCreatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsCreatePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsListGetResponse200Normalizer.php b/generated/Normalizer/AdminTeamsListGetResponse200Normalizer.php index 6ae7692d..c0a8e262 100644 --- a/generated/Normalizer/AdminTeamsListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsListGetResponsedefaultNormalizer.php index 23c8c443..71d530a6 100644 --- a/generated/Normalizer/AdminTeamsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsOwnersListGetResponse200Normalizer.php b/generated/Normalizer/AdminTeamsOwnersListGetResponse200Normalizer.php index f6e53691..ced954cc 100644 --- a/generated/Normalizer/AdminTeamsOwnersListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsOwnersListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsOwnersListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsOwnersListGetResponsedefaultNormalizer.php index 724f0dff..3ca19747 100644 --- a/generated/Normalizer/AdminTeamsOwnersListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsOwnersListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsInfoGetResponse200Normalizer.php b/generated/Normalizer/AdminTeamsSettingsInfoGetResponse200Normalizer.php index bd815087..75a8f7ab 100644 --- a/generated/Normalizer/AdminTeamsSettingsInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsInfoGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsSettingsInfoGetResponsedefaultNormalizer.php index 4296ac4c..8fea66c4 100644 --- a/generated/Normalizer/AdminTeamsSettingsInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsInfoGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponse200Normalizer.php b/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponse200Normalizer.php index f96608a2..cdc4684b 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponsedefaultNormalizer.php index 2bc1a639..0a0a483c 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetDefaultChannelsPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponse200Normalizer.php b/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponse200Normalizer.php index 50d7c0a1..983775f1 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponsedefaultNormalizer.php index 6b517173..88bac5d8 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetDescriptionPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponse200Normalizer.php b/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponse200Normalizer.php index c844b1ac..219942d6 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponsedefaultNormalizer.php index ec7da51d..93d60228 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetDiscoverabilityPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetIconPostResponse200Normalizer.php b/generated/Normalizer/AdminTeamsSettingsSetIconPostResponse200Normalizer.php index 199e2470..b300a595 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetIconPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetIconPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetIconPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsSettingsSetIconPostResponsedefaultNormalizer.php index 1fc0716b..9579c3e2 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetIconPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetIconPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetNamePostResponse200Normalizer.php b/generated/Normalizer/AdminTeamsSettingsSetNamePostResponse200Normalizer.php index 3f91d768..ec84f290 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetNamePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetNamePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminTeamsSettingsSetNamePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminTeamsSettingsSetNamePostResponsedefaultNormalizer.php index c305fcdf..ca097f4f 100644 --- a/generated/Normalizer/AdminTeamsSettingsSetNamePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminTeamsSettingsSetNamePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsAddChannelsPostResponse200Normalizer.php b/generated/Normalizer/AdminUsergroupsAddChannelsPostResponse200Normalizer.php index 063d4892..a7f37fcf 100644 --- a/generated/Normalizer/AdminUsergroupsAddChannelsPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsergroupsAddChannelsPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsAddChannelsPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsergroupsAddChannelsPostResponsedefaultNormalizer.php index 6b28a372..fb32669f 100644 --- a/generated/Normalizer/AdminUsergroupsAddChannelsPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsergroupsAddChannelsPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsAddTeamsPostResponse200Normalizer.php b/generated/Normalizer/AdminUsergroupsAddTeamsPostResponse200Normalizer.php index 5253363d..995255b6 100644 --- a/generated/Normalizer/AdminUsergroupsAddTeamsPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsergroupsAddTeamsPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsAddTeamsPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsergroupsAddTeamsPostResponsedefaultNormalizer.php index 5fa03422..87798820 100644 --- a/generated/Normalizer/AdminUsergroupsAddTeamsPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsergroupsAddTeamsPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsListChannelsGetResponse200Normalizer.php b/generated/Normalizer/AdminUsergroupsListChannelsGetResponse200Normalizer.php index 4c3ae880..b72b49c6 100644 --- a/generated/Normalizer/AdminUsergroupsListChannelsGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsergroupsListChannelsGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsListChannelsGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsergroupsListChannelsGetResponsedefaultNormalizer.php index a61ae912..1c7448d2 100644 --- a/generated/Normalizer/AdminUsergroupsListChannelsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsergroupsListChannelsGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponse200Normalizer.php b/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponse200Normalizer.php index b12d445e..360ca5e0 100644 --- a/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponsedefaultNormalizer.php index 695c0f52..7972af50 100644 --- a/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsergroupsRemoveChannelsPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersAssignPostResponse200Normalizer.php b/generated/Normalizer/AdminUsersAssignPostResponse200Normalizer.php index e9e54132..fbfc9ae5 100644 --- a/generated/Normalizer/AdminUsersAssignPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersAssignPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersAssignPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersAssignPostResponsedefaultNormalizer.php index 1fa8e71e..ecaaa559 100644 --- a/generated/Normalizer/AdminUsersAssignPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersAssignPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersInvitePostResponse200Normalizer.php b/generated/Normalizer/AdminUsersInvitePostResponse200Normalizer.php index 5dba7c0f..8ebe9706 100644 --- a/generated/Normalizer/AdminUsersInvitePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersInvitePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersInvitePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersInvitePostResponsedefaultNormalizer.php index 11e675f8..0a30f047 100644 --- a/generated/Normalizer/AdminUsersInvitePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersInvitePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersListGetResponse200Normalizer.php b/generated/Normalizer/AdminUsersListGetResponse200Normalizer.php index 409eb128..9f01a96b 100644 --- a/generated/Normalizer/AdminUsersListGetResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersListGetResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersListGetResponsedefaultNormalizer.php index fc4b01d3..cc873916 100644 --- a/generated/Normalizer/AdminUsersListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersRemovePostResponse200Normalizer.php b/generated/Normalizer/AdminUsersRemovePostResponse200Normalizer.php index 7b333cc1..13b3af30 100644 --- a/generated/Normalizer/AdminUsersRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersRemovePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersRemovePostResponsedefaultNormalizer.php index 572ce2e9..2dc2b639 100644 --- a/generated/Normalizer/AdminUsersRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersRemovePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSessionInvalidatePostResponse200Normalizer.php b/generated/Normalizer/AdminUsersSessionInvalidatePostResponse200Normalizer.php index 983b2381..f95dc2a9 100644 --- a/generated/Normalizer/AdminUsersSessionInvalidatePostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersSessionInvalidatePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSessionInvalidatePostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersSessionInvalidatePostResponsedefaultNormalizer.php index 987df18c..1b549099 100644 --- a/generated/Normalizer/AdminUsersSessionInvalidatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersSessionInvalidatePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSessionResetPostResponse200Normalizer.php b/generated/Normalizer/AdminUsersSessionResetPostResponse200Normalizer.php index 6690a797..901b1c34 100644 --- a/generated/Normalizer/AdminUsersSessionResetPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersSessionResetPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSessionResetPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersSessionResetPostResponsedefaultNormalizer.php index 8ea53013..38e163f1 100644 --- a/generated/Normalizer/AdminUsersSessionResetPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersSessionResetPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetAdminPostResponse200Normalizer.php b/generated/Normalizer/AdminUsersSetAdminPostResponse200Normalizer.php index 853b7dab..8a71725e 100644 --- a/generated/Normalizer/AdminUsersSetAdminPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersSetAdminPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetAdminPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersSetAdminPostResponsedefaultNormalizer.php index bad7d4b3..2ea1def6 100644 --- a/generated/Normalizer/AdminUsersSetAdminPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersSetAdminPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetExpirationPostResponse200Normalizer.php b/generated/Normalizer/AdminUsersSetExpirationPostResponse200Normalizer.php index aeefe3e6..c13ffc80 100644 --- a/generated/Normalizer/AdminUsersSetExpirationPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersSetExpirationPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetExpirationPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersSetExpirationPostResponsedefaultNormalizer.php index 9ca0b865..4b242a33 100644 --- a/generated/Normalizer/AdminUsersSetExpirationPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersSetExpirationPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetOwnerPostResponse200Normalizer.php b/generated/Normalizer/AdminUsersSetOwnerPostResponse200Normalizer.php index 59ac74d5..28fc032c 100644 --- a/generated/Normalizer/AdminUsersSetOwnerPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersSetOwnerPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetOwnerPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersSetOwnerPostResponsedefaultNormalizer.php index f19691fc..2962a301 100644 --- a/generated/Normalizer/AdminUsersSetOwnerPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersSetOwnerPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetRegularPostResponse200Normalizer.php b/generated/Normalizer/AdminUsersSetRegularPostResponse200Normalizer.php index ae3955da..c1527bfd 100644 --- a/generated/Normalizer/AdminUsersSetRegularPostResponse200Normalizer.php +++ b/generated/Normalizer/AdminUsersSetRegularPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AdminUsersSetRegularPostResponsedefaultNormalizer.php b/generated/Normalizer/AdminUsersSetRegularPostResponsedefaultNormalizer.php index f6808108..786a4d5a 100644 --- a/generated/Normalizer/AdminUsersSetRegularPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/AdminUsersSetRegularPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ApiTestGetResponse200Normalizer.php b/generated/Normalizer/ApiTestGetResponse200Normalizer.php index bacb6562..08155c46 100644 --- a/generated/Normalizer/ApiTestGetResponse200Normalizer.php +++ b/generated/Normalizer/ApiTestGetResponse200Normalizer.php @@ -56,17 +56,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('args', $data) && null !== $data['args']) { - $object->setArgs($data['args']); + $object->args = $data['args']; unset($data['args']); - } elseif (\array_key_exists('args', $data) && null === $data['args']) { - $object->setArgs(null); + } elseif (\array_key_exists('args', $data)) { + $object->args = null; unset($data['args']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -81,10 +81,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('args') && null !== $data->getArgs()) { - $dataArray['args'] = $data->getArgs(); + if (\array_key_exists('args', get_object_vars($data)) && null !== ($data->args ?? null)) { + $dataArray['args'] = $data->args; } - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ApiTestGetResponsedefaultNormalizer.php b/generated/Normalizer/ApiTestGetResponsedefaultNormalizer.php index 427f6765..ed3d20f7 100644 --- a/generated/Normalizer/ApiTestGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ApiTestGetResponsedefaultNormalizer.php @@ -56,24 +56,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('args', $data) && null !== $data['args']) { - $object->setArgs($data['args']); + $object->args = $data['args']; unset($data['args']); - } elseif (\array_key_exists('args', $data) && null === $data['args']) { - $object->setArgs(null); + } elseif (\array_key_exists('args', $data)) { + $object->args = null; unset($data['args']); } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); + $object->error = $data['error']; unset($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + } elseif (\array_key_exists('error', $data)) { + $object->error = null; unset($data['error']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -88,11 +88,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('args') && null !== $data->getArgs()) { - $dataArray['args'] = $data->getArgs(); + if (\array_key_exists('args', get_object_vars($data)) && null !== ($data->args ?? null)) { + $dataArray['args'] = $data->args; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsEventAuthorizationsListGetResponse200Normalizer.php b/generated/Normalizer/AppsEventAuthorizationsListGetResponse200Normalizer.php index 2ba6a2cb..5a7c8758 100644 --- a/generated/Normalizer/AppsEventAuthorizationsListGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsEventAuthorizationsListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsEventAuthorizationsListGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsEventAuthorizationsListGetResponsedefaultNormalizer.php index 783b48d0..9e707ea7 100644 --- a/generated/Normalizer/AppsEventAuthorizationsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsEventAuthorizationsListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoAppHomeNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoAppHomeNormalizer.php index d678cb1d..1ea6e6f0 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoAppHomeNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoAppHomeNormalizer.php @@ -53,18 +53,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { - $object->setResources($this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context)); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + $object->resources = $this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } - $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + $object->scopes = $values; + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; } return $object; @@ -73,12 +73,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('resources') && null !== $data->getResources()) { - $dataArray['resources'] = null === $data->getResources() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResources(), 'json', $context)); + if (\array_key_exists('resources', get_object_vars($data)) && null !== ($data->resources ?? null)) { + $normalized = $this->normalizer->normalize($data->resources, 'json', $context); + $dataArray['resources'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('scopes') && null !== $data->getScopes()) { + if (\array_key_exists('scopes', get_object_vars($data)) && null !== ($data->scopes ?? null)) { $values = []; - foreach ($data->getScopes() as $value) { + foreach ($data->scopes as $value) { $values[] = $value; } $dataArray['scopes'] = $values; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoChannelNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoChannelNormalizer.php index e59e0931..8421967a 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoChannelNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoChannelNormalizer.php @@ -53,18 +53,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { - $object->setResources($this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context)); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + $object->resources = $this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } - $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + $object->scopes = $values; + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; } return $object; @@ -73,12 +73,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('resources') && null !== $data->getResources()) { - $dataArray['resources'] = null === $data->getResources() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResources(), 'json', $context)); + if (\array_key_exists('resources', get_object_vars($data)) && null !== ($data->resources ?? null)) { + $normalized = $this->normalizer->normalize($data->resources, 'json', $context); + $dataArray['resources'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('scopes') && null !== $data->getScopes()) { + if (\array_key_exists('scopes', get_object_vars($data)) && null !== ($data->scopes ?? null)) { $values = []; - foreach ($data->getScopes() as $value) { + foreach ($data->scopes as $value) { $values[] = $value; } $dataArray['scopes'] = $values; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoGroupNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoGroupNormalizer.php index 3ce51c9a..a1c7085e 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoGroupNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoGroupNormalizer.php @@ -53,18 +53,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { - $object->setResources($this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context)); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + $object->resources = $this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } - $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + $object->scopes = $values; + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; } return $object; @@ -73,12 +73,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('resources') && null !== $data->getResources()) { - $dataArray['resources'] = null === $data->getResources() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResources(), 'json', $context)); + if (\array_key_exists('resources', get_object_vars($data)) && null !== ($data->resources ?? null)) { + $normalized = $this->normalizer->normalize($data->resources, 'json', $context); + $dataArray['resources'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('scopes') && null !== $data->getScopes()) { + if (\array_key_exists('scopes', get_object_vars($data)) && null !== ($data->scopes ?? null)) { $values = []; - foreach ($data->getScopes() as $value) { + foreach ($data->scopes as $value) { $values[] = $value; } $dataArray['scopes'] = $values; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoImNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoImNormalizer.php index 670f9761..24e3a58c 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoImNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoImNormalizer.php @@ -53,18 +53,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { - $object->setResources($this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context)); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + $object->resources = $this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } - $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + $object->scopes = $values; + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; } return $object; @@ -73,12 +73,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('resources') && null !== $data->getResources()) { - $dataArray['resources'] = null === $data->getResources() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResources(), 'json', $context)); + if (\array_key_exists('resources', get_object_vars($data)) && null !== ($data->resources ?? null)) { + $normalized = $this->normalizer->normalize($data->resources, 'json', $context); + $dataArray['resources'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('scopes') && null !== $data->getScopes()) { + if (\array_key_exists('scopes', get_object_vars($data)) && null !== ($data->scopes ?? null)) { $values = []; - foreach ($data->getScopes() as $value) { + foreach ($data->scopes as $value) { $values[] = $value; } $dataArray['scopes'] = $values; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoMpimNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoMpimNormalizer.php index 5812938d..613b56b2 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoMpimNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoMpimNormalizer.php @@ -53,18 +53,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { - $object->setResources($this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context)); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + $object->resources = $this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } - $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + $object->scopes = $values; + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; } return $object; @@ -73,12 +73,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('resources') && null !== $data->getResources()) { - $dataArray['resources'] = null === $data->getResources() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResources(), 'json', $context)); + if (\array_key_exists('resources', get_object_vars($data)) && null !== ($data->resources ?? null)) { + $normalized = $this->normalizer->normalize($data->resources, 'json', $context); + $dataArray['resources'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('scopes') && null !== $data->getScopes()) { + if (\array_key_exists('scopes', get_object_vars($data)) && null !== ($data->scopes ?? null)) { $values = []; - foreach ($data->getScopes() as $value) { + foreach ($data->scopes as $value) { $values[] = $value; } $dataArray['scopes'] = $values; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoNormalizer.php index 7ba0e7ff..ed4226f3 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoNormalizer.php @@ -53,34 +53,34 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('app_home', $data) && null !== $data['app_home']) { - $object->setAppHome($this->denormalizer->denormalize($data['app_home'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoAppHome::class, 'json', $context)); - } elseif (\array_key_exists('app_home', $data) && null === $data['app_home']) { - $object->setAppHome(null); + $object->appHome = $this->denormalizer->denormalize($data['app_home'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoAppHome::class, 'json', $context); + } elseif (\array_key_exists('app_home', $data)) { + $object->appHome = null; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoChannel::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoChannel::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('group', $data) && null !== $data['group']) { - $object->setGroup($this->denormalizer->denormalize($data['group'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoGroup::class, 'json', $context)); - } elseif (\array_key_exists('group', $data) && null === $data['group']) { - $object->setGroup(null); + $object->group = $this->denormalizer->denormalize($data['group'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoGroup::class, 'json', $context); + } elseif (\array_key_exists('group', $data)) { + $object->group = null; } if (\array_key_exists('im', $data) && null !== $data['im']) { - $object->setIm($this->denormalizer->denormalize($data['im'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoIm::class, 'json', $context)); - } elseif (\array_key_exists('im', $data) && null === $data['im']) { - $object->setIm(null); + $object->im = $this->denormalizer->denormalize($data['im'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoIm::class, 'json', $context); + } elseif (\array_key_exists('im', $data)) { + $object->im = null; } if (\array_key_exists('mpim', $data) && null !== $data['mpim']) { - $object->setMpim($this->denormalizer->denormalize($data['mpim'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoMpim::class, 'json', $context)); - } elseif (\array_key_exists('mpim', $data) && null === $data['mpim']) { - $object->setMpim(null); + $object->mpim = $this->denormalizer->denormalize($data['mpim'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoMpim::class, 'json', $context); + } elseif (\array_key_exists('mpim', $data)) { + $object->mpim = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoTeam::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200InfoTeam::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } return $object; @@ -89,12 +89,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['app_home'] = null === $data->getAppHome() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getAppHome(), 'json', $context)); - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['group'] = null === $data->getGroup() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getGroup(), 'json', $context)); - $dataArray['im'] = null === $data->getIm() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getIm(), 'json', $context)); - $dataArray['mpim'] = null === $data->getMpim() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMpim(), 'json', $context)); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); + $normalized = null === $data->appHome ? null : $this->normalizer->normalize($data->appHome, 'json', $context); + $dataArray['app_home'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + $normalized_2 = null === $data->group ? null : $this->normalizer->normalize($data->group, 'json', $context); + $dataArray['group'] = is_iterable($normalized_2) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_2) : $normalized_2; + $normalized_3 = null === $data->im ? null : $this->normalizer->normalize($data->im, 'json', $context); + $dataArray['im'] = is_iterable($normalized_3) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_3) : $normalized_3; + $normalized_4 = null === $data->mpim ? null : $this->normalizer->normalize($data->mpim, 'json', $context); + $dataArray['mpim'] = is_iterable($normalized_4) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_4) : $normalized_4; + $normalized_5 = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized_5) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_5) : $normalized_5; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoTeamNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoTeamNormalizer.php index 31a5bf76..e98bae16 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoTeamNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200InfoTeamNormalizer.php @@ -53,18 +53,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { - $object->setResources($this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context)); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + $object->resources = $this->denormalizer->denormalize($data['resources'], \JoliCode\Slack\Api\Model\ObjsResources::class, 'json', $context); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } - $object->setScopes($values); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + $object->scopes = $values; + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; } return $object; @@ -73,9 +73,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['resources'] = null === $data->getResources() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResources(), 'json', $context)); + $normalized = null === $data->resources ? null : $this->normalizer->normalize($data->resources, 'json', $context); + $dataArray['resources'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; $values = []; - foreach ($data->getScopes() as $value) { + foreach ($data->scopes as $value) { $values[] = $value; } $dataArray['scopes'] = $values; diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponse200Normalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponse200Normalizer.php index ea88c540..d0210b43 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('info', $data) && null !== $data['info']) { - $object->setInfo($this->denormalizer->denormalize($data['info'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200Info::class, 'json', $context)); - } elseif (\array_key_exists('info', $data) && null === $data['info']) { - $object->setInfo(null); + $object->info = $this->denormalizer->denormalize($data['info'], \JoliCode\Slack\Api\Model\AppsPermissionsInfoGetResponse200Info::class, 'json', $context); + } elseif (\array_key_exists('info', $data)) { + $object->info = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['info'] = null === $data->getInfo() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getInfo(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->info ? null : $this->normalizer->normalize($data->info, 'json', $context); + $dataArray['info'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsPermissionsInfoGetResponsedefaultNormalizer.php index 1db35999..71ce3bb1 100644 --- a/generated/Normalizer/AppsPermissionsInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsPermissionsInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsRequestGetResponse200Normalizer.php b/generated/Normalizer/AppsPermissionsRequestGetResponse200Normalizer.php index c667cf72..98c32f24 100644 --- a/generated/Normalizer/AppsPermissionsRequestGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsPermissionsRequestGetResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsRequestGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsPermissionsRequestGetResponsedefaultNormalizer.php index 6d7a0511..a92d4088 100644 --- a/generated/Normalizer/AppsPermissionsRequestGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsPermissionsRequestGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsResourcesListGetResponse200Normalizer.php b/generated/Normalizer/AppsPermissionsResourcesListGetResponse200Normalizer.php index 6ee37b25..33e56bbe 100644 --- a/generated/Normalizer/AppsPermissionsResourcesListGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsPermissionsResourcesListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('resources', $data) && null !== $data['resources']) { @@ -67,17 +67,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['resources'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponse200ResourcesItem::class, 'json', $context); } - $object->setResources($values); + $object->resources = $values; unset($data['resources']); - } elseif (\array_key_exists('resources', $data) && null === $data['resources']) { - $object->setResources(null); + } elseif (\array_key_exists('resources', $data)) { + $object->resources = null; unset($data['resources']); } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponse200ResponseMetadata::class, 'json', $context)); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\AppsPermissionsResourcesListGetResponse200ResponseMetadata::class, 'json', $context); unset($data['response_metadata']); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; unset($data['response_metadata']); } foreach ($data as $key => $value_1) { @@ -92,14 +92,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; $values = []; - foreach ($data->getResources() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->resources as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['resources'] = $values; - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } foreach ($data->additionalPropertyEntries() as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResourcesItemNormalizer.php b/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResourcesItemNormalizer.php index f4f6a501..3dbe8b3a 100644 --- a/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResourcesItemNormalizer.php +++ b/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResourcesItemNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -69,11 +69,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('id') && null !== $data->getId()) { - $dataArray['id'] = $data->getId(); + if (\array_key_exists('id', get_object_vars($data)) && null !== ($data->id ?? null)) { + $dataArray['id'] = $data->id; } - if ($data->isInitialized('type') && null !== $data->getType()) { - $dataArray['type'] = $data->getType(); + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { + $dataArray['type'] = $data->type; } return $dataArray; diff --git a/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResponseMetadataNormalizer.php index ccca1858..507defa9 100644 --- a/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/AppsPermissionsResourcesListGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsResourcesListGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsPermissionsResourcesListGetResponsedefaultNormalizer.php index a22b29e3..4f906302 100644 --- a/generated/Normalizer/AppsPermissionsResourcesListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsPermissionsResourcesListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsScopesListGetResponse200Normalizer.php b/generated/Normalizer/AppsPermissionsScopesListGetResponse200Normalizer.php index 439525de..c2d358f8 100644 --- a/generated/Normalizer/AppsPermissionsScopesListGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsPermissionsScopesListGetResponse200Normalizer.php @@ -56,17 +56,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { - $object->setScopes($this->denormalizer->denormalize($data['scopes'], \JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponse200Scopes::class, 'json', $context)); + $object->scopes = $this->denormalizer->denormalize($data['scopes'], \JoliCode\Slack\Api\Model\AppsPermissionsScopesListGetResponse200Scopes::class, 'json', $context); unset($data['scopes']); - } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { - $object->setScopes(null); + } elseif (\array_key_exists('scopes', $data)) { + $object->scopes = null; unset($data['scopes']); } foreach ($data as $key => $value) { @@ -81,8 +81,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['scopes'] = null === $data->getScopes() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getScopes(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->scopes ? null : $this->normalizer->normalize($data->scopes, 'json', $context); + $dataArray['scopes'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsPermissionsScopesListGetResponse200ScopesNormalizer.php b/generated/Normalizer/AppsPermissionsScopesListGetResponse200ScopesNormalizer.php index 859b4abb..86a33e97 100644 --- a/generated/Normalizer/AppsPermissionsScopesListGetResponse200ScopesNormalizer.php +++ b/generated/Normalizer/AppsPermissionsScopesListGetResponse200ScopesNormalizer.php @@ -57,10 +57,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['app_home'] as $value) { $values[] = $value; } - $object->setAppHome($values); + $object->appHome = $values; unset($data['app_home']); - } elseif (\array_key_exists('app_home', $data) && null === $data['app_home']) { - $object->setAppHome(null); + } elseif (\array_key_exists('app_home', $data)) { + $object->appHome = null; unset($data['app_home']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { @@ -68,10 +68,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['channel'] as $value_1) { $values_1[] = $value_1; } - $object->setChannel($values_1); + $object->channel = $values_1; unset($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; unset($data['channel']); } if (\array_key_exists('group', $data) && null !== $data['group']) { @@ -79,10 +79,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['group'] as $value_2) { $values_2[] = $value_2; } - $object->setGroup($values_2); + $object->group = $values_2; unset($data['group']); - } elseif (\array_key_exists('group', $data) && null === $data['group']) { - $object->setGroup(null); + } elseif (\array_key_exists('group', $data)) { + $object->group = null; unset($data['group']); } if (\array_key_exists('im', $data) && null !== $data['im']) { @@ -90,10 +90,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['im'] as $value_3) { $values_3[] = $value_3; } - $object->setIm($values_3); + $object->im = $values_3; unset($data['im']); - } elseif (\array_key_exists('im', $data) && null === $data['im']) { - $object->setIm(null); + } elseif (\array_key_exists('im', $data)) { + $object->im = null; unset($data['im']); } if (\array_key_exists('mpim', $data) && null !== $data['mpim']) { @@ -101,10 +101,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['mpim'] as $value_4) { $values_4[] = $value_4; } - $object->setMpim($values_4); + $object->mpim = $values_4; unset($data['mpim']); - } elseif (\array_key_exists('mpim', $data) && null === $data['mpim']) { - $object->setMpim(null); + } elseif (\array_key_exists('mpim', $data)) { + $object->mpim = null; unset($data['mpim']); } if (\array_key_exists('team', $data) && null !== $data['team']) { @@ -112,10 +112,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['team'] as $value_5) { $values_5[] = $value_5; } - $object->setTeam($values_5); + $object->team = $values_5; unset($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; unset($data['team']); } if (\array_key_exists('user', $data) && null !== $data['user']) { @@ -123,10 +123,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['user'] as $value_6) { $values_6[] = $value_6; } - $object->setUser($values_6); + $object->user = $values_6; unset($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; unset($data['user']); } foreach ($data as $key => $value_7) { @@ -141,51 +141,51 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('appHome') && null !== $data->getAppHome()) { + if (\array_key_exists('appHome', get_object_vars($data)) && null !== ($data->appHome ?? null)) { $values = []; - foreach ($data->getAppHome() as $value) { + foreach ($data->appHome as $value) { $values[] = $value; } $dataArray['app_home'] = $values; } - if ($data->isInitialized('channel') && null !== $data->getChannel()) { + if (\array_key_exists('channel', get_object_vars($data)) && null !== ($data->channel ?? null)) { $values_1 = []; - foreach ($data->getChannel() as $value_1) { + foreach ($data->channel as $value_1) { $values_1[] = $value_1; } $dataArray['channel'] = $values_1; } - if ($data->isInitialized('group') && null !== $data->getGroup()) { + if (\array_key_exists('group', get_object_vars($data)) && null !== ($data->group ?? null)) { $values_2 = []; - foreach ($data->getGroup() as $value_2) { + foreach ($data->group as $value_2) { $values_2[] = $value_2; } $dataArray['group'] = $values_2; } - if ($data->isInitialized('im') && null !== $data->getIm()) { + if (\array_key_exists('im', get_object_vars($data)) && null !== ($data->im ?? null)) { $values_3 = []; - foreach ($data->getIm() as $value_3) { + foreach ($data->im as $value_3) { $values_3[] = $value_3; } $dataArray['im'] = $values_3; } - if ($data->isInitialized('mpim') && null !== $data->getMpim()) { + if (\array_key_exists('mpim', get_object_vars($data)) && null !== ($data->mpim ?? null)) { $values_4 = []; - foreach ($data->getMpim() as $value_4) { + foreach ($data->mpim as $value_4) { $values_4[] = $value_4; } $dataArray['mpim'] = $values_4; } - if ($data->isInitialized('team') && null !== $data->getTeam()) { + if (\array_key_exists('team', get_object_vars($data)) && null !== ($data->team ?? null)) { $values_5 = []; - foreach ($data->getTeam() as $value_5) { + foreach ($data->team as $value_5) { $values_5[] = $value_5; } $dataArray['team'] = $values_5; } - if ($data->isInitialized('user') && null !== $data->getUser()) { + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { $values_6 = []; - foreach ($data->getUser() as $value_6) { + foreach ($data->user as $value_6) { $values_6[] = $value_6; } $dataArray['user'] = $values_6; diff --git a/generated/Normalizer/AppsPermissionsScopesListGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsPermissionsScopesListGetResponsedefaultNormalizer.php index 092b6121..86712adf 100644 --- a/generated/Normalizer/AppsPermissionsScopesListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsPermissionsScopesListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsPermissionsUsersListGetResponse200Normalizer.php b/generated/Normalizer/AppsPermissionsUsersListGetResponse200Normalizer.php index 42745fc7..79f46045 100644 --- a/generated/Normalizer/AppsPermissionsUsersListGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsPermissionsUsersListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsPermissionsUsersListGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsPermissionsUsersListGetResponsedefaultNormalizer.php index b9fddbdf..91bee2c6 100644 --- a/generated/Normalizer/AppsPermissionsUsersListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsPermissionsUsersListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsPermissionsUsersRequestGetResponse200Normalizer.php b/generated/Normalizer/AppsPermissionsUsersRequestGetResponse200Normalizer.php index 4bde7463..2caadcf2 100644 --- a/generated/Normalizer/AppsPermissionsUsersRequestGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsPermissionsUsersRequestGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsPermissionsUsersRequestGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsPermissionsUsersRequestGetResponsedefaultNormalizer.php index 89bd8562..b753dcff 100644 --- a/generated/Normalizer/AppsPermissionsUsersRequestGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsPermissionsUsersRequestGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/AppsUninstallGetResponse200Normalizer.php b/generated/Normalizer/AppsUninstallGetResponse200Normalizer.php index dd77a889..0483db88 100644 --- a/generated/Normalizer/AppsUninstallGetResponse200Normalizer.php +++ b/generated/Normalizer/AppsUninstallGetResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AppsUninstallGetResponsedefaultNormalizer.php b/generated/Normalizer/AppsUninstallGetResponsedefaultNormalizer.php index cb16a757..53cff404 100644 --- a/generated/Normalizer/AppsUninstallGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AppsUninstallGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AuthRevokeGetResponse200Normalizer.php b/generated/Normalizer/AuthRevokeGetResponse200Normalizer.php index acc91817..aeaaf4b7 100644 --- a/generated/Normalizer/AuthRevokeGetResponse200Normalizer.php +++ b/generated/Normalizer/AuthRevokeGetResponse200Normalizer.php @@ -59,14 +59,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['revoked'] = (bool) $data['revoked']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('revoked', $data) && null !== $data['revoked']) { - $object->setRevoked($data['revoked']); - } elseif (\array_key_exists('revoked', $data) && null === $data['revoked']) { - $object->setRevoked(null); + $object->revoked = $data['revoked']; + } elseif (\array_key_exists('revoked', $data)) { + $object->revoked = null; } return $object; @@ -75,8 +75,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['revoked'] = $data->getRevoked(); + $dataArray['ok'] = $data->ok; + $dataArray['revoked'] = $data->revoked; return $dataArray; } diff --git a/generated/Normalizer/AuthRevokeGetResponsedefaultNormalizer.php b/generated/Normalizer/AuthRevokeGetResponsedefaultNormalizer.php index 21dcdcf5..4d81e515 100644 --- a/generated/Normalizer/AuthRevokeGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AuthRevokeGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/AuthTestGetResponse200Normalizer.php b/generated/Normalizer/AuthTestGetResponse200Normalizer.php index 31610c38..8629d794 100644 --- a/generated/Normalizer/AuthTestGetResponse200Normalizer.php +++ b/generated/Normalizer/AuthTestGetResponse200Normalizer.php @@ -59,44 +59,44 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('bot_id', $data) && null !== $data['bot_id']) { - $object->setBotId($data['bot_id']); - } elseif (\array_key_exists('bot_id', $data) && null === $data['bot_id']) { - $object->setBotId(null); + $object->botId = $data['bot_id']; + } elseif (\array_key_exists('bot_id', $data)) { + $object->botId = null; } if (\array_key_exists('is_enterprise_install', $data) && null !== $data['is_enterprise_install']) { - $object->setIsEnterpriseInstall($data['is_enterprise_install']); - } elseif (\array_key_exists('is_enterprise_install', $data) && null === $data['is_enterprise_install']) { - $object->setIsEnterpriseInstall(null); + $object->isEnterpriseInstall = $data['is_enterprise_install']; + } elseif (\array_key_exists('is_enterprise_install', $data)) { + $object->isEnterpriseInstall = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('team_id', $data) && null !== $data['team_id']) { - $object->setTeamId($data['team_id']); - } elseif (\array_key_exists('team_id', $data) && null === $data['team_id']) { - $object->setTeamId(null); + $object->teamId = $data['team_id']; + } elseif (\array_key_exists('team_id', $data)) { + $object->teamId = null; } if (\array_key_exists('url', $data) && null !== $data['url']) { - $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { - $object->setUrl(null); + $object->url = $data['url']; + } elseif (\array_key_exists('url', $data)) { + $object->url = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('user_id', $data) && null !== $data['user_id']) { - $object->setUserId($data['user_id']); - } elseif (\array_key_exists('user_id', $data) && null === $data['user_id']) { - $object->setUserId(null); + $object->userId = $data['user_id']; + } elseif (\array_key_exists('user_id', $data)) { + $object->userId = null; } return $object; @@ -105,18 +105,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('botId') && null !== $data->getBotId()) { - $dataArray['bot_id'] = $data->getBotId(); + if (\array_key_exists('botId', get_object_vars($data)) && null !== ($data->botId ?? null)) { + $dataArray['bot_id'] = $data->botId; } - if ($data->isInitialized('isEnterpriseInstall') && null !== $data->getIsEnterpriseInstall()) { - $dataArray['is_enterprise_install'] = $data->getIsEnterpriseInstall(); + if (\array_key_exists('isEnterpriseInstall', get_object_vars($data)) && null !== ($data->isEnterpriseInstall ?? null)) { + $dataArray['is_enterprise_install'] = $data->isEnterpriseInstall; } - $dataArray['ok'] = $data->getOk(); - $dataArray['team'] = $data->getTeam(); - $dataArray['team_id'] = $data->getTeamId(); - $dataArray['url'] = $data->getUrl(); - $dataArray['user'] = $data->getUser(); - $dataArray['user_id'] = $data->getUserId(); + $dataArray['ok'] = $data->ok; + $dataArray['team'] = $data->team; + $dataArray['team_id'] = $data->teamId; + $dataArray['url'] = $data->url; + $dataArray['user'] = $data->user; + $dataArray['user_id'] = $data->userId; return $dataArray; } diff --git a/generated/Normalizer/AuthTestGetResponsedefaultNormalizer.php b/generated/Normalizer/AuthTestGetResponsedefaultNormalizer.php index 704ab28d..69b1a556 100644 --- a/generated/Normalizer/AuthTestGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/AuthTestGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/BlocksItemNormalizer.php b/generated/Normalizer/BlocksItemNormalizer.php index cd704a0b..f3d34e78 100644 --- a/generated/Normalizer/BlocksItemNormalizer.php +++ b/generated/Normalizer/BlocksItemNormalizer.php @@ -53,10 +53,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); + $object->type = $data['type']; unset($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + } elseif (\array_key_exists('type', $data)) { + $object->type = null; unset($data['type']); } foreach ($data as $key => $value) { @@ -71,7 +71,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['type'] = $data->getType(); + $dataArray['type'] = $data->type; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/BotsInfoGetResponse200BotIconsNormalizer.php b/generated/Normalizer/BotsInfoGetResponse200BotIconsNormalizer.php index 146c886a..620f5588 100644 --- a/generated/Normalizer/BotsInfoGetResponse200BotIconsNormalizer.php +++ b/generated/Normalizer/BotsInfoGetResponse200BotIconsNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('image_36', $data) && null !== $data['image_36']) { - $object->setImage36($data['image_36']); - } elseif (\array_key_exists('image_36', $data) && null === $data['image_36']) { - $object->setImage36(null); + $object->image36 = $data['image_36']; + } elseif (\array_key_exists('image_36', $data)) { + $object->image36 = null; } if (\array_key_exists('image_48', $data) && null !== $data['image_48']) { - $object->setImage48($data['image_48']); - } elseif (\array_key_exists('image_48', $data) && null === $data['image_48']) { - $object->setImage48(null); + $object->image48 = $data['image_48']; + } elseif (\array_key_exists('image_48', $data)) { + $object->image48 = null; } if (\array_key_exists('image_72', $data) && null !== $data['image_72']) { - $object->setImage72($data['image_72']); - } elseif (\array_key_exists('image_72', $data) && null === $data['image_72']) { - $object->setImage72(null); + $object->image72 = $data['image_72']; + } elseif (\array_key_exists('image_72', $data)) { + $object->image72 = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['image_36'] = $data->getImage36(); - $dataArray['image_48'] = $data->getImage48(); - $dataArray['image_72'] = $data->getImage72(); + $dataArray['image_36'] = $data->image36; + $dataArray['image_48'] = $data->image48; + $dataArray['image_72'] = $data->image72; return $dataArray; } diff --git a/generated/Normalizer/BotsInfoGetResponse200BotNormalizer.php b/generated/Normalizer/BotsInfoGetResponse200BotNormalizer.php index 5f8b0bb8..adb54125 100644 --- a/generated/Normalizer/BotsInfoGetResponse200BotNormalizer.php +++ b/generated/Normalizer/BotsInfoGetResponse200BotNormalizer.php @@ -56,39 +56,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['deleted'] = (bool) $data['deleted']; } if (\array_key_exists('app_id', $data) && null !== $data['app_id']) { - $object->setAppId($data['app_id']); - } elseif (\array_key_exists('app_id', $data) && null === $data['app_id']) { - $object->setAppId(null); + $object->appId = $data['app_id']; + } elseif (\array_key_exists('app_id', $data)) { + $object->appId = null; } if (\array_key_exists('deleted', $data) && null !== $data['deleted']) { - $object->setDeleted($data['deleted']); - } elseif (\array_key_exists('deleted', $data) && null === $data['deleted']) { - $object->setDeleted(null); + $object->deleted = $data['deleted']; + } elseif (\array_key_exists('deleted', $data)) { + $object->deleted = null; } if (\array_key_exists('icons', $data) && null !== $data['icons']) { - $object->setIcons($this->denormalizer->denormalize($data['icons'], \JoliCode\Slack\Api\Model\BotsInfoGetResponse200BotIcons::class, 'json', $context)); - } elseif (\array_key_exists('icons', $data) && null === $data['icons']) { - $object->setIcons(null); + $object->icons = $this->denormalizer->denormalize($data['icons'], \JoliCode\Slack\Api\Model\BotsInfoGetResponse200BotIcons::class, 'json', $context); + } elseif (\array_key_exists('icons', $data)) { + $object->icons = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('updated', $data) && null !== $data['updated']) { - $object->setUpdated($data['updated']); - } elseif (\array_key_exists('updated', $data) && null === $data['updated']) { - $object->setUpdated(null); + $object->updated = $data['updated']; + } elseif (\array_key_exists('updated', $data)) { + $object->updated = null; } if (\array_key_exists('user_id', $data) && null !== $data['user_id']) { - $object->setUserId($data['user_id']); - } elseif (\array_key_exists('user_id', $data) && null === $data['user_id']) { - $object->setUserId(null); + $object->userId = $data['user_id']; + } elseif (\array_key_exists('user_id', $data)) { + $object->userId = null; } return $object; @@ -97,14 +97,15 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['app_id'] = $data->getAppId(); - $dataArray['deleted'] = $data->getDeleted(); - $dataArray['icons'] = null === $data->getIcons() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getIcons(), 'json', $context)); - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); - $dataArray['updated'] = $data->getUpdated(); - if ($data->isInitialized('userId') && null !== $data->getUserId()) { - $dataArray['user_id'] = $data->getUserId(); + $dataArray['app_id'] = $data->appId; + $dataArray['deleted'] = $data->deleted; + $normalized = null === $data->icons ? null : $this->normalizer->normalize($data->icons, 'json', $context); + $dataArray['icons'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; + $dataArray['updated'] = $data->updated; + if (\array_key_exists('userId', get_object_vars($data)) && null !== ($data->userId ?? null)) { + $dataArray['user_id'] = $data->userId; } return $dataArray; diff --git a/generated/Normalizer/BotsInfoGetResponse200Normalizer.php b/generated/Normalizer/BotsInfoGetResponse200Normalizer.php index 1232e931..be56ac95 100644 --- a/generated/Normalizer/BotsInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/BotsInfoGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('bot', $data) && null !== $data['bot']) { - $object->setBot($this->denormalizer->denormalize($data['bot'], \JoliCode\Slack\Api\Model\BotsInfoGetResponse200Bot::class, 'json', $context)); - } elseif (\array_key_exists('bot', $data) && null === $data['bot']) { - $object->setBot(null); + $object->bot = $this->denormalizer->denormalize($data['bot'], \JoliCode\Slack\Api\Model\BotsInfoGetResponse200Bot::class, 'json', $context); + } elseif (\array_key_exists('bot', $data)) { + $object->bot = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['bot'] = null === $data->getBot() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getBot(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->bot ? null : $this->normalizer->normalize($data->bot, 'json', $context); + $dataArray['bot'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/BotsInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/BotsInfoGetResponsedefaultNormalizer.php index 88b076d5..992358ce 100644 --- a/generated/Normalizer/BotsInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/BotsInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/CallsAddPostResponse200Normalizer.php b/generated/Normalizer/CallsAddPostResponse200Normalizer.php index 90b48de5..693031fb 100644 --- a/generated/Normalizer/CallsAddPostResponse200Normalizer.php +++ b/generated/Normalizer/CallsAddPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsAddPostResponsedefaultNormalizer.php b/generated/Normalizer/CallsAddPostResponsedefaultNormalizer.php index a45ba860..46652e47 100644 --- a/generated/Normalizer/CallsAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/CallsAddPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsEndPostResponse200Normalizer.php b/generated/Normalizer/CallsEndPostResponse200Normalizer.php index 6ab02982..fa06396f 100644 --- a/generated/Normalizer/CallsEndPostResponse200Normalizer.php +++ b/generated/Normalizer/CallsEndPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsEndPostResponsedefaultNormalizer.php b/generated/Normalizer/CallsEndPostResponsedefaultNormalizer.php index 21547271..97d29f99 100644 --- a/generated/Normalizer/CallsEndPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/CallsEndPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsInfoGetResponse200Normalizer.php b/generated/Normalizer/CallsInfoGetResponse200Normalizer.php index 7ce5a445..901bbff7 100644 --- a/generated/Normalizer/CallsInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/CallsInfoGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/CallsInfoGetResponsedefaultNormalizer.php index c3384236..69624d17 100644 --- a/generated/Normalizer/CallsInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/CallsInfoGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsParticipantsAddPostResponse200Normalizer.php b/generated/Normalizer/CallsParticipantsAddPostResponse200Normalizer.php index 4380cef0..749b80ed 100644 --- a/generated/Normalizer/CallsParticipantsAddPostResponse200Normalizer.php +++ b/generated/Normalizer/CallsParticipantsAddPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsParticipantsAddPostResponsedefaultNormalizer.php b/generated/Normalizer/CallsParticipantsAddPostResponsedefaultNormalizer.php index 0ff86cc2..660d2777 100644 --- a/generated/Normalizer/CallsParticipantsAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/CallsParticipantsAddPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsParticipantsRemovePostResponse200Normalizer.php b/generated/Normalizer/CallsParticipantsRemovePostResponse200Normalizer.php index 0292d834..475bec0a 100644 --- a/generated/Normalizer/CallsParticipantsRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/CallsParticipantsRemovePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsParticipantsRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/CallsParticipantsRemovePostResponsedefaultNormalizer.php index c8fb059d..88e4088b 100644 --- a/generated/Normalizer/CallsParticipantsRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/CallsParticipantsRemovePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsUpdatePostResponse200Normalizer.php b/generated/Normalizer/CallsUpdatePostResponse200Normalizer.php index f94f7134..6ef5bdac 100644 --- a/generated/Normalizer/CallsUpdatePostResponse200Normalizer.php +++ b/generated/Normalizer/CallsUpdatePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/CallsUpdatePostResponsedefaultNormalizer.php b/generated/Normalizer/CallsUpdatePostResponsedefaultNormalizer.php index f22b383c..08be3ab0 100644 --- a/generated/Normalizer/CallsUpdatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/CallsUpdatePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ChatDeletePostResponse200Normalizer.php b/generated/Normalizer/ChatDeletePostResponse200Normalizer.php index c7768134..1728a211 100644 --- a/generated/Normalizer/ChatDeletePostResponse200Normalizer.php +++ b/generated/Normalizer/ChatDeletePostResponse200Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } return $object; @@ -77,9 +77,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['ok'] = $data->getOk(); - $dataArray['ts'] = $data->getTs(); + $dataArray['channel'] = $data->channel; + $dataArray['ok'] = $data->ok; + $dataArray['ts'] = $data->ts; return $dataArray; } diff --git a/generated/Normalizer/ChatDeletePostResponsedefaultNormalizer.php b/generated/Normalizer/ChatDeletePostResponsedefaultNormalizer.php index b967eaac..b17eeb74 100644 --- a/generated/Normalizer/ChatDeletePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatDeletePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatDeleteScheduledMessagePostResponse200Normalizer.php b/generated/Normalizer/ChatDeleteScheduledMessagePostResponse200Normalizer.php index aade045a..15c1b0bb 100644 --- a/generated/Normalizer/ChatDeleteScheduledMessagePostResponse200Normalizer.php +++ b/generated/Normalizer/ChatDeleteScheduledMessagePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatDeleteScheduledMessagePostResponsedefaultNormalizer.php b/generated/Normalizer/ChatDeleteScheduledMessagePostResponsedefaultNormalizer.php index 72ff95cb..831b4ab4 100644 --- a/generated/Normalizer/ChatDeleteScheduledMessagePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatDeleteScheduledMessagePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatGetPermalinkGetResponse200Normalizer.php b/generated/Normalizer/ChatGetPermalinkGetResponse200Normalizer.php index 0741f943..e96f9e35 100644 --- a/generated/Normalizer/ChatGetPermalinkGetResponse200Normalizer.php +++ b/generated/Normalizer/ChatGetPermalinkGetResponse200Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('permalink', $data) && null !== $data['permalink']) { - $object->setPermalink($data['permalink']); - } elseif (\array_key_exists('permalink', $data) && null === $data['permalink']) { - $object->setPermalink(null); + $object->permalink = $data['permalink']; + } elseif (\array_key_exists('permalink', $data)) { + $object->permalink = null; } return $object; @@ -77,9 +77,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['ok'] = $data->getOk(); - $dataArray['permalink'] = $data->getPermalink(); + $dataArray['channel'] = $data->channel; + $dataArray['ok'] = $data->ok; + $dataArray['permalink'] = $data->permalink; return $dataArray; } diff --git a/generated/Normalizer/ChatGetPermalinkGetResponsedefaultNormalizer.php b/generated/Normalizer/ChatGetPermalinkGetResponsedefaultNormalizer.php index 205d691d..93ab82a0 100644 --- a/generated/Normalizer/ChatGetPermalinkGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatGetPermalinkGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatMeMessagePostResponse200Normalizer.php b/generated/Normalizer/ChatMeMessagePostResponse200Normalizer.php index 10ec55b4..dedac5ec 100644 --- a/generated/Normalizer/ChatMeMessagePostResponse200Normalizer.php +++ b/generated/Normalizer/ChatMeMessagePostResponse200Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } return $object; @@ -77,12 +77,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('channel') && null !== $data->getChannel()) { - $dataArray['channel'] = $data->getChannel(); + if (\array_key_exists('channel', get_object_vars($data)) && null !== ($data->channel ?? null)) { + $dataArray['channel'] = $data->channel; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('ts') && null !== $data->getTs()) { - $dataArray['ts'] = $data->getTs(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('ts', get_object_vars($data)) && null !== ($data->ts ?? null)) { + $dataArray['ts'] = $data->ts; } return $dataArray; diff --git a/generated/Normalizer/ChatMeMessagePostResponsedefaultNormalizer.php b/generated/Normalizer/ChatMeMessagePostResponsedefaultNormalizer.php index 75f844ab..3078c9dc 100644 --- a/generated/Normalizer/ChatMeMessagePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatMeMessagePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatPostEphemeralPostResponse200Normalizer.php b/generated/Normalizer/ChatPostEphemeralPostResponse200Normalizer.php index 3b22fbcf..545396f7 100644 --- a/generated/Normalizer/ChatPostEphemeralPostResponse200Normalizer.php +++ b/generated/Normalizer/ChatPostEphemeralPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('message_ts', $data) && null !== $data['message_ts']) { - $object->setMessageTs($data['message_ts']); - } elseif (\array_key_exists('message_ts', $data) && null === $data['message_ts']) { - $object->setMessageTs(null); + $object->messageTs = $data['message_ts']; + } elseif (\array_key_exists('message_ts', $data)) { + $object->messageTs = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['message_ts'] = $data->getMessageTs(); - $dataArray['ok'] = $data->getOk(); + $dataArray['message_ts'] = $data->messageTs; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatPostEphemeralPostResponsedefaultNormalizer.php b/generated/Normalizer/ChatPostEphemeralPostResponsedefaultNormalizer.php index 6c94c4b1..29077d79 100644 --- a/generated/Normalizer/ChatPostEphemeralPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatPostEphemeralPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatPostMessagePostResponse200Normalizer.php b/generated/Normalizer/ChatPostMessagePostResponse200Normalizer.php index 5a09128b..b631b12a 100644 --- a/generated/Normalizer/ChatPostMessagePostResponse200Normalizer.php +++ b/generated/Normalizer/ChatPostMessagePostResponse200Normalizer.php @@ -56,24 +56,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('message', $data) && null !== $data['message']) { - $object->setMessage($this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context)); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { - $object->setMessage(null); + $object->message = $this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context); + } elseif (\array_key_exists('message', $data)) { + $object->message = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } return $object; @@ -82,10 +82,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['message'] = null === $data->getMessage() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMessage(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); - $dataArray['ts'] = $data->getTs(); + $dataArray['channel'] = $data->channel; + $normalized = null === $data->message ? null : $this->normalizer->normalize($data->message, 'json', $context); + $dataArray['message'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; + $dataArray['ts'] = $data->ts; return $dataArray; } diff --git a/generated/Normalizer/ChatPostMessagePostResponsedefaultNormalizer.php b/generated/Normalizer/ChatPostMessagePostResponsedefaultNormalizer.php index c0fd0638..2760d47f 100644 --- a/generated/Normalizer/ChatPostMessagePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatPostMessagePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatScheduleMessagePostResponse200MessageAttachmentsItemNormalizer.php b/generated/Normalizer/ChatScheduleMessagePostResponse200MessageAttachmentsItemNormalizer.php index bf8a3bde..7da206e9 100644 --- a/generated/Normalizer/ChatScheduleMessagePostResponse200MessageAttachmentsItemNormalizer.php +++ b/generated/Normalizer/ChatScheduleMessagePostResponse200MessageAttachmentsItemNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('fallback', $data) && null !== $data['fallback']) { - $object->setFallback($data['fallback']); - } elseif (\array_key_exists('fallback', $data) && null === $data['fallback']) { - $object->setFallback(null); + $object->fallback = $data['fallback']; + } elseif (\array_key_exists('fallback', $data)) { + $object->fallback = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } return $object; @@ -74,14 +74,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('fallback') && null !== $data->getFallback()) { - $dataArray['fallback'] = $data->getFallback(); + if (\array_key_exists('fallback', get_object_vars($data)) && null !== ($data->fallback ?? null)) { + $dataArray['fallback'] = $data->fallback; } - if ($data->isInitialized('id') && null !== $data->getId()) { - $dataArray['id'] = $data->getId(); + if (\array_key_exists('id', get_object_vars($data)) && null !== ($data->id ?? null)) { + $dataArray['id'] = $data->id; } - if ($data->isInitialized('text') && null !== $data->getText()) { - $dataArray['text'] = $data->getText(); + if (\array_key_exists('text', get_object_vars($data)) && null !== ($data->text ?? null)) { + $dataArray['text'] = $data->text; } return $dataArray; diff --git a/generated/Normalizer/ChatScheduleMessagePostResponse200MessageNormalizer.php b/generated/Normalizer/ChatScheduleMessagePostResponse200MessageNormalizer.php index 1fbba1e9..f2e6ea21 100644 --- a/generated/Normalizer/ChatScheduleMessagePostResponse200MessageNormalizer.php +++ b/generated/Normalizer/ChatScheduleMessagePostResponse200MessageNormalizer.php @@ -57,49 +57,49 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['attachments'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponse200MessageAttachmentsItem::class, 'json', $context); } - $object->setAttachments($values); - } elseif (\array_key_exists('attachments', $data) && null === $data['attachments']) { - $object->setAttachments(null); + $object->attachments = $values; + } elseif (\array_key_exists('attachments', $data)) { + $object->attachments = null; } if (\array_key_exists('bot_id', $data) && null !== $data['bot_id']) { - $object->setBotId($data['bot_id']); - } elseif (\array_key_exists('bot_id', $data) && null === $data['bot_id']) { - $object->setBotId(null); + $object->botId = $data['bot_id']; + } elseif (\array_key_exists('bot_id', $data)) { + $object->botId = null; } if (\array_key_exists('bot_profile', $data) && null !== $data['bot_profile']) { - $object->setBotProfile($this->denormalizer->denormalize($data['bot_profile'], \JoliCode\Slack\Api\Model\ObjsBotProfile::class, 'json', $context)); - } elseif (\array_key_exists('bot_profile', $data) && null === $data['bot_profile']) { - $object->setBotProfile(null); + $object->botProfile = $this->denormalizer->denormalize($data['bot_profile'], \JoliCode\Slack\Api\Model\ObjsBotProfile::class, 'json', $context); + } elseif (\array_key_exists('bot_profile', $data)) { + $object->botProfile = null; } if (\array_key_exists('subtype', $data) && null !== $data['subtype']) { - $object->setSubtype($data['subtype']); - } elseif (\array_key_exists('subtype', $data) && null === $data['subtype']) { - $object->setSubtype(null); + $object->subtype = $data['subtype']; + } elseif (\array_key_exists('subtype', $data)) { + $object->subtype = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('username', $data) && null !== $data['username']) { - $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { - $object->setUsername(null); + $object->username = $data['username']; + } elseif (\array_key_exists('username', $data)) { + $object->username = null; } return $object; @@ -108,26 +108,28 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('attachments') && null !== $data->getAttachments()) { + if (\array_key_exists('attachments', get_object_vars($data)) && null !== ($data->attachments ?? null)) { $values = []; - foreach ($data->getAttachments() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->attachments as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['attachments'] = $values; } - $dataArray['bot_id'] = $data->getBotId(); - if ($data->isInitialized('botProfile') && null !== $data->getBotProfile()) { - $dataArray['bot_profile'] = null === $data->getBotProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getBotProfile(), 'json', $context)); + $dataArray['bot_id'] = $data->botId; + if (\array_key_exists('botProfile', get_object_vars($data)) && null !== ($data->botProfile ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->botProfile, 'json', $context); + $dataArray['bot_profile'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } - if ($data->isInitialized('subtype') && null !== $data->getSubtype()) { - $dataArray['subtype'] = $data->getSubtype(); + if (\array_key_exists('subtype', get_object_vars($data)) && null !== ($data->subtype ?? null)) { + $dataArray['subtype'] = $data->subtype; } - $dataArray['team'] = $data->getTeam(); - $dataArray['text'] = $data->getText(); - $dataArray['type'] = $data->getType(); - $dataArray['user'] = $data->getUser(); - if ($data->isInitialized('username') && null !== $data->getUsername()) { - $dataArray['username'] = $data->getUsername(); + $dataArray['team'] = $data->team; + $dataArray['text'] = $data->text; + $dataArray['type'] = $data->type; + $dataArray['user'] = $data->user; + if (\array_key_exists('username', get_object_vars($data)) && null !== ($data->username ?? null)) { + $dataArray['username'] = $data->username; } return $dataArray; diff --git a/generated/Normalizer/ChatScheduleMessagePostResponse200Normalizer.php b/generated/Normalizer/ChatScheduleMessagePostResponse200Normalizer.php index 30373846..b472c97a 100644 --- a/generated/Normalizer/ChatScheduleMessagePostResponse200Normalizer.php +++ b/generated/Normalizer/ChatScheduleMessagePostResponse200Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('message', $data) && null !== $data['message']) { - $object->setMessage($this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponse200Message::class, 'json', $context)); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { - $object->setMessage(null); + $object->message = $this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ChatScheduleMessagePostResponse200Message::class, 'json', $context); + } elseif (\array_key_exists('message', $data)) { + $object->message = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('post_at', $data) && null !== $data['post_at']) { $value = $data['post_at']; @@ -77,14 +77,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a } elseif (\is_string($data['post_at'])) { $value = $data['post_at']; } - $object->setPostAt($value); - } elseif (\array_key_exists('post_at', $data) && null === $data['post_at']) { - $object->setPostAt(null); + $object->postAt = $value; + } elseif (\array_key_exists('post_at', $data)) { + $object->postAt = null; } if (\array_key_exists('scheduled_message_id', $data) && null !== $data['scheduled_message_id']) { - $object->setScheduledMessageId($data['scheduled_message_id']); - } elseif (\array_key_exists('scheduled_message_id', $data) && null === $data['scheduled_message_id']) { - $object->setScheduledMessageId(null); + $object->scheduledMessageId = $data['scheduled_message_id']; + } elseif (\array_key_exists('scheduled_message_id', $data)) { + $object->scheduledMessageId = null; } return $object; @@ -93,17 +93,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['message'] = null === $data->getMessage() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMessage(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); - $value = $data->getPostAt(); - if (\is_int($data->getPostAt())) { - $value = $data->getPostAt(); - } elseif (\is_string($data->getPostAt())) { - $value = $data->getPostAt(); + $dataArray['channel'] = $data->channel; + $normalized = null === $data->message ? null : $this->normalizer->normalize($data->message, 'json', $context); + $dataArray['message'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; + $value = $data->postAt; + if (\is_int($data->postAt)) { + $value = $data->postAt; + } elseif (\is_string($data->postAt)) { + $value = $data->postAt; } $dataArray['post_at'] = $value; - $dataArray['scheduled_message_id'] = $data->getScheduledMessageId(); + $dataArray['scheduled_message_id'] = $data->scheduledMessageId; return $dataArray; } diff --git a/generated/Normalizer/ChatScheduleMessagePostResponsedefaultNormalizer.php b/generated/Normalizer/ChatScheduleMessagePostResponsedefaultNormalizer.php index bc19ecce..b192eeb6 100644 --- a/generated/Normalizer/ChatScheduleMessagePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatScheduleMessagePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatScheduledMessagesListGetResponse200Normalizer.php b/generated/Normalizer/ChatScheduledMessagesListGetResponse200Normalizer.php index 08ff2ee0..ff0d5355 100644 --- a/generated/Normalizer/ChatScheduledMessagesListGetResponse200Normalizer.php +++ b/generated/Normalizer/ChatScheduledMessagesListGetResponse200Normalizer.php @@ -56,23 +56,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } if (\array_key_exists('scheduled_messages', $data) && null !== $data['scheduled_messages']) { $values = []; foreach ($data['scheduled_messages'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ChatScheduledMessagesListGetResponse200ScheduledMessagesItem::class, 'json', $context); } - $object->setScheduledMessages($values); - } elseif (\array_key_exists('scheduled_messages', $data) && null === $data['scheduled_messages']) { - $object->setScheduledMessages(null); + $object->scheduledMessages = $values; + } elseif (\array_key_exists('scheduled_messages', $data)) { + $object->scheduledMessages = null; } return $object; @@ -81,11 +81,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->responseMetadata ? null : $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; $values = []; - foreach ($data->getScheduledMessages() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->scheduledMessages as $value) { + $normalized_1 = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } $dataArray['scheduled_messages'] = $values; diff --git a/generated/Normalizer/ChatScheduledMessagesListGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/ChatScheduledMessagesListGetResponse200ResponseMetadataNormalizer.php index 3f201aef..9b4de723 100644 --- a/generated/Normalizer/ChatScheduledMessagesListGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/ChatScheduledMessagesListGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/ChatScheduledMessagesListGetResponse200ScheduledMessagesItemNormalizer.php b/generated/Normalizer/ChatScheduledMessagesListGetResponse200ScheduledMessagesItemNormalizer.php index a7398626..5bb11aa8 100644 --- a/generated/Normalizer/ChatScheduledMessagesListGetResponse200ScheduledMessagesItemNormalizer.php +++ b/generated/Normalizer/ChatScheduledMessagesListGetResponse200ScheduledMessagesItemNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel_id', $data) && null !== $data['channel_id']) { - $object->setChannelId($data['channel_id']); - } elseif (\array_key_exists('channel_id', $data) && null === $data['channel_id']) { - $object->setChannelId(null); + $object->channelId = $data['channel_id']; + } elseif (\array_key_exists('channel_id', $data)) { + $object->channelId = null; } if (\array_key_exists('date_created', $data) && null !== $data['date_created']) { - $object->setDateCreated($data['date_created']); - } elseif (\array_key_exists('date_created', $data) && null === $data['date_created']) { - $object->setDateCreated(null); + $object->dateCreated = $data['date_created']; + } elseif (\array_key_exists('date_created', $data)) { + $object->dateCreated = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('post_at', $data) && null !== $data['post_at']) { $value = $data['post_at']; @@ -74,14 +74,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a } elseif (\is_string($data['post_at'])) { $value = $data['post_at']; } - $object->setPostAt($value); - } elseif (\array_key_exists('post_at', $data) && null === $data['post_at']) { - $object->setPostAt(null); + $object->postAt = $value; + } elseif (\array_key_exists('post_at', $data)) { + $object->postAt = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } return $object; @@ -90,18 +90,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel_id'] = $data->getChannelId(); - $dataArray['date_created'] = $data->getDateCreated(); - $dataArray['id'] = $data->getId(); - $value = $data->getPostAt(); - if (\is_int($data->getPostAt())) { - $value = $data->getPostAt(); - } elseif (\is_string($data->getPostAt())) { - $value = $data->getPostAt(); + $dataArray['channel_id'] = $data->channelId; + $dataArray['date_created'] = $data->dateCreated; + $dataArray['id'] = $data->id; + $value = $data->postAt; + if (\is_int($data->postAt)) { + $value = $data->postAt; + } elseif (\is_string($data->postAt)) { + $value = $data->postAt; } $dataArray['post_at'] = $value; - if ($data->isInitialized('text') && null !== $data->getText()) { - $dataArray['text'] = $data->getText(); + if (\array_key_exists('text', get_object_vars($data)) && null !== ($data->text ?? null)) { + $dataArray['text'] = $data->text; } return $dataArray; diff --git a/generated/Normalizer/ChatScheduledMessagesListGetResponsedefaultNormalizer.php b/generated/Normalizer/ChatScheduledMessagesListGetResponsedefaultNormalizer.php index c1b5f807..e4cd9a1c 100644 --- a/generated/Normalizer/ChatScheduledMessagesListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatScheduledMessagesListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatUnfurlPostResponse200Normalizer.php b/generated/Normalizer/ChatUnfurlPostResponse200Normalizer.php index 482c1c99..128336b0 100644 --- a/generated/Normalizer/ChatUnfurlPostResponse200Normalizer.php +++ b/generated/Normalizer/ChatUnfurlPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatUnfurlPostResponsedefaultNormalizer.php b/generated/Normalizer/ChatUnfurlPostResponsedefaultNormalizer.php index 88a0ed09..253b6323 100644 --- a/generated/Normalizer/ChatUnfurlPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatUnfurlPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ChatUpdatePostResponse200MessageNormalizer.php b/generated/Normalizer/ChatUpdatePostResponse200MessageNormalizer.php index e5c98979..91bbef77 100644 --- a/generated/Normalizer/ChatUpdatePostResponse200MessageNormalizer.php +++ b/generated/Normalizer/ChatUpdatePostResponse200MessageNormalizer.php @@ -57,19 +57,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['attachments'] as $value) { $values[] = $value; } - $object->setAttachments($values); - } elseif (\array_key_exists('attachments', $data) && null === $data['attachments']) { - $object->setAttachments(null); + $object->attachments = $values; + } elseif (\array_key_exists('attachments', $data)) { + $object->attachments = null; } if (\array_key_exists('blocks', $data) && null !== $data['blocks']) { - $object->setBlocks($data['blocks']); - } elseif (\array_key_exists('blocks', $data) && null === $data['blocks']) { - $object->setBlocks(null); + $object->blocks = $data['blocks']; + } elseif (\array_key_exists('blocks', $data)) { + $object->blocks = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } return $object; @@ -78,17 +78,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('attachments') && null !== $data->getAttachments()) { + if (\array_key_exists('attachments', get_object_vars($data)) && null !== ($data->attachments ?? null)) { $values = []; - foreach ($data->getAttachments() as $value) { + foreach ($data->attachments as $value) { $values[] = $value; } $dataArray['attachments'] = $values; } - if ($data->isInitialized('blocks') && null !== $data->getBlocks()) { - $dataArray['blocks'] = $data->getBlocks(); + if (\array_key_exists('blocks', get_object_vars($data)) && null !== ($data->blocks ?? null)) { + $dataArray['blocks'] = $data->blocks; } - $dataArray['text'] = $data->getText(); + $dataArray['text'] = $data->text; return $dataArray; } diff --git a/generated/Normalizer/ChatUpdatePostResponse200Normalizer.php b/generated/Normalizer/ChatUpdatePostResponse200Normalizer.php index 0430bf70..7b73409b 100644 --- a/generated/Normalizer/ChatUpdatePostResponse200Normalizer.php +++ b/generated/Normalizer/ChatUpdatePostResponse200Normalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('message', $data) && null !== $data['message']) { - $object->setMessage($this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ChatUpdatePostResponse200Message::class, 'json', $context)); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { - $object->setMessage(null); + $object->message = $this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ChatUpdatePostResponse200Message::class, 'json', $context); + } elseif (\array_key_exists('message', $data)) { + $object->message = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } return $object; @@ -87,11 +87,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['message'] = null === $data->getMessage() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMessage(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); - $dataArray['text'] = $data->getText(); - $dataArray['ts'] = $data->getTs(); + $dataArray['channel'] = $data->channel; + $normalized = null === $data->message ? null : $this->normalizer->normalize($data->message, 'json', $context); + $dataArray['message'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; + $dataArray['text'] = $data->text; + $dataArray['ts'] = $data->ts; return $dataArray; } diff --git a/generated/Normalizer/ChatUpdatePostResponsedefaultNormalizer.php b/generated/Normalizer/ChatUpdatePostResponsedefaultNormalizer.php index 816b0d03..e875297b 100644 --- a/generated/Normalizer/ChatUpdatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ChatUpdatePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsArchivePostResponse200Normalizer.php b/generated/Normalizer/ConversationsArchivePostResponse200Normalizer.php index 51622b6a..652958ae 100644 --- a/generated/Normalizer/ConversationsArchivePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsArchivePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsArchivePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsArchivePostResponsedefaultNormalizer.php index d8fc0b6d..ca9fc33a 100644 --- a/generated/Normalizer/ConversationsArchivePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsArchivePostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsClosePostResponse200Normalizer.php b/generated/Normalizer/ConversationsClosePostResponse200Normalizer.php index ebc0def1..51c47702 100644 --- a/generated/Normalizer/ConversationsClosePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsClosePostResponse200Normalizer.php @@ -62,19 +62,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('already_closed', $data) && null !== $data['already_closed']) { - $object->setAlreadyClosed($data['already_closed']); - } elseif (\array_key_exists('already_closed', $data) && null === $data['already_closed']) { - $object->setAlreadyClosed(null); + $object->alreadyClosed = $data['already_closed']; + } elseif (\array_key_exists('already_closed', $data)) { + $object->alreadyClosed = null; } if (\array_key_exists('no_op', $data) && null !== $data['no_op']) { - $object->setNoOp($data['no_op']); - } elseif (\array_key_exists('no_op', $data) && null === $data['no_op']) { - $object->setNoOp(null); + $object->noOp = $data['no_op']; + } elseif (\array_key_exists('no_op', $data)) { + $object->noOp = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -83,13 +83,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('alreadyClosed') && null !== $data->getAlreadyClosed()) { - $dataArray['already_closed'] = $data->getAlreadyClosed(); + if (\array_key_exists('alreadyClosed', get_object_vars($data)) && null !== ($data->alreadyClosed ?? null)) { + $dataArray['already_closed'] = $data->alreadyClosed; } - if ($data->isInitialized('noOp') && null !== $data->getNoOp()) { - $dataArray['no_op'] = $data->getNoOp(); + if (\array_key_exists('noOp', get_object_vars($data)) && null !== ($data->noOp ?? null)) { + $dataArray['no_op'] = $data->noOp; } - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsClosePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsClosePostResponsedefaultNormalizer.php index ee79479d..9df8d69a 100644 --- a/generated/Normalizer/ConversationsClosePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsClosePostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsCreatePostResponse200Normalizer.php b/generated/Normalizer/ConversationsCreatePostResponse200Normalizer.php index 67be234b..7fd34f3b 100644 --- a/generated/Normalizer/ConversationsCreatePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsCreatePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsCreatePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsCreatePostResponsedefaultNormalizer.php index d18fa998..d8e99c1e 100644 --- a/generated/Normalizer/ConversationsCreatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsCreatePostResponsedefaultNormalizer.php @@ -56,34 +56,34 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('detail', $data) && null !== $data['detail']) { - $object->setDetail($data['detail']); - } elseif (\array_key_exists('detail', $data) && null === $data['detail']) { - $object->setDetail(null); + $object->detail = $data['detail']; + } elseif (\array_key_exists('detail', $data)) { + $object->detail = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -92,19 +92,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - if ($data->isInitialized('detail') && null !== $data->getDetail()) { - $dataArray['detail'] = $data->getDetail(); + if (\array_key_exists('detail', get_object_vars($data)) && null !== ($data->detail ?? null)) { + $dataArray['detail'] = $data->detail; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsHistoryGetResponse200Normalizer.php b/generated/Normalizer/ConversationsHistoryGetResponse200Normalizer.php index 854bd2b4..5d08944f 100644 --- a/generated/Normalizer/ConversationsHistoryGetResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsHistoryGetResponse200Normalizer.php @@ -59,43 +59,43 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel_actions_count', $data) && null !== $data['channel_actions_count']) { - $object->setChannelActionsCount($data['channel_actions_count']); - } elseif (\array_key_exists('channel_actions_count', $data) && null === $data['channel_actions_count']) { - $object->setChannelActionsCount(null); + $object->channelActionsCount = $data['channel_actions_count']; + } elseif (\array_key_exists('channel_actions_count', $data)) { + $object->channelActionsCount = null; } if (\array_key_exists('channel_actions_ts', $data) && null !== $data['channel_actions_ts']) { - $object->setChannelActionsTs($data['channel_actions_ts']); - } elseif (\array_key_exists('channel_actions_ts', $data) && null === $data['channel_actions_ts']) { - $object->setChannelActionsTs(null); + $object->channelActionsTs = $data['channel_actions_ts']; + } elseif (\array_key_exists('channel_actions_ts', $data)) { + $object->channelActionsTs = null; } if (\array_key_exists('has_more', $data) && null !== $data['has_more']) { - $object->setHasMore($data['has_more']); - } elseif (\array_key_exists('has_more', $data) && null === $data['has_more']) { - $object->setHasMore(null); + $object->hasMore = $data['has_more']; + } elseif (\array_key_exists('has_more', $data)) { + $object->hasMore = null; } if (\array_key_exists('messages', $data) && null !== $data['messages']) { $values = []; foreach ($data['messages'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context); } - $object->setMessages($values); - } elseif (\array_key_exists('messages', $data) && null === $data['messages']) { - $object->setMessages(null); + $object->messages = $values; + } elseif (\array_key_exists('messages', $data)) { + $object->messages = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('pin_count', $data) && null !== $data['pin_count']) { - $object->setPinCount($data['pin_count']); - } elseif (\array_key_exists('pin_count', $data) && null === $data['pin_count']) { - $object->setPinCount(null); + $object->pinCount = $data['pin_count']; + } elseif (\array_key_exists('pin_count', $data)) { + $object->pinCount = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsHistoryGetResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsHistoryGetResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -104,18 +104,20 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel_actions_count'] = $data->getChannelActionsCount(); - $dataArray['channel_actions_ts'] = $data->getChannelActionsTs(); - $dataArray['has_more'] = $data->getHasMore(); + $dataArray['channel_actions_count'] = $data->channelActionsCount; + $dataArray['channel_actions_ts'] = $data->channelActionsTs; + $dataArray['has_more'] = $data->hasMore; $values = []; - foreach ($data->getMessages() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->messages as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['messages'] = $values; - $dataArray['ok'] = $data->getOk(); - $dataArray['pin_count'] = $data->getPinCount(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $dataArray['pin_count'] = $data->pinCount; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } return $dataArray; diff --git a/generated/Normalizer/ConversationsHistoryGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/ConversationsHistoryGetResponse200ResponseMetadataNormalizer.php index 202b4980..7600fb8b 100644 --- a/generated/Normalizer/ConversationsHistoryGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/ConversationsHistoryGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/ConversationsHistoryGetResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsHistoryGetResponsedefaultNormalizer.php index 0a93510b..2727b427 100644 --- a/generated/Normalizer/ConversationsHistoryGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsHistoryGetResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsInfoGetResponse200Normalizer.php b/generated/Normalizer/ConversationsInfoGetResponse200Normalizer.php index f13c40ec..f565efe0 100644 --- a/generated/Normalizer/ConversationsInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsInfoGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsInfoGetResponsedefaultNormalizer.php index 018caf5a..c1ca8c00 100644 --- a/generated/Normalizer/ConversationsInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsInfoGetResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsInvitePostResponse200Normalizer.php b/generated/Normalizer/ConversationsInvitePostResponse200Normalizer.php index d9b96d8e..8fa84978 100644 --- a/generated/Normalizer/ConversationsInvitePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsInvitePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsInvitePostResponsedefaultErrorsItemNormalizer.php b/generated/Normalizer/ConversationsInvitePostResponsedefaultErrorsItemNormalizer.php index ed884bf5..75347d52 100644 --- a/generated/Normalizer/ConversationsInvitePostResponsedefaultErrorsItemNormalizer.php +++ b/generated/Normalizer/ConversationsInvitePostResponsedefaultErrorsItemNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,10 +77,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('user') && null !== $data->getUser()) { - $dataArray['user'] = $data->getUser(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { + $dataArray['user'] = $data->user; } return $dataArray; diff --git a/generated/Normalizer/ConversationsInvitePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsInvitePostResponsedefaultNormalizer.php index dcbe1c2c..cbad9f94 100644 --- a/generated/Normalizer/ConversationsInvitePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsInvitePostResponsedefaultNormalizer.php @@ -56,38 +56,38 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('errors', $data) && null !== $data['errors']) { $values = []; foreach ($data['errors'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ConversationsInvitePostResponsedefaultErrorsItem::class, 'json', $context); } - $object->setErrors($values); - } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { - $object->setErrors(null); + $object->errors = $values; + } elseif (\array_key_exists('errors', $data)) { + $object->errors = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -96,25 +96,26 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - if ($data->isInitialized('error') && null !== $data->getError()) { - $dataArray['error'] = $data->getError(); + if (\array_key_exists('error', get_object_vars($data)) && null !== ($data->error ?? null)) { + $dataArray['error'] = $data->error; } - if ($data->isInitialized('errors') && null !== $data->getErrors()) { + if (\array_key_exists('errors', get_object_vars($data)) && null !== ($data->errors ?? null)) { $values = []; - foreach ($data->getErrors() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->errors as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['errors'] = $values; } - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsJoinPostResponse200Normalizer.php b/generated/Normalizer/ConversationsJoinPostResponse200Normalizer.php index d688624f..7106b39f 100644 --- a/generated/Normalizer/ConversationsJoinPostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsJoinPostResponse200Normalizer.php @@ -56,24 +56,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsJoinPostResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsJoinPostResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } if (\array_key_exists('warning', $data) && null !== $data['warning']) { - $object->setWarning($data['warning']); - } elseif (\array_key_exists('warning', $data) && null === $data['warning']) { - $object->setWarning(null); + $object->warning = $data['warning']; + } elseif (\array_key_exists('warning', $data)) { + $object->warning = null; } return $object; @@ -82,13 +82,15 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } - if ($data->isInitialized('warning') && null !== $data->getWarning()) { - $dataArray['warning'] = $data->getWarning(); + if (\array_key_exists('warning', get_object_vars($data)) && null !== ($data->warning ?? null)) { + $dataArray['warning'] = $data->warning; } return $dataArray; diff --git a/generated/Normalizer/ConversationsJoinPostResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/ConversationsJoinPostResponse200ResponseMetadataNormalizer.php index a11bee51..3d86df17 100644 --- a/generated/Normalizer/ConversationsJoinPostResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/ConversationsJoinPostResponse200ResponseMetadataNormalizer.php @@ -57,9 +57,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['warnings'] as $value) { $values[] = $value; } - $object->setWarnings($values); - } elseif (\array_key_exists('warnings', $data) && null === $data['warnings']) { - $object->setWarnings(null); + $object->warnings = $values; + } elseif (\array_key_exists('warnings', $data)) { + $object->warnings = null; } return $object; @@ -68,9 +68,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('warnings') && null !== $data->getWarnings()) { + if (\array_key_exists('warnings', get_object_vars($data)) && null !== ($data->warnings ?? null)) { $values = []; - foreach ($data->getWarnings() as $value) { + foreach ($data->warnings as $value) { $values[] = $value; } $dataArray['warnings'] = $values; diff --git a/generated/Normalizer/ConversationsJoinPostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsJoinPostResponsedefaultNormalizer.php index 396dd7a6..e6cf30c4 100644 --- a/generated/Normalizer/ConversationsJoinPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsJoinPostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsKickPostResponse200Normalizer.php b/generated/Normalizer/ConversationsKickPostResponse200Normalizer.php index 7e56eb9a..617c91a9 100644 --- a/generated/Normalizer/ConversationsKickPostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsKickPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsKickPostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsKickPostResponsedefaultNormalizer.php index 0930c09d..5c69b814 100644 --- a/generated/Normalizer/ConversationsKickPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsKickPostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsLeavePostResponse200Normalizer.php b/generated/Normalizer/ConversationsLeavePostResponse200Normalizer.php index 8b899ea9..2995eceb 100644 --- a/generated/Normalizer/ConversationsLeavePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsLeavePostResponse200Normalizer.php @@ -59,14 +59,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('not_in_channel', $data) && null !== $data['not_in_channel']) { - $object->setNotInChannel($data['not_in_channel']); - } elseif (\array_key_exists('not_in_channel', $data) && null === $data['not_in_channel']) { - $object->setNotInChannel(null); + $object->notInChannel = $data['not_in_channel']; + } elseif (\array_key_exists('not_in_channel', $data)) { + $object->notInChannel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -75,10 +75,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('notInChannel') && null !== $data->getNotInChannel()) { - $dataArray['not_in_channel'] = $data->getNotInChannel(); + if (\array_key_exists('notInChannel', get_object_vars($data)) && null !== ($data->notInChannel ?? null)) { + $dataArray['not_in_channel'] = $data->notInChannel; } - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsLeavePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsLeavePostResponsedefaultNormalizer.php index 239fe262..aabcac20 100644 --- a/generated/Normalizer/ConversationsLeavePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsLeavePostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsListGetResponse200Normalizer.php b/generated/Normalizer/ConversationsListGetResponse200Normalizer.php index 9c5390b6..ba13d439 100644 --- a/generated/Normalizer/ConversationsListGetResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsListGetResponse200Normalizer.php @@ -60,19 +60,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['channels'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); } - $object->setChannels($values); - } elseif (\array_key_exists('channels', $data) && null === $data['channels']) { - $object->setChannels(null); + $object->channels = $values; + } elseif (\array_key_exists('channels', $data)) { + $object->channels = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsListGetResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsListGetResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -82,13 +82,15 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getChannels() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->channels as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['channels'] = $values; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } return $dataArray; diff --git a/generated/Normalizer/ConversationsListGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/ConversationsListGetResponse200ResponseMetadataNormalizer.php index 2ce57d1f..61edae71 100644 --- a/generated/Normalizer/ConversationsListGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/ConversationsListGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/ConversationsListGetResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsListGetResponsedefaultNormalizer.php index 8b59810c..59932107 100644 --- a/generated/Normalizer/ConversationsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsListGetResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsMarkPostResponse200Normalizer.php b/generated/Normalizer/ConversationsMarkPostResponse200Normalizer.php index a83a626d..97303a58 100644 --- a/generated/Normalizer/ConversationsMarkPostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsMarkPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsMarkPostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsMarkPostResponsedefaultNormalizer.php index a6462b40..d1f71f68 100644 --- a/generated/Normalizer/ConversationsMarkPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsMarkPostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsMembersGetResponse200Normalizer.php b/generated/Normalizer/ConversationsMembersGetResponse200Normalizer.php index 0df1c570..594e18a5 100644 --- a/generated/Normalizer/ConversationsMembersGetResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsMembersGetResponse200Normalizer.php @@ -60,19 +60,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['members'] as $value) { $values[] = $value; } - $object->setMembers($values); - } elseif (\array_key_exists('members', $data) && null === $data['members']) { - $object->setMembers(null); + $object->members = $values; + } elseif (\array_key_exists('members', $data)) { + $object->members = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsMembersGetResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsMembersGetResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -82,12 +82,13 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getMembers() as $value) { + foreach ($data->members as $value) { $values[] = $value; } $dataArray['members'] = $values; - $dataArray['ok'] = $data->getOk(); - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->responseMetadata ? null : $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/ConversationsMembersGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/ConversationsMembersGetResponse200ResponseMetadataNormalizer.php index 53bfc22a..a5078700 100644 --- a/generated/Normalizer/ConversationsMembersGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/ConversationsMembersGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/ConversationsMembersGetResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsMembersGetResponsedefaultNormalizer.php index ffb9ce17..12fb68d0 100644 --- a/generated/Normalizer/ConversationsMembersGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsMembersGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsOpenPostResponse200ChannelItem1Normalizer.php b/generated/Normalizer/ConversationsOpenPostResponse200ChannelItem1Normalizer.php index a66140b8..33f66474 100644 --- a/generated/Normalizer/ConversationsOpenPostResponse200ChannelItem1Normalizer.php +++ b/generated/Normalizer/ConversationsOpenPostResponse200ChannelItem1Normalizer.php @@ -65,49 +65,49 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_open'] = (bool) $data['is_open']; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_im', $data) && null !== $data['is_im']) { - $object->setIsIm($data['is_im']); - } elseif (\array_key_exists('is_im', $data) && null === $data['is_im']) { - $object->setIsIm(null); + $object->isIm = $data['is_im']; + } elseif (\array_key_exists('is_im', $data)) { + $object->isIm = null; } if (\array_key_exists('is_open', $data) && null !== $data['is_open']) { - $object->setIsOpen($data['is_open']); - } elseif (\array_key_exists('is_open', $data) && null === $data['is_open']) { - $object->setIsOpen(null); + $object->isOpen = $data['is_open']; + } elseif (\array_key_exists('is_open', $data)) { + $object->isOpen = null; } if (\array_key_exists('last_read', $data) && null !== $data['last_read']) { - $object->setLastRead($data['last_read']); - } elseif (\array_key_exists('last_read', $data) && null === $data['last_read']) { - $object->setLastRead(null); + $object->lastRead = $data['last_read']; + } elseif (\array_key_exists('last_read', $data)) { + $object->lastRead = null; } if (\array_key_exists('latest', $data) && null !== $data['latest']) { - $object->setLatest($this->denormalizer->denormalize($data['latest'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context)); - } elseif (\array_key_exists('latest', $data) && null === $data['latest']) { - $object->setLatest(null); + $object->latest = $this->denormalizer->denormalize($data['latest'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context); + } elseif (\array_key_exists('latest', $data)) { + $object->latest = null; } if (\array_key_exists('unread_count', $data) && null !== $data['unread_count']) { - $object->setUnreadCount($data['unread_count']); - } elseif (\array_key_exists('unread_count', $data) && null === $data['unread_count']) { - $object->setUnreadCount(null); + $object->unreadCount = $data['unread_count']; + } elseif (\array_key_exists('unread_count', $data)) { + $object->unreadCount = null; } if (\array_key_exists('unread_count_display', $data) && null !== $data['unread_count_display']) { - $object->setUnreadCountDisplay($data['unread_count_display']); - } elseif (\array_key_exists('unread_count_display', $data) && null === $data['unread_count_display']) { - $object->setUnreadCountDisplay(null); + $object->unreadCountDisplay = $data['unread_count_display']; + } elseif (\array_key_exists('unread_count_display', $data)) { + $object->unreadCountDisplay = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -116,30 +116,31 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('created') && null !== $data->getCreated()) { - $dataArray['created'] = $data->getCreated(); + if (\array_key_exists('created', get_object_vars($data)) && null !== ($data->created ?? null)) { + $dataArray['created'] = $data->created; } - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('isIm') && null !== $data->getIsIm()) { - $dataArray['is_im'] = $data->getIsIm(); + $dataArray['id'] = $data->id; + if (\array_key_exists('isIm', get_object_vars($data)) && null !== ($data->isIm ?? null)) { + $dataArray['is_im'] = $data->isIm; } - if ($data->isInitialized('isOpen') && null !== $data->getIsOpen()) { - $dataArray['is_open'] = $data->getIsOpen(); + if (\array_key_exists('isOpen', get_object_vars($data)) && null !== ($data->isOpen ?? null)) { + $dataArray['is_open'] = $data->isOpen; } - if ($data->isInitialized('lastRead') && null !== $data->getLastRead()) { - $dataArray['last_read'] = $data->getLastRead(); + if (\array_key_exists('lastRead', get_object_vars($data)) && null !== ($data->lastRead ?? null)) { + $dataArray['last_read'] = $data->lastRead; } - if ($data->isInitialized('latest') && null !== $data->getLatest()) { - $dataArray['latest'] = null === $data->getLatest() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getLatest(), 'json', $context)); + if (\array_key_exists('latest', get_object_vars($data)) && null !== ($data->latest ?? null)) { + $normalized = $this->normalizer->normalize($data->latest, 'json', $context); + $dataArray['latest'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('unreadCount') && null !== $data->getUnreadCount()) { - $dataArray['unread_count'] = $data->getUnreadCount(); + if (\array_key_exists('unreadCount', get_object_vars($data)) && null !== ($data->unreadCount ?? null)) { + $dataArray['unread_count'] = $data->unreadCount; } - if ($data->isInitialized('unreadCountDisplay') && null !== $data->getUnreadCountDisplay()) { - $dataArray['unread_count_display'] = $data->getUnreadCountDisplay(); + if (\array_key_exists('unreadCountDisplay', get_object_vars($data)) && null !== ($data->unreadCountDisplay ?? null)) { + $dataArray['unread_count_display'] = $data->unreadCountDisplay; } - if ($data->isInitialized('user') && null !== $data->getUser()) { - $dataArray['user'] = $data->getUser(); + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { + $dataArray['user'] = $data->user; } return $dataArray; diff --git a/generated/Normalizer/ConversationsOpenPostResponse200Normalizer.php b/generated/Normalizer/ConversationsOpenPostResponse200Normalizer.php index abc8ced8..21ab819d 100644 --- a/generated/Normalizer/ConversationsOpenPostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsOpenPostResponse200Normalizer.php @@ -62,24 +62,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('already_open', $data) && null !== $data['already_open']) { - $object->setAlreadyOpen($data['already_open']); - } elseif (\array_key_exists('already_open', $data) && null === $data['already_open']) { - $object->setAlreadyOpen(null); + $object->alreadyOpen = $data['already_open']; + } elseif (\array_key_exists('already_open', $data)) { + $object->alreadyOpen = null; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('no_op', $data) && null !== $data['no_op']) { - $object->setNoOp($data['no_op']); - } elseif (\array_key_exists('no_op', $data) && null === $data['no_op']) { - $object->setNoOp(null); + $object->noOp = $data['no_op']; + } elseif (\array_key_exists('no_op', $data)) { + $object->noOp = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -88,14 +88,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('alreadyOpen') && null !== $data->getAlreadyOpen()) { - $dataArray['already_open'] = $data->getAlreadyOpen(); + if (\array_key_exists('alreadyOpen', get_object_vars($data)) && null !== ($data->alreadyOpen ?? null)) { + $dataArray['already_open'] = $data->alreadyOpen; } - $dataArray['channel'] = $data->getChannel(); - if ($data->isInitialized('noOp') && null !== $data->getNoOp()) { - $dataArray['no_op'] = $data->getNoOp(); + $dataArray['channel'] = $data->channel; + if (\array_key_exists('noOp', get_object_vars($data)) && null !== ($data->noOp ?? null)) { + $dataArray['no_op'] = $data->noOp; } - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsOpenPostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsOpenPostResponsedefaultNormalizer.php index f92b22f7..efe9774d 100644 --- a/generated/Normalizer/ConversationsOpenPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsOpenPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsRenamePostResponse200Normalizer.php b/generated/Normalizer/ConversationsRenamePostResponse200Normalizer.php index 9629d022..734e5616 100644 --- a/generated/Normalizer/ConversationsRenamePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsRenamePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsRenamePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsRenamePostResponsedefaultNormalizer.php index 6021f905..94ba4e6b 100644 --- a/generated/Normalizer/ConversationsRenamePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsRenamePostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem0Normalizer.php b/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem0Normalizer.php index e2ca992f..cecd516d 100644 --- a/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem0Normalizer.php +++ b/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem0Normalizer.php @@ -56,88 +56,88 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['subscribed'] = (bool) $data['subscribed']; } if (\array_key_exists('last_read', $data) && null !== $data['last_read']) { - $object->setLastRead($data['last_read']); - } elseif (\array_key_exists('last_read', $data) && null === $data['last_read']) { - $object->setLastRead(null); + $object->lastRead = $data['last_read']; + } elseif (\array_key_exists('last_read', $data)) { + $object->lastRead = null; } if (\array_key_exists('latest_reply', $data) && null !== $data['latest_reply']) { - $object->setLatestReply($data['latest_reply']); - } elseif (\array_key_exists('latest_reply', $data) && null === $data['latest_reply']) { - $object->setLatestReply(null); + $object->latestReply = $data['latest_reply']; + } elseif (\array_key_exists('latest_reply', $data)) { + $object->latestReply = null; } if (\array_key_exists('reply_count', $data) && null !== $data['reply_count']) { - $object->setReplyCount($data['reply_count']); - } elseif (\array_key_exists('reply_count', $data) && null === $data['reply_count']) { - $object->setReplyCount(null); + $object->replyCount = $data['reply_count']; + } elseif (\array_key_exists('reply_count', $data)) { + $object->replyCount = null; } if (\array_key_exists('reply_users', $data) && null !== $data['reply_users']) { $values = []; foreach ($data['reply_users'] as $value) { $values[] = $value; } - $object->setReplyUsers($values); - } elseif (\array_key_exists('reply_users', $data) && null === $data['reply_users']) { - $object->setReplyUsers(null); + $object->replyUsers = $values; + } elseif (\array_key_exists('reply_users', $data)) { + $object->replyUsers = null; } if (\array_key_exists('reply_users_count', $data) && null !== $data['reply_users_count']) { - $object->setReplyUsersCount($data['reply_users_count']); - } elseif (\array_key_exists('reply_users_count', $data) && null === $data['reply_users_count']) { - $object->setReplyUsersCount(null); + $object->replyUsersCount = $data['reply_users_count']; + } elseif (\array_key_exists('reply_users_count', $data)) { + $object->replyUsersCount = null; } if (\array_key_exists('source_team', $data) && null !== $data['source_team']) { - $object->setSourceTeam($data['source_team']); - } elseif (\array_key_exists('source_team', $data) && null === $data['source_team']) { - $object->setSourceTeam(null); + $object->sourceTeam = $data['source_team']; + } elseif (\array_key_exists('source_team', $data)) { + $object->sourceTeam = null; } if (\array_key_exists('subscribed', $data) && null !== $data['subscribed']) { - $object->setSubscribed($data['subscribed']); - } elseif (\array_key_exists('subscribed', $data) && null === $data['subscribed']) { - $object->setSubscribed(null); + $object->subscribed = $data['subscribed']; + } elseif (\array_key_exists('subscribed', $data)) { + $object->subscribed = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('thread_ts', $data) && null !== $data['thread_ts']) { - $object->setThreadTs($data['thread_ts']); - } elseif (\array_key_exists('thread_ts', $data) && null === $data['thread_ts']) { - $object->setThreadTs(null); + $object->threadTs = $data['thread_ts']; + } elseif (\array_key_exists('thread_ts', $data)) { + $object->threadTs = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('unread_count', $data) && null !== $data['unread_count']) { - $object->setUnreadCount($data['unread_count']); - } elseif (\array_key_exists('unread_count', $data) && null === $data['unread_count']) { - $object->setUnreadCount(null); + $object->unreadCount = $data['unread_count']; + } elseif (\array_key_exists('unread_count', $data)) { + $object->unreadCount = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('user_profile', $data) && null !== $data['user_profile']) { - $object->setUserProfile($this->denormalizer->denormalize($data['user_profile'], \JoliCode\Slack\Api\Model\ObjsUserProfileShort::class, 'json', $context)); - } elseif (\array_key_exists('user_profile', $data) && null === $data['user_profile']) { - $object->setUserProfile(null); + $object->userProfile = $this->denormalizer->denormalize($data['user_profile'], \JoliCode\Slack\Api\Model\ObjsUserProfileShort::class, 'json', $context); + } elseif (\array_key_exists('user_profile', $data)) { + $object->userProfile = null; } if (\array_key_exists('user_team', $data) && null !== $data['user_team']) { - $object->setUserTeam($data['user_team']); - } elseif (\array_key_exists('user_team', $data) && null === $data['user_team']) { - $object->setUserTeam(null); + $object->userTeam = $data['user_team']; + } elseif (\array_key_exists('user_team', $data)) { + $object->userTeam = null; } return $object; @@ -146,43 +146,44 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('lastRead') && null !== $data->getLastRead()) { - $dataArray['last_read'] = $data->getLastRead(); + if (\array_key_exists('lastRead', get_object_vars($data)) && null !== ($data->lastRead ?? null)) { + $dataArray['last_read'] = $data->lastRead; } - if ($data->isInitialized('latestReply') && null !== $data->getLatestReply()) { - $dataArray['latest_reply'] = $data->getLatestReply(); + if (\array_key_exists('latestReply', get_object_vars($data)) && null !== ($data->latestReply ?? null)) { + $dataArray['latest_reply'] = $data->latestReply; } - $dataArray['reply_count'] = $data->getReplyCount(); - if ($data->isInitialized('replyUsers') && null !== $data->getReplyUsers()) { + $dataArray['reply_count'] = $data->replyCount; + if (\array_key_exists('replyUsers', get_object_vars($data)) && null !== ($data->replyUsers ?? null)) { $values = []; - foreach ($data->getReplyUsers() as $value) { + foreach ($data->replyUsers as $value) { $values[] = $value; } $dataArray['reply_users'] = $values; } - if ($data->isInitialized('replyUsersCount') && null !== $data->getReplyUsersCount()) { - $dataArray['reply_users_count'] = $data->getReplyUsersCount(); + if (\array_key_exists('replyUsersCount', get_object_vars($data)) && null !== ($data->replyUsersCount ?? null)) { + $dataArray['reply_users_count'] = $data->replyUsersCount; } - if ($data->isInitialized('sourceTeam') && null !== $data->getSourceTeam()) { - $dataArray['source_team'] = $data->getSourceTeam(); + if (\array_key_exists('sourceTeam', get_object_vars($data)) && null !== ($data->sourceTeam ?? null)) { + $dataArray['source_team'] = $data->sourceTeam; } - $dataArray['subscribed'] = $data->getSubscribed(); - if ($data->isInitialized('team') && null !== $data->getTeam()) { - $dataArray['team'] = $data->getTeam(); + $dataArray['subscribed'] = $data->subscribed; + if (\array_key_exists('team', get_object_vars($data)) && null !== ($data->team ?? null)) { + $dataArray['team'] = $data->team; } - $dataArray['text'] = $data->getText(); - $dataArray['thread_ts'] = $data->getThreadTs(); - $dataArray['ts'] = $data->getTs(); - $dataArray['type'] = $data->getType(); - if ($data->isInitialized('unreadCount') && null !== $data->getUnreadCount()) { - $dataArray['unread_count'] = $data->getUnreadCount(); + $dataArray['text'] = $data->text; + $dataArray['thread_ts'] = $data->threadTs; + $dataArray['ts'] = $data->ts; + $dataArray['type'] = $data->type; + if (\array_key_exists('unreadCount', get_object_vars($data)) && null !== ($data->unreadCount ?? null)) { + $dataArray['unread_count'] = $data->unreadCount; } - $dataArray['user'] = $data->getUser(); - if ($data->isInitialized('userProfile') && null !== $data->getUserProfile()) { - $dataArray['user_profile'] = null === $data->getUserProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUserProfile(), 'json', $context)); + $dataArray['user'] = $data->user; + if (\array_key_exists('userProfile', get_object_vars($data)) && null !== ($data->userProfile ?? null)) { + $normalized = $this->normalizer->normalize($data->userProfile, 'json', $context); + $dataArray['user_profile'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('userTeam') && null !== $data->getUserTeam()) { - $dataArray['user_team'] = $data->getUserTeam(); + if (\array_key_exists('userTeam', get_object_vars($data)) && null !== ($data->userTeam ?? null)) { + $dataArray['user_team'] = $data->userTeam; } return $dataArray; diff --git a/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem1Normalizer.php b/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem1Normalizer.php index 0fcdf8ae..7585545a 100644 --- a/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem1Normalizer.php +++ b/generated/Normalizer/ConversationsRepliesGetResponse200MessagesItemItem1Normalizer.php @@ -56,59 +56,59 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_starred'] = (bool) $data['is_starred']; } if (\array_key_exists('is_starred', $data) && null !== $data['is_starred']) { - $object->setIsStarred($data['is_starred']); - } elseif (\array_key_exists('is_starred', $data) && null === $data['is_starred']) { - $object->setIsStarred(null); + $object->isStarred = $data['is_starred']; + } elseif (\array_key_exists('is_starred', $data)) { + $object->isStarred = null; } if (\array_key_exists('parent_user_id', $data) && null !== $data['parent_user_id']) { - $object->setParentUserId($data['parent_user_id']); - } elseif (\array_key_exists('parent_user_id', $data) && null === $data['parent_user_id']) { - $object->setParentUserId(null); + $object->parentUserId = $data['parent_user_id']; + } elseif (\array_key_exists('parent_user_id', $data)) { + $object->parentUserId = null; } if (\array_key_exists('source_team', $data) && null !== $data['source_team']) { - $object->setSourceTeam($data['source_team']); - } elseif (\array_key_exists('source_team', $data) && null === $data['source_team']) { - $object->setSourceTeam(null); + $object->sourceTeam = $data['source_team']; + } elseif (\array_key_exists('source_team', $data)) { + $object->sourceTeam = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('thread_ts', $data) && null !== $data['thread_ts']) { - $object->setThreadTs($data['thread_ts']); - } elseif (\array_key_exists('thread_ts', $data) && null === $data['thread_ts']) { - $object->setThreadTs(null); + $object->threadTs = $data['thread_ts']; + } elseif (\array_key_exists('thread_ts', $data)) { + $object->threadTs = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('user_profile', $data) && null !== $data['user_profile']) { - $object->setUserProfile($this->denormalizer->denormalize($data['user_profile'], \JoliCode\Slack\Api\Model\ObjsUserProfileShort::class, 'json', $context)); - } elseif (\array_key_exists('user_profile', $data) && null === $data['user_profile']) { - $object->setUserProfile(null); + $object->userProfile = $this->denormalizer->denormalize($data['user_profile'], \JoliCode\Slack\Api\Model\ObjsUserProfileShort::class, 'json', $context); + } elseif (\array_key_exists('user_profile', $data)) { + $object->userProfile = null; } if (\array_key_exists('user_team', $data) && null !== $data['user_team']) { - $object->setUserTeam($data['user_team']); - } elseif (\array_key_exists('user_team', $data) && null === $data['user_team']) { - $object->setUserTeam(null); + $object->userTeam = $data['user_team']; + } elseif (\array_key_exists('user_team', $data)) { + $object->userTeam = null; } return $object; @@ -117,26 +117,27 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('isStarred') && null !== $data->getIsStarred()) { - $dataArray['is_starred'] = $data->getIsStarred(); - } - $dataArray['parent_user_id'] = $data->getParentUserId(); - if ($data->isInitialized('sourceTeam') && null !== $data->getSourceTeam()) { - $dataArray['source_team'] = $data->getSourceTeam(); - } - if ($data->isInitialized('team') && null !== $data->getTeam()) { - $dataArray['team'] = $data->getTeam(); - } - $dataArray['text'] = $data->getText(); - $dataArray['thread_ts'] = $data->getThreadTs(); - $dataArray['ts'] = $data->getTs(); - $dataArray['type'] = $data->getType(); - $dataArray['user'] = $data->getUser(); - if ($data->isInitialized('userProfile') && null !== $data->getUserProfile()) { - $dataArray['user_profile'] = null === $data->getUserProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUserProfile(), 'json', $context)); - } - if ($data->isInitialized('userTeam') && null !== $data->getUserTeam()) { - $dataArray['user_team'] = $data->getUserTeam(); + if (\array_key_exists('isStarred', get_object_vars($data)) && null !== ($data->isStarred ?? null)) { + $dataArray['is_starred'] = $data->isStarred; + } + $dataArray['parent_user_id'] = $data->parentUserId; + if (\array_key_exists('sourceTeam', get_object_vars($data)) && null !== ($data->sourceTeam ?? null)) { + $dataArray['source_team'] = $data->sourceTeam; + } + if (\array_key_exists('team', get_object_vars($data)) && null !== ($data->team ?? null)) { + $dataArray['team'] = $data->team; + } + $dataArray['text'] = $data->text; + $dataArray['thread_ts'] = $data->threadTs; + $dataArray['ts'] = $data->ts; + $dataArray['type'] = $data->type; + $dataArray['user'] = $data->user; + if (\array_key_exists('userProfile', get_object_vars($data)) && null !== ($data->userProfile ?? null)) { + $normalized = $this->normalizer->normalize($data->userProfile, 'json', $context); + $dataArray['user_profile'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + } + if (\array_key_exists('userTeam', get_object_vars($data)) && null !== ($data->userTeam ?? null)) { + $dataArray['user_team'] = $data->userTeam; } return $dataArray; diff --git a/generated/Normalizer/ConversationsRepliesGetResponse200Normalizer.php b/generated/Normalizer/ConversationsRepliesGetResponse200Normalizer.php index cd46735a..7b6e21fc 100644 --- a/generated/Normalizer/ConversationsRepliesGetResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsRepliesGetResponse200Normalizer.php @@ -59,28 +59,28 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('has_more', $data) && null !== $data['has_more']) { - $object->setHasMore($data['has_more']); - } elseif (\array_key_exists('has_more', $data) && null === $data['has_more']) { - $object->setHasMore(null); + $object->hasMore = $data['has_more']; + } elseif (\array_key_exists('has_more', $data)) { + $object->hasMore = null; } if (\array_key_exists('messages', $data) && null !== $data['messages']) { $values = []; foreach ($data['messages'] as $value) { $values[] = $value; } - $object->setMessages($values); - } elseif (\array_key_exists('messages', $data) && null === $data['messages']) { - $object->setMessages(null); + $object->messages = $values; + } elseif (\array_key_exists('messages', $data)) { + $object->messages = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsRepliesGetResponse200ResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ConversationsRepliesGetResponse200ResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -89,17 +89,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('hasMore') && null !== $data->getHasMore()) { - $dataArray['has_more'] = $data->getHasMore(); + if (\array_key_exists('hasMore', get_object_vars($data)) && null !== ($data->hasMore ?? null)) { + $dataArray['has_more'] = $data->hasMore; } $values = []; - foreach ($data->getMessages() as $value) { + foreach ($data->messages as $value) { $values[] = $value; } $dataArray['messages'] = $values; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } return $dataArray; diff --git a/generated/Normalizer/ConversationsRepliesGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/ConversationsRepliesGetResponse200ResponseMetadataNormalizer.php index 533b5c94..fc04dfa4 100644 --- a/generated/Normalizer/ConversationsRepliesGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/ConversationsRepliesGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/ConversationsRepliesGetResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsRepliesGetResponsedefaultNormalizer.php index ee60eb7b..f5c6017b 100644 --- a/generated/Normalizer/ConversationsRepliesGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsRepliesGetResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsSetPurposePostResponse200Normalizer.php b/generated/Normalizer/ConversationsSetPurposePostResponse200Normalizer.php index 57f37f20..a5d25662 100644 --- a/generated/Normalizer/ConversationsSetPurposePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsSetPurposePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsSetPurposePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsSetPurposePostResponsedefaultNormalizer.php index 86b96e7c..18fb8345 100644 --- a/generated/Normalizer/ConversationsSetPurposePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsSetPurposePostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsSetTopicPostResponse200Normalizer.php b/generated/Normalizer/ConversationsSetTopicPostResponse200Normalizer.php index 60dd8f35..fa1ba2c0 100644 --- a/generated/Normalizer/ConversationsSetTopicPostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsSetTopicPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context)); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $this->denormalizer->denormalize($data['channel'], \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = null === $data->getChannel() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getChannel(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->channel ? null : $this->normalizer->normalize($data->channel, 'json', $context); + $dataArray['channel'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsSetTopicPostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsSetTopicPostResponsedefaultNormalizer.php index 90265cbb..ce32b88e 100644 --- a/generated/Normalizer/ConversationsSetTopicPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsSetTopicPostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/ConversationsUnarchivePostResponse200Normalizer.php b/generated/Normalizer/ConversationsUnarchivePostResponse200Normalizer.php index c02899f8..f7a5873a 100644 --- a/generated/Normalizer/ConversationsUnarchivePostResponse200Normalizer.php +++ b/generated/Normalizer/ConversationsUnarchivePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ConversationsUnarchivePostResponsedefaultNormalizer.php b/generated/Normalizer/ConversationsUnarchivePostResponsedefaultNormalizer.php index ee031b0e..5b40d093 100644 --- a/generated/Normalizer/ConversationsUnarchivePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ConversationsUnarchivePostResponsedefaultNormalizer.php @@ -56,29 +56,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('needed', $data) && null !== $data['needed']) { - $object->setNeeded($data['needed']); - } elseif (\array_key_exists('needed', $data) && null === $data['needed']) { - $object->setNeeded(null); + $object->needed = $data['needed']; + } elseif (\array_key_exists('needed', $data)) { + $object->needed = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('provided', $data) && null !== $data['provided']) { - $object->setProvided($data['provided']); - } elseif (\array_key_exists('provided', $data) && null === $data['provided']) { - $object->setProvided(null); + $object->provided = $data['provided']; + } elseif (\array_key_exists('provided', $data)) { + $object->provided = null; } return $object; @@ -87,16 +87,16 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - if ($data->isInitialized('needed') && null !== $data->getNeeded()) { - $dataArray['needed'] = $data->getNeeded(); + $dataArray['error'] = $data->error; + if (\array_key_exists('needed', get_object_vars($data)) && null !== ($data->needed ?? null)) { + $dataArray['needed'] = $data->needed; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('provided') && null !== $data->getProvided()) { - $dataArray['provided'] = $data->getProvided(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('provided', get_object_vars($data)) && null !== ($data->provided ?? null)) { + $dataArray['provided'] = $data->provided; } return $dataArray; diff --git a/generated/Normalizer/DialogOpenGetResponse200Normalizer.php b/generated/Normalizer/DialogOpenGetResponse200Normalizer.php index 145da61f..d9fd5d4a 100644 --- a/generated/Normalizer/DialogOpenGetResponse200Normalizer.php +++ b/generated/Normalizer/DialogOpenGetResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DialogOpenGetResponsedefaultNormalizer.php b/generated/Normalizer/DialogOpenGetResponsedefaultNormalizer.php index 1a5f8099..e6feff7c 100644 --- a/generated/Normalizer/DialogOpenGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/DialogOpenGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DndEndDndPostResponse200Normalizer.php b/generated/Normalizer/DndEndDndPostResponse200Normalizer.php index adcd6411..6b6f8b04 100644 --- a/generated/Normalizer/DndEndDndPostResponse200Normalizer.php +++ b/generated/Normalizer/DndEndDndPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DndEndDndPostResponsedefaultNormalizer.php b/generated/Normalizer/DndEndDndPostResponsedefaultNormalizer.php index 76eeaace..940c56a0 100644 --- a/generated/Normalizer/DndEndDndPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/DndEndDndPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DndEndSnoozePostResponse200Normalizer.php b/generated/Normalizer/DndEndSnoozePostResponse200Normalizer.php index a2a821e2..5e41254b 100644 --- a/generated/Normalizer/DndEndSnoozePostResponse200Normalizer.php +++ b/generated/Normalizer/DndEndSnoozePostResponse200Normalizer.php @@ -62,29 +62,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['snooze_enabled'] = (bool) $data['snooze_enabled']; } if (\array_key_exists('dnd_enabled', $data) && null !== $data['dnd_enabled']) { - $object->setDndEnabled($data['dnd_enabled']); - } elseif (\array_key_exists('dnd_enabled', $data) && null === $data['dnd_enabled']) { - $object->setDndEnabled(null); + $object->dndEnabled = $data['dnd_enabled']; + } elseif (\array_key_exists('dnd_enabled', $data)) { + $object->dndEnabled = null; } if (\array_key_exists('next_dnd_end_ts', $data) && null !== $data['next_dnd_end_ts']) { - $object->setNextDndEndTs($data['next_dnd_end_ts']); - } elseif (\array_key_exists('next_dnd_end_ts', $data) && null === $data['next_dnd_end_ts']) { - $object->setNextDndEndTs(null); + $object->nextDndEndTs = $data['next_dnd_end_ts']; + } elseif (\array_key_exists('next_dnd_end_ts', $data)) { + $object->nextDndEndTs = null; } if (\array_key_exists('next_dnd_start_ts', $data) && null !== $data['next_dnd_start_ts']) { - $object->setNextDndStartTs($data['next_dnd_start_ts']); - } elseif (\array_key_exists('next_dnd_start_ts', $data) && null === $data['next_dnd_start_ts']) { - $object->setNextDndStartTs(null); + $object->nextDndStartTs = $data['next_dnd_start_ts']; + } elseif (\array_key_exists('next_dnd_start_ts', $data)) { + $object->nextDndStartTs = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('snooze_enabled', $data) && null !== $data['snooze_enabled']) { - $object->setSnoozeEnabled($data['snooze_enabled']); - } elseif (\array_key_exists('snooze_enabled', $data) && null === $data['snooze_enabled']) { - $object->setSnoozeEnabled(null); + $object->snoozeEnabled = $data['snooze_enabled']; + } elseif (\array_key_exists('snooze_enabled', $data)) { + $object->snoozeEnabled = null; } return $object; @@ -93,11 +93,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['dnd_enabled'] = $data->getDndEnabled(); - $dataArray['next_dnd_end_ts'] = $data->getNextDndEndTs(); - $dataArray['next_dnd_start_ts'] = $data->getNextDndStartTs(); - $dataArray['ok'] = $data->getOk(); - $dataArray['snooze_enabled'] = $data->getSnoozeEnabled(); + $dataArray['dnd_enabled'] = $data->dndEnabled; + $dataArray['next_dnd_end_ts'] = $data->nextDndEndTs; + $dataArray['next_dnd_start_ts'] = $data->nextDndStartTs; + $dataArray['ok'] = $data->ok; + $dataArray['snooze_enabled'] = $data->snoozeEnabled; return $dataArray; } diff --git a/generated/Normalizer/DndEndSnoozePostResponsedefaultNormalizer.php b/generated/Normalizer/DndEndSnoozePostResponsedefaultNormalizer.php index 21cad960..eadcab18 100644 --- a/generated/Normalizer/DndEndSnoozePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/DndEndSnoozePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DndInfoGetResponse200Normalizer.php b/generated/Normalizer/DndInfoGetResponse200Normalizer.php index 416ef39a..dd053c12 100644 --- a/generated/Normalizer/DndInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/DndInfoGetResponse200Normalizer.php @@ -62,39 +62,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['snooze_enabled'] = (bool) $data['snooze_enabled']; } if (\array_key_exists('dnd_enabled', $data) && null !== $data['dnd_enabled']) { - $object->setDndEnabled($data['dnd_enabled']); - } elseif (\array_key_exists('dnd_enabled', $data) && null === $data['dnd_enabled']) { - $object->setDndEnabled(null); + $object->dndEnabled = $data['dnd_enabled']; + } elseif (\array_key_exists('dnd_enabled', $data)) { + $object->dndEnabled = null; } if (\array_key_exists('next_dnd_end_ts', $data) && null !== $data['next_dnd_end_ts']) { - $object->setNextDndEndTs($data['next_dnd_end_ts']); - } elseif (\array_key_exists('next_dnd_end_ts', $data) && null === $data['next_dnd_end_ts']) { - $object->setNextDndEndTs(null); + $object->nextDndEndTs = $data['next_dnd_end_ts']; + } elseif (\array_key_exists('next_dnd_end_ts', $data)) { + $object->nextDndEndTs = null; } if (\array_key_exists('next_dnd_start_ts', $data) && null !== $data['next_dnd_start_ts']) { - $object->setNextDndStartTs($data['next_dnd_start_ts']); - } elseif (\array_key_exists('next_dnd_start_ts', $data) && null === $data['next_dnd_start_ts']) { - $object->setNextDndStartTs(null); + $object->nextDndStartTs = $data['next_dnd_start_ts']; + } elseif (\array_key_exists('next_dnd_start_ts', $data)) { + $object->nextDndStartTs = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('snooze_enabled', $data) && null !== $data['snooze_enabled']) { - $object->setSnoozeEnabled($data['snooze_enabled']); - } elseif (\array_key_exists('snooze_enabled', $data) && null === $data['snooze_enabled']) { - $object->setSnoozeEnabled(null); + $object->snoozeEnabled = $data['snooze_enabled']; + } elseif (\array_key_exists('snooze_enabled', $data)) { + $object->snoozeEnabled = null; } if (\array_key_exists('snooze_endtime', $data) && null !== $data['snooze_endtime']) { - $object->setSnoozeEndtime($data['snooze_endtime']); - } elseif (\array_key_exists('snooze_endtime', $data) && null === $data['snooze_endtime']) { - $object->setSnoozeEndtime(null); + $object->snoozeEndtime = $data['snooze_endtime']; + } elseif (\array_key_exists('snooze_endtime', $data)) { + $object->snoozeEndtime = null; } if (\array_key_exists('snooze_remaining', $data) && null !== $data['snooze_remaining']) { - $object->setSnoozeRemaining($data['snooze_remaining']); - } elseif (\array_key_exists('snooze_remaining', $data) && null === $data['snooze_remaining']) { - $object->setSnoozeRemaining(null); + $object->snoozeRemaining = $data['snooze_remaining']; + } elseif (\array_key_exists('snooze_remaining', $data)) { + $object->snoozeRemaining = null; } return $object; @@ -103,18 +103,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['dnd_enabled'] = $data->getDndEnabled(); - $dataArray['next_dnd_end_ts'] = $data->getNextDndEndTs(); - $dataArray['next_dnd_start_ts'] = $data->getNextDndStartTs(); - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('snoozeEnabled') && null !== $data->getSnoozeEnabled()) { - $dataArray['snooze_enabled'] = $data->getSnoozeEnabled(); - } - if ($data->isInitialized('snoozeEndtime') && null !== $data->getSnoozeEndtime()) { - $dataArray['snooze_endtime'] = $data->getSnoozeEndtime(); - } - if ($data->isInitialized('snoozeRemaining') && null !== $data->getSnoozeRemaining()) { - $dataArray['snooze_remaining'] = $data->getSnoozeRemaining(); + $dataArray['dnd_enabled'] = $data->dndEnabled; + $dataArray['next_dnd_end_ts'] = $data->nextDndEndTs; + $dataArray['next_dnd_start_ts'] = $data->nextDndStartTs; + $dataArray['ok'] = $data->ok; + if (\array_key_exists('snoozeEnabled', get_object_vars($data)) && null !== ($data->snoozeEnabled ?? null)) { + $dataArray['snooze_enabled'] = $data->snoozeEnabled; + } + if (\array_key_exists('snoozeEndtime', get_object_vars($data)) && null !== ($data->snoozeEndtime ?? null)) { + $dataArray['snooze_endtime'] = $data->snoozeEndtime; + } + if (\array_key_exists('snoozeRemaining', get_object_vars($data)) && null !== ($data->snoozeRemaining ?? null)) { + $dataArray['snooze_remaining'] = $data->snoozeRemaining; } return $dataArray; diff --git a/generated/Normalizer/DndInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/DndInfoGetResponsedefaultNormalizer.php index e3341c84..776a1942 100644 --- a/generated/Normalizer/DndInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/DndInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DndSetSnoozePostResponse200Normalizer.php b/generated/Normalizer/DndSetSnoozePostResponse200Normalizer.php index f924e682..e0b730fb 100644 --- a/generated/Normalizer/DndSetSnoozePostResponse200Normalizer.php +++ b/generated/Normalizer/DndSetSnoozePostResponse200Normalizer.php @@ -59,24 +59,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['snooze_enabled'] = (bool) $data['snooze_enabled']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('snooze_enabled', $data) && null !== $data['snooze_enabled']) { - $object->setSnoozeEnabled($data['snooze_enabled']); - } elseif (\array_key_exists('snooze_enabled', $data) && null === $data['snooze_enabled']) { - $object->setSnoozeEnabled(null); + $object->snoozeEnabled = $data['snooze_enabled']; + } elseif (\array_key_exists('snooze_enabled', $data)) { + $object->snoozeEnabled = null; } if (\array_key_exists('snooze_endtime', $data) && null !== $data['snooze_endtime']) { - $object->setSnoozeEndtime($data['snooze_endtime']); - } elseif (\array_key_exists('snooze_endtime', $data) && null === $data['snooze_endtime']) { - $object->setSnoozeEndtime(null); + $object->snoozeEndtime = $data['snooze_endtime']; + } elseif (\array_key_exists('snooze_endtime', $data)) { + $object->snoozeEndtime = null; } if (\array_key_exists('snooze_remaining', $data) && null !== $data['snooze_remaining']) { - $object->setSnoozeRemaining($data['snooze_remaining']); - } elseif (\array_key_exists('snooze_remaining', $data) && null === $data['snooze_remaining']) { - $object->setSnoozeRemaining(null); + $object->snoozeRemaining = $data['snooze_remaining']; + } elseif (\array_key_exists('snooze_remaining', $data)) { + $object->snoozeRemaining = null; } return $object; @@ -85,10 +85,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['snooze_enabled'] = $data->getSnoozeEnabled(); - $dataArray['snooze_endtime'] = $data->getSnoozeEndtime(); - $dataArray['snooze_remaining'] = $data->getSnoozeRemaining(); + $dataArray['ok'] = $data->ok; + $dataArray['snooze_enabled'] = $data->snoozeEnabled; + $dataArray['snooze_endtime'] = $data->snoozeEndtime; + $dataArray['snooze_remaining'] = $data->snoozeRemaining; return $dataArray; } diff --git a/generated/Normalizer/DndSetSnoozePostResponsedefaultNormalizer.php b/generated/Normalizer/DndSetSnoozePostResponsedefaultNormalizer.php index 4f42c0a6..4811a984 100644 --- a/generated/Normalizer/DndSetSnoozePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/DndSetSnoozePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/DndTeamInfoGetResponse200Normalizer.php b/generated/Normalizer/DndTeamInfoGetResponse200Normalizer.php index 1d6a3da5..dadb4894 100644 --- a/generated/Normalizer/DndTeamInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/DndTeamInfoGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/DndTeamInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/DndTeamInfoGetResponsedefaultNormalizer.php index 2729bb74..ce31cc44 100644 --- a/generated/Normalizer/DndTeamInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/DndTeamInfoGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/EmojiListGetResponse200Normalizer.php b/generated/Normalizer/EmojiListGetResponse200Normalizer.php index 7f1e3bf8..87160674 100644 --- a/generated/Normalizer/EmojiListGetResponse200Normalizer.php +++ b/generated/Normalizer/EmojiListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/EmojiListGetResponsedefaultNormalizer.php b/generated/Normalizer/EmojiListGetResponsedefaultNormalizer.php index 040b2d7f..95bb04e9 100644 --- a/generated/Normalizer/EmojiListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/EmojiListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesCommentsDeletePostResponse200Normalizer.php b/generated/Normalizer/FilesCommentsDeletePostResponse200Normalizer.php index 7fd2d6e9..c2a19934 100644 --- a/generated/Normalizer/FilesCommentsDeletePostResponse200Normalizer.php +++ b/generated/Normalizer/FilesCommentsDeletePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesCommentsDeletePostResponsedefaultNormalizer.php b/generated/Normalizer/FilesCommentsDeletePostResponsedefaultNormalizer.php index 526e22ca..fe14894e 100644 --- a/generated/Normalizer/FilesCommentsDeletePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesCommentsDeletePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesCompleteUploadExternalPostResponse200FilesItemNormalizer.php b/generated/Normalizer/FilesCompleteUploadExternalPostResponse200FilesItemNormalizer.php index e7993ae3..ff22ca06 100644 --- a/generated/Normalizer/FilesCompleteUploadExternalPostResponse200FilesItemNormalizer.php +++ b/generated/Normalizer/FilesCompleteUploadExternalPostResponse200FilesItemNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('title', $data) && null !== $data['title']) { - $object->setTitle($data['title']); - } elseif (\array_key_exists('title', $data) && null === $data['title']) { - $object->setTitle(null); + $object->title = $data['title']; + } elseif (\array_key_exists('title', $data)) { + $object->title = null; } return $object; @@ -69,11 +69,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('id') && null !== $data->getId()) { - $dataArray['id'] = $data->getId(); + if (\array_key_exists('id', get_object_vars($data)) && null !== ($data->id ?? null)) { + $dataArray['id'] = $data->id; } - if ($data->isInitialized('title') && null !== $data->getTitle()) { - $dataArray['title'] = $data->getTitle(); + if (\array_key_exists('title', get_object_vars($data)) && null !== ($data->title ?? null)) { + $dataArray['title'] = $data->title; } return $dataArray; diff --git a/generated/Normalizer/FilesCompleteUploadExternalPostResponse200Normalizer.php b/generated/Normalizer/FilesCompleteUploadExternalPostResponse200Normalizer.php index 0ed3bae8..b7d2497e 100644 --- a/generated/Normalizer/FilesCompleteUploadExternalPostResponse200Normalizer.php +++ b/generated/Normalizer/FilesCompleteUploadExternalPostResponse200Normalizer.php @@ -60,14 +60,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['files'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponse200FilesItem::class, 'json', $context); } - $object->setFiles($values); - } elseif (\array_key_exists('files', $data) && null === $data['files']) { - $object->setFiles(null); + $object->files = $values; + } elseif (\array_key_exists('files', $data)) { + $object->files = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,12 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getFiles() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->files as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['files'] = $values; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesCompleteUploadExternalPostResponsedefaultNormalizer.php b/generated/Normalizer/FilesCompleteUploadExternalPostResponsedefaultNormalizer.php index cf4fd566..035bd4f5 100644 --- a/generated/Normalizer/FilesCompleteUploadExternalPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesCompleteUploadExternalPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesDeletePostResponse200Normalizer.php b/generated/Normalizer/FilesDeletePostResponse200Normalizer.php index e9990512..3032ab3c 100644 --- a/generated/Normalizer/FilesDeletePostResponse200Normalizer.php +++ b/generated/Normalizer/FilesDeletePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesDeletePostResponsedefaultNormalizer.php b/generated/Normalizer/FilesDeletePostResponsedefaultNormalizer.php index 585967be..fe5e0e3c 100644 --- a/generated/Normalizer/FilesDeletePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesDeletePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesGetUploadURLExternalPostResponse200Normalizer.php b/generated/Normalizer/FilesGetUploadURLExternalPostResponse200Normalizer.php index 6d03258d..587ab794 100644 --- a/generated/Normalizer/FilesGetUploadURLExternalPostResponse200Normalizer.php +++ b/generated/Normalizer/FilesGetUploadURLExternalPostResponse200Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('file_id', $data) && null !== $data['file_id']) { - $object->setFileId($data['file_id']); - } elseif (\array_key_exists('file_id', $data) && null === $data['file_id']) { - $object->setFileId(null); + $object->fileId = $data['file_id']; + } elseif (\array_key_exists('file_id', $data)) { + $object->fileId = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('upload_url', $data) && null !== $data['upload_url']) { - $object->setUploadUrl($data['upload_url']); - } elseif (\array_key_exists('upload_url', $data) && null === $data['upload_url']) { - $object->setUploadUrl(null); + $object->uploadUrl = $data['upload_url']; + } elseif (\array_key_exists('upload_url', $data)) { + $object->uploadUrl = null; } return $object; @@ -77,9 +77,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['file_id'] = $data->getFileId(); - $dataArray['ok'] = $data->getOk(); - $dataArray['upload_url'] = $data->getUploadUrl(); + $dataArray['file_id'] = $data->fileId; + $dataArray['ok'] = $data->ok; + $dataArray['upload_url'] = $data->uploadUrl; return $dataArray; } diff --git a/generated/Normalizer/FilesGetUploadURLExternalPostResponsedefaultNormalizer.php b/generated/Normalizer/FilesGetUploadURLExternalPostResponsedefaultNormalizer.php index 6adc329a..fbd067c8 100644 --- a/generated/Normalizer/FilesGetUploadURLExternalPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesGetUploadURLExternalPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesInfoGetResponse200Normalizer.php b/generated/Normalizer/FilesInfoGetResponse200Normalizer.php index d66dd9f1..14c01781 100644 --- a/generated/Normalizer/FilesInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/FilesInfoGetResponse200Normalizer.php @@ -60,39 +60,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['comments'] as $value) { $values[] = $value; } - $object->setComments($values); - } elseif (\array_key_exists('comments', $data) && null === $data['comments']) { - $object->setComments(null); + $object->comments = $values; + } elseif (\array_key_exists('comments', $data)) { + $object->comments = null; } if (\array_key_exists('content_html', $data) && null !== $data['content_html']) { - $object->setContentHtml($data['content_html']); - } elseif (\array_key_exists('content_html', $data) && null === $data['content_html']) { - $object->setContentHtml(null); + $object->contentHtml = $data['content_html']; + } elseif (\array_key_exists('content_html', $data)) { + $object->contentHtml = null; } if (\array_key_exists('editor', $data) && null !== $data['editor']) { - $object->setEditor($data['editor']); - } elseif (\array_key_exists('editor', $data) && null === $data['editor']) { - $object->setEditor(null); + $object->editor = $data['editor']; + } elseif (\array_key_exists('editor', $data)) { + $object->editor = null; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('paging', $data) && null !== $data['paging']) { - $object->setPaging($this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context)); - } elseif (\array_key_exists('paging', $data) && null === $data['paging']) { - $object->setPaging(null); + $object->paging = $this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context); + } elseif (\array_key_exists('paging', $data)) { + $object->paging = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ObjsResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ObjsResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -102,23 +102,26 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getComments() as $value) { + foreach ($data->comments as $value) { $values[] = $value; } $dataArray['comments'] = $values; - if ($data->isInitialized('contentHtml') && null !== $data->getContentHtml()) { - $dataArray['content_html'] = $data->getContentHtml(); - } - if ($data->isInitialized('editor') && null !== $data->getEditor()) { - $dataArray['editor'] = $data->getEditor(); - } - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('paging') && null !== $data->getPaging()) { - $dataArray['paging'] = null === $data->getPaging() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPaging(), 'json', $context)); - } - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + if (\array_key_exists('contentHtml', get_object_vars($data)) && null !== ($data->contentHtml ?? null)) { + $dataArray['content_html'] = $data->contentHtml; + } + if (\array_key_exists('editor', get_object_vars($data)) && null !== ($data->editor ?? null)) { + $dataArray['editor'] = $data->editor; + } + $normalized = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; + if (\array_key_exists('paging', get_object_vars($data)) && null !== ($data->paging ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->paging, 'json', $context); + $dataArray['paging'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + } + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_2 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_2) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_2) : $normalized_2; } return $dataArray; diff --git a/generated/Normalizer/FilesInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/FilesInfoGetResponsedefaultNormalizer.php index b03f022e..5836aecb 100644 --- a/generated/Normalizer/FilesInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesListGetResponse200Normalizer.php b/generated/Normalizer/FilesListGetResponse200Normalizer.php index 0471486c..c5d93fcd 100644 --- a/generated/Normalizer/FilesListGetResponse200Normalizer.php +++ b/generated/Normalizer/FilesListGetResponse200Normalizer.php @@ -60,19 +60,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['files'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); } - $object->setFiles($values); - } elseif (\array_key_exists('files', $data) && null === $data['files']) { - $object->setFiles(null); + $object->files = $values; + } elseif (\array_key_exists('files', $data)) { + $object->files = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('paging', $data) && null !== $data['paging']) { - $object->setPaging($this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context)); - } elseif (\array_key_exists('paging', $data) && null === $data['paging']) { - $object->setPaging(null); + $object->paging = $this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context); + } elseif (\array_key_exists('paging', $data)) { + $object->paging = null; } return $object; @@ -82,12 +82,14 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getFiles() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->files as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['files'] = $values; - $dataArray['ok'] = $data->getOk(); - $dataArray['paging'] = null === $data->getPaging() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPaging(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized_1 = null === $data->paging ? null : $this->normalizer->normalize($data->paging, 'json', $context); + $dataArray['paging'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/FilesListGetResponsedefaultNormalizer.php b/generated/Normalizer/FilesListGetResponsedefaultNormalizer.php index f9086438..57e122d7 100644 --- a/generated/Normalizer/FilesListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesRemoteAddPostResponse200Normalizer.php b/generated/Normalizer/FilesRemoteAddPostResponse200Normalizer.php index 1639f445..27f29b41 100644 --- a/generated/Normalizer/FilesRemoteAddPostResponse200Normalizer.php +++ b/generated/Normalizer/FilesRemoteAddPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteAddPostResponsedefaultNormalizer.php b/generated/Normalizer/FilesRemoteAddPostResponsedefaultNormalizer.php index 709c4f3e..228d04a3 100644 --- a/generated/Normalizer/FilesRemoteAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRemoteAddPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteInfoGetResponse200Normalizer.php b/generated/Normalizer/FilesRemoteInfoGetResponse200Normalizer.php index 0526485f..744e51d0 100644 --- a/generated/Normalizer/FilesRemoteInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/FilesRemoteInfoGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/FilesRemoteInfoGetResponsedefaultNormalizer.php index e88a283e..93bc00e4 100644 --- a/generated/Normalizer/FilesRemoteInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRemoteInfoGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteListGetResponse200Normalizer.php b/generated/Normalizer/FilesRemoteListGetResponse200Normalizer.php index 6c0a735f..e1a89256 100644 --- a/generated/Normalizer/FilesRemoteListGetResponse200Normalizer.php +++ b/generated/Normalizer/FilesRemoteListGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteListGetResponsedefaultNormalizer.php b/generated/Normalizer/FilesRemoteListGetResponsedefaultNormalizer.php index b21e1f9b..a56b3db3 100644 --- a/generated/Normalizer/FilesRemoteListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRemoteListGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteRemovePostResponse200Normalizer.php b/generated/Normalizer/FilesRemoteRemovePostResponse200Normalizer.php index 5d1c12f6..c927a44f 100644 --- a/generated/Normalizer/FilesRemoteRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/FilesRemoteRemovePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/FilesRemoteRemovePostResponsedefaultNormalizer.php index b214ad78..cb78d466 100644 --- a/generated/Normalizer/FilesRemoteRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRemoteRemovePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteShareGetResponse200Normalizer.php b/generated/Normalizer/FilesRemoteShareGetResponse200Normalizer.php index 2249372a..5801102f 100644 --- a/generated/Normalizer/FilesRemoteShareGetResponse200Normalizer.php +++ b/generated/Normalizer/FilesRemoteShareGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteShareGetResponsedefaultNormalizer.php b/generated/Normalizer/FilesRemoteShareGetResponsedefaultNormalizer.php index 5666204a..6e7d6161 100644 --- a/generated/Normalizer/FilesRemoteShareGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRemoteShareGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteUpdatePostResponse200Normalizer.php b/generated/Normalizer/FilesRemoteUpdatePostResponse200Normalizer.php index 98470568..774ad2b5 100644 --- a/generated/Normalizer/FilesRemoteUpdatePostResponse200Normalizer.php +++ b/generated/Normalizer/FilesRemoteUpdatePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRemoteUpdatePostResponsedefaultNormalizer.php b/generated/Normalizer/FilesRemoteUpdatePostResponsedefaultNormalizer.php index 80288597..e52785b3 100644 --- a/generated/Normalizer/FilesRemoteUpdatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRemoteUpdatePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/FilesRevokePublicURLPostResponse200Normalizer.php b/generated/Normalizer/FilesRevokePublicURLPostResponse200Normalizer.php index e18f4edd..f28ad079 100644 --- a/generated/Normalizer/FilesRevokePublicURLPostResponse200Normalizer.php +++ b/generated/Normalizer/FilesRevokePublicURLPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesRevokePublicURLPostResponsedefaultNormalizer.php b/generated/Normalizer/FilesRevokePublicURLPostResponsedefaultNormalizer.php index 2d485924..1da717b3 100644 --- a/generated/Normalizer/FilesRevokePublicURLPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesRevokePublicURLPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesSharedPublicURLPostResponse200Normalizer.php b/generated/Normalizer/FilesSharedPublicURLPostResponse200Normalizer.php index 297962b5..d05be99f 100644 --- a/generated/Normalizer/FilesSharedPublicURLPostResponse200Normalizer.php +++ b/generated/Normalizer/FilesSharedPublicURLPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesSharedPublicURLPostResponsedefaultNormalizer.php b/generated/Normalizer/FilesSharedPublicURLPostResponsedefaultNormalizer.php index a9debda8..4da1a9f2 100644 --- a/generated/Normalizer/FilesSharedPublicURLPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesSharedPublicURLPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesUploadPostResponse200Normalizer.php b/generated/Normalizer/FilesUploadPostResponse200Normalizer.php index 5129cd4f..32cf2110 100644 --- a/generated/Normalizer/FilesUploadPostResponse200Normalizer.php +++ b/generated/Normalizer/FilesUploadPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['ok'] = $data->getOk(); + $normalized = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/FilesUploadPostResponsedefaultNormalizer.php b/generated/Normalizer/FilesUploadPostResponsedefaultNormalizer.php index 47956863..2788ae8d 100644 --- a/generated/Normalizer/FilesUploadPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/FilesUploadPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/JaneObjectNormalizer.php b/generated/Normalizer/JaneObjectNormalizer.php index 9dbcc63b..f37836f4 100644 --- a/generated/Normalizer/JaneObjectNormalizer.php +++ b/generated/Normalizer/JaneObjectNormalizer.php @@ -975,9 +975,468 @@ private function getNormalizer(string $normalizerClass) private function initNormalizer(string $normalizerClass) { - $normalizer = new $normalizerClass(); - $normalizer->setNormalizer($this->normalizer); - $normalizer->setDenormalizer($this->denormalizer); + $normalizer = match ($normalizerClass) { + BlocksItemNormalizer::class => new BlocksItemNormalizer(), + ObjsBotProfileNormalizer::class => new ObjsBotProfileNormalizer(), + ObjsBotProfileIconsNormalizer::class => new ObjsBotProfileIconsNormalizer(), + ObjsChannelNormalizer::class => new ObjsChannelNormalizer(), + ObjsChannelPurposeNormalizer::class => new ObjsChannelPurposeNormalizer(), + ObjsChannelTopicNormalizer::class => new ObjsChannelTopicNormalizer(), + ObjsCommentNormalizer::class => new ObjsCommentNormalizer(), + ObjsConversationNormalizer::class => new ObjsConversationNormalizer(), + ObjsConversationDisplayCountsNormalizer::class => new ObjsConversationDisplayCountsNormalizer(), + ObjsConversationPurposeNormalizer::class => new ObjsConversationPurposeNormalizer(), + ObjsConversationSharesItemNormalizer::class => new ObjsConversationSharesItemNormalizer(), + ObjsConversationTopicNormalizer::class => new ObjsConversationTopicNormalizer(), + ObjsEnterpriseUserNormalizer::class => new ObjsEnterpriseUserNormalizer(), + ObjsExternalOrgMigrationsNormalizer::class => new ObjsExternalOrgMigrationsNormalizer(), + ObjsExternalOrgMigrationsCurrentItemNormalizer::class => new ObjsExternalOrgMigrationsCurrentItemNormalizer(), + ObjsFileNormalizer::class => new ObjsFileNormalizer(), + ObjsFileSharesNormalizer::class => new ObjsFileSharesNormalizer(), + ObjsIconNormalizer::class => new ObjsIconNormalizer(), + ObjsMessageNormalizer::class => new ObjsMessageNormalizer(), + ObjsMessageAttachmentsItemNormalizer::class => new ObjsMessageAttachmentsItemNormalizer(), + ObjsMessageAttachmentsItemActionsItemNormalizer::class => new ObjsMessageAttachmentsItemActionsItemNormalizer(), + ObjsMessageAttachmentsItemFieldsItemNormalizer::class => new ObjsMessageAttachmentsItemFieldsItemNormalizer(), + ObjsMessageIconsNormalizer::class => new ObjsMessageIconsNormalizer(), + ObjsMetadataNormalizer::class => new ObjsMetadataNormalizer(), + ObjsPagingNormalizer::class => new ObjsPagingNormalizer(), + ObjsPrimaryOwnerNormalizer::class => new ObjsPrimaryOwnerNormalizer(), + ObjsReactionNormalizer::class => new ObjsReactionNormalizer(), + ObjsReminderNormalizer::class => new ObjsReminderNormalizer(), + ObjsResourcesNormalizer::class => new ObjsResourcesNormalizer(), + ObjsResponseMetadataNormalizer::class => new ObjsResponseMetadataNormalizer(), + ObjsSubteamNormalizer::class => new ObjsSubteamNormalizer(), + ObjsSubteamPrefsNormalizer::class => new ObjsSubteamPrefsNormalizer(), + ObjsTeamNormalizer::class => new ObjsTeamNormalizer(), + ObjsTeamSsoProviderNormalizer::class => new ObjsTeamSsoProviderNormalizer(), + ObjsTeamProfileFieldNormalizer::class => new ObjsTeamProfileFieldNormalizer(), + ObjsTeamProfileFieldOptionNormalizer::class => new ObjsTeamProfileFieldOptionNormalizer(), + ObjsUserNormalizer::class => new ObjsUserNormalizer(), + ObjsUserTeamProfileNormalizer::class => new ObjsUserTeamProfileNormalizer(), + ObjsUserProfileNormalizer::class => new ObjsUserProfileNormalizer(), + ObjsUserProfileShortNormalizer::class => new ObjsUserProfileShortNormalizer(), + AdminAppsApprovePostResponse200Normalizer::class => new AdminAppsApprovePostResponse200Normalizer(), + AdminAppsApprovePostResponsedefaultNormalizer::class => new AdminAppsApprovePostResponsedefaultNormalizer(), + AdminAppsApprovedListGetResponse200Normalizer::class => new AdminAppsApprovedListGetResponse200Normalizer(), + AdminAppsApprovedListGetResponsedefaultNormalizer::class => new AdminAppsApprovedListGetResponsedefaultNormalizer(), + AdminAppsRequestsListGetResponse200Normalizer::class => new AdminAppsRequestsListGetResponse200Normalizer(), + AdminAppsRequestsListGetResponsedefaultNormalizer::class => new AdminAppsRequestsListGetResponsedefaultNormalizer(), + AdminAppsRestrictPostResponse200Normalizer::class => new AdminAppsRestrictPostResponse200Normalizer(), + AdminAppsRestrictPostResponsedefaultNormalizer::class => new AdminAppsRestrictPostResponsedefaultNormalizer(), + AdminAppsRestrictedListGetResponse200Normalizer::class => new AdminAppsRestrictedListGetResponse200Normalizer(), + AdminAppsRestrictedListGetResponsedefaultNormalizer::class => new AdminAppsRestrictedListGetResponsedefaultNormalizer(), + AdminConversationsArchivePostResponse200Normalizer::class => new AdminConversationsArchivePostResponse200Normalizer(), + AdminConversationsArchivePostResponsedefaultNormalizer::class => new AdminConversationsArchivePostResponsedefaultNormalizer(), + AdminConversationsConvertToPrivatePostResponse200Normalizer::class => new AdminConversationsConvertToPrivatePostResponse200Normalizer(), + AdminConversationsConvertToPrivatePostResponsedefaultNormalizer::class => new AdminConversationsConvertToPrivatePostResponsedefaultNormalizer(), + AdminConversationsCreatePostResponse200Normalizer::class => new AdminConversationsCreatePostResponse200Normalizer(), + AdminConversationsCreatePostResponsedefaultNormalizer::class => new AdminConversationsCreatePostResponsedefaultNormalizer(), + AdminConversationsDeletePostResponse200Normalizer::class => new AdminConversationsDeletePostResponse200Normalizer(), + AdminConversationsDeletePostResponsedefaultNormalizer::class => new AdminConversationsDeletePostResponsedefaultNormalizer(), + AdminConversationsDisconnectSharedPostResponse200Normalizer::class => new AdminConversationsDisconnectSharedPostResponse200Normalizer(), + AdminConversationsDisconnectSharedPostResponsedefaultNormalizer::class => new AdminConversationsDisconnectSharedPostResponsedefaultNormalizer(), + AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200Normalizer::class => new AdminConversationsEkmListOriginalConnectedChannelInfoGetResponse200Normalizer(), + AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefaultNormalizer::class => new AdminConversationsEkmListOriginalConnectedChannelInfoGetResponsedefaultNormalizer(), + AdminConversationsGetConversationPrefsGetResponse200Normalizer::class => new AdminConversationsGetConversationPrefsGetResponse200Normalizer(), + AdminConversationsGetConversationPrefsGetResponse200PrefsNormalizer::class => new AdminConversationsGetConversationPrefsGetResponse200PrefsNormalizer(), + AdminConversationsGetConversationPrefsGetResponse200PrefsCanThreadNormalizer::class => new AdminConversationsGetConversationPrefsGetResponse200PrefsCanThreadNormalizer(), + AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPostNormalizer::class => new AdminConversationsGetConversationPrefsGetResponse200PrefsWhoCanPostNormalizer(), + AdminConversationsGetConversationPrefsGetResponsedefaultNormalizer::class => new AdminConversationsGetConversationPrefsGetResponsedefaultNormalizer(), + AdminConversationsGetTeamsGetResponse200Normalizer::class => new AdminConversationsGetTeamsGetResponse200Normalizer(), + AdminConversationsGetTeamsGetResponse200ResponseMetadataNormalizer::class => new AdminConversationsGetTeamsGetResponse200ResponseMetadataNormalizer(), + AdminConversationsGetTeamsGetResponsedefaultNormalizer::class => new AdminConversationsGetTeamsGetResponsedefaultNormalizer(), + AdminConversationsInvitePostResponse200Normalizer::class => new AdminConversationsInvitePostResponse200Normalizer(), + AdminConversationsInvitePostResponsedefaultNormalizer::class => new AdminConversationsInvitePostResponsedefaultNormalizer(), + AdminConversationsRenamePostResponse200Normalizer::class => new AdminConversationsRenamePostResponse200Normalizer(), + AdminConversationsRenamePostResponsedefaultNormalizer::class => new AdminConversationsRenamePostResponsedefaultNormalizer(), + AdminConversationsRestrictAccessAddGroupPostResponse200Normalizer::class => new AdminConversationsRestrictAccessAddGroupPostResponse200Normalizer(), + AdminConversationsRestrictAccessAddGroupPostResponsedefaultNormalizer::class => new AdminConversationsRestrictAccessAddGroupPostResponsedefaultNormalizer(), + AdminConversationsRestrictAccessListGroupsGetResponse200Normalizer::class => new AdminConversationsRestrictAccessListGroupsGetResponse200Normalizer(), + AdminConversationsRestrictAccessListGroupsGetResponsedefaultNormalizer::class => new AdminConversationsRestrictAccessListGroupsGetResponsedefaultNormalizer(), + AdminConversationsRestrictAccessRemoveGroupPostResponse200Normalizer::class => new AdminConversationsRestrictAccessRemoveGroupPostResponse200Normalizer(), + AdminConversationsRestrictAccessRemoveGroupPostResponsedefaultNormalizer::class => new AdminConversationsRestrictAccessRemoveGroupPostResponsedefaultNormalizer(), + AdminConversationsSearchGetResponse200Normalizer::class => new AdminConversationsSearchGetResponse200Normalizer(), + AdminConversationsSearchGetResponsedefaultNormalizer::class => new AdminConversationsSearchGetResponsedefaultNormalizer(), + AdminConversationsSetConversationPrefsPostResponse200Normalizer::class => new AdminConversationsSetConversationPrefsPostResponse200Normalizer(), + AdminConversationsSetConversationPrefsPostResponsedefaultNormalizer::class => new AdminConversationsSetConversationPrefsPostResponsedefaultNormalizer(), + AdminConversationsSetTeamsPostResponse200Normalizer::class => new AdminConversationsSetTeamsPostResponse200Normalizer(), + AdminConversationsSetTeamsPostResponsedefaultNormalizer::class => new AdminConversationsSetTeamsPostResponsedefaultNormalizer(), + AdminConversationsUnarchivePostResponse200Normalizer::class => new AdminConversationsUnarchivePostResponse200Normalizer(), + AdminConversationsUnarchivePostResponsedefaultNormalizer::class => new AdminConversationsUnarchivePostResponsedefaultNormalizer(), + AdminEmojiAddPostResponse200Normalizer::class => new AdminEmojiAddPostResponse200Normalizer(), + AdminEmojiAddPostResponsedefaultNormalizer::class => new AdminEmojiAddPostResponsedefaultNormalizer(), + AdminEmojiAddAliasPostResponse200Normalizer::class => new AdminEmojiAddAliasPostResponse200Normalizer(), + AdminEmojiAddAliasPostResponsedefaultNormalizer::class => new AdminEmojiAddAliasPostResponsedefaultNormalizer(), + AdminEmojiListGetResponse200Normalizer::class => new AdminEmojiListGetResponse200Normalizer(), + AdminEmojiListGetResponsedefaultNormalizer::class => new AdminEmojiListGetResponsedefaultNormalizer(), + AdminEmojiRemovePostResponse200Normalizer::class => new AdminEmojiRemovePostResponse200Normalizer(), + AdminEmojiRemovePostResponsedefaultNormalizer::class => new AdminEmojiRemovePostResponsedefaultNormalizer(), + AdminEmojiRenamePostResponse200Normalizer::class => new AdminEmojiRenamePostResponse200Normalizer(), + AdminEmojiRenamePostResponsedefaultNormalizer::class => new AdminEmojiRenamePostResponsedefaultNormalizer(), + AdminInviteRequestsApprovePostResponse200Normalizer::class => new AdminInviteRequestsApprovePostResponse200Normalizer(), + AdminInviteRequestsApprovePostResponsedefaultNormalizer::class => new AdminInviteRequestsApprovePostResponsedefaultNormalizer(), + AdminInviteRequestsApprovedListGetResponse200Normalizer::class => new AdminInviteRequestsApprovedListGetResponse200Normalizer(), + AdminInviteRequestsApprovedListGetResponsedefaultNormalizer::class => new AdminInviteRequestsApprovedListGetResponsedefaultNormalizer(), + AdminInviteRequestsDeniedListGetResponse200Normalizer::class => new AdminInviteRequestsDeniedListGetResponse200Normalizer(), + AdminInviteRequestsDeniedListGetResponsedefaultNormalizer::class => new AdminInviteRequestsDeniedListGetResponsedefaultNormalizer(), + AdminInviteRequestsDenyPostResponse200Normalizer::class => new AdminInviteRequestsDenyPostResponse200Normalizer(), + AdminInviteRequestsDenyPostResponsedefaultNormalizer::class => new AdminInviteRequestsDenyPostResponsedefaultNormalizer(), + AdminInviteRequestsListGetResponse200Normalizer::class => new AdminInviteRequestsListGetResponse200Normalizer(), + AdminInviteRequestsListGetResponsedefaultNormalizer::class => new AdminInviteRequestsListGetResponsedefaultNormalizer(), + AdminTeamsAdminsListGetResponse200Normalizer::class => new AdminTeamsAdminsListGetResponse200Normalizer(), + AdminTeamsAdminsListGetResponsedefaultNormalizer::class => new AdminTeamsAdminsListGetResponsedefaultNormalizer(), + AdminTeamsCreatePostResponse200Normalizer::class => new AdminTeamsCreatePostResponse200Normalizer(), + AdminTeamsCreatePostResponsedefaultNormalizer::class => new AdminTeamsCreatePostResponsedefaultNormalizer(), + AdminTeamsListGetResponse200Normalizer::class => new AdminTeamsListGetResponse200Normalizer(), + AdminTeamsListGetResponsedefaultNormalizer::class => new AdminTeamsListGetResponsedefaultNormalizer(), + AdminTeamsOwnersListGetResponse200Normalizer::class => new AdminTeamsOwnersListGetResponse200Normalizer(), + AdminTeamsOwnersListGetResponsedefaultNormalizer::class => new AdminTeamsOwnersListGetResponsedefaultNormalizer(), + AdminTeamsSettingsInfoGetResponse200Normalizer::class => new AdminTeamsSettingsInfoGetResponse200Normalizer(), + AdminTeamsSettingsInfoGetResponsedefaultNormalizer::class => new AdminTeamsSettingsInfoGetResponsedefaultNormalizer(), + AdminTeamsSettingsSetDefaultChannelsPostResponse200Normalizer::class => new AdminTeamsSettingsSetDefaultChannelsPostResponse200Normalizer(), + AdminTeamsSettingsSetDefaultChannelsPostResponsedefaultNormalizer::class => new AdminTeamsSettingsSetDefaultChannelsPostResponsedefaultNormalizer(), + AdminTeamsSettingsSetDescriptionPostResponse200Normalizer::class => new AdminTeamsSettingsSetDescriptionPostResponse200Normalizer(), + AdminTeamsSettingsSetDescriptionPostResponsedefaultNormalizer::class => new AdminTeamsSettingsSetDescriptionPostResponsedefaultNormalizer(), + AdminTeamsSettingsSetDiscoverabilityPostResponse200Normalizer::class => new AdminTeamsSettingsSetDiscoverabilityPostResponse200Normalizer(), + AdminTeamsSettingsSetDiscoverabilityPostResponsedefaultNormalizer::class => new AdminTeamsSettingsSetDiscoverabilityPostResponsedefaultNormalizer(), + AdminTeamsSettingsSetIconPostResponse200Normalizer::class => new AdminTeamsSettingsSetIconPostResponse200Normalizer(), + AdminTeamsSettingsSetIconPostResponsedefaultNormalizer::class => new AdminTeamsSettingsSetIconPostResponsedefaultNormalizer(), + AdminTeamsSettingsSetNamePostResponse200Normalizer::class => new AdminTeamsSettingsSetNamePostResponse200Normalizer(), + AdminTeamsSettingsSetNamePostResponsedefaultNormalizer::class => new AdminTeamsSettingsSetNamePostResponsedefaultNormalizer(), + AdminUsergroupsAddChannelsPostResponse200Normalizer::class => new AdminUsergroupsAddChannelsPostResponse200Normalizer(), + AdminUsergroupsAddChannelsPostResponsedefaultNormalizer::class => new AdminUsergroupsAddChannelsPostResponsedefaultNormalizer(), + AdminUsergroupsAddTeamsPostResponse200Normalizer::class => new AdminUsergroupsAddTeamsPostResponse200Normalizer(), + AdminUsergroupsAddTeamsPostResponsedefaultNormalizer::class => new AdminUsergroupsAddTeamsPostResponsedefaultNormalizer(), + AdminUsergroupsListChannelsGetResponse200Normalizer::class => new AdminUsergroupsListChannelsGetResponse200Normalizer(), + AdminUsergroupsListChannelsGetResponsedefaultNormalizer::class => new AdminUsergroupsListChannelsGetResponsedefaultNormalizer(), + AdminUsergroupsRemoveChannelsPostResponse200Normalizer::class => new AdminUsergroupsRemoveChannelsPostResponse200Normalizer(), + AdminUsergroupsRemoveChannelsPostResponsedefaultNormalizer::class => new AdminUsergroupsRemoveChannelsPostResponsedefaultNormalizer(), + AdminUsersAssignPostResponse200Normalizer::class => new AdminUsersAssignPostResponse200Normalizer(), + AdminUsersAssignPostResponsedefaultNormalizer::class => new AdminUsersAssignPostResponsedefaultNormalizer(), + AdminUsersInvitePostResponse200Normalizer::class => new AdminUsersInvitePostResponse200Normalizer(), + AdminUsersInvitePostResponsedefaultNormalizer::class => new AdminUsersInvitePostResponsedefaultNormalizer(), + AdminUsersListGetResponse200Normalizer::class => new AdminUsersListGetResponse200Normalizer(), + AdminUsersListGetResponsedefaultNormalizer::class => new AdminUsersListGetResponsedefaultNormalizer(), + AdminUsersRemovePostResponse200Normalizer::class => new AdminUsersRemovePostResponse200Normalizer(), + AdminUsersRemovePostResponsedefaultNormalizer::class => new AdminUsersRemovePostResponsedefaultNormalizer(), + AdminUsersSessionInvalidatePostResponse200Normalizer::class => new AdminUsersSessionInvalidatePostResponse200Normalizer(), + AdminUsersSessionInvalidatePostResponsedefaultNormalizer::class => new AdminUsersSessionInvalidatePostResponsedefaultNormalizer(), + AdminUsersSessionResetPostResponse200Normalizer::class => new AdminUsersSessionResetPostResponse200Normalizer(), + AdminUsersSessionResetPostResponsedefaultNormalizer::class => new AdminUsersSessionResetPostResponsedefaultNormalizer(), + AdminUsersSetAdminPostResponse200Normalizer::class => new AdminUsersSetAdminPostResponse200Normalizer(), + AdminUsersSetAdminPostResponsedefaultNormalizer::class => new AdminUsersSetAdminPostResponsedefaultNormalizer(), + AdminUsersSetExpirationPostResponse200Normalizer::class => new AdminUsersSetExpirationPostResponse200Normalizer(), + AdminUsersSetExpirationPostResponsedefaultNormalizer::class => new AdminUsersSetExpirationPostResponsedefaultNormalizer(), + AdminUsersSetOwnerPostResponse200Normalizer::class => new AdminUsersSetOwnerPostResponse200Normalizer(), + AdminUsersSetOwnerPostResponsedefaultNormalizer::class => new AdminUsersSetOwnerPostResponsedefaultNormalizer(), + AdminUsersSetRegularPostResponse200Normalizer::class => new AdminUsersSetRegularPostResponse200Normalizer(), + AdminUsersSetRegularPostResponsedefaultNormalizer::class => new AdminUsersSetRegularPostResponsedefaultNormalizer(), + ApiTestGetResponse200Normalizer::class => new ApiTestGetResponse200Normalizer(), + ApiTestGetResponsedefaultNormalizer::class => new ApiTestGetResponsedefaultNormalizer(), + AppsEventAuthorizationsListGetResponse200Normalizer::class => new AppsEventAuthorizationsListGetResponse200Normalizer(), + AppsEventAuthorizationsListGetResponsedefaultNormalizer::class => new AppsEventAuthorizationsListGetResponsedefaultNormalizer(), + AppsPermissionsInfoGetResponse200Normalizer::class => new AppsPermissionsInfoGetResponse200Normalizer(), + AppsPermissionsInfoGetResponse200InfoNormalizer::class => new AppsPermissionsInfoGetResponse200InfoNormalizer(), + AppsPermissionsInfoGetResponse200InfoAppHomeNormalizer::class => new AppsPermissionsInfoGetResponse200InfoAppHomeNormalizer(), + AppsPermissionsInfoGetResponse200InfoChannelNormalizer::class => new AppsPermissionsInfoGetResponse200InfoChannelNormalizer(), + AppsPermissionsInfoGetResponse200InfoGroupNormalizer::class => new AppsPermissionsInfoGetResponse200InfoGroupNormalizer(), + AppsPermissionsInfoGetResponse200InfoImNormalizer::class => new AppsPermissionsInfoGetResponse200InfoImNormalizer(), + AppsPermissionsInfoGetResponse200InfoMpimNormalizer::class => new AppsPermissionsInfoGetResponse200InfoMpimNormalizer(), + AppsPermissionsInfoGetResponse200InfoTeamNormalizer::class => new AppsPermissionsInfoGetResponse200InfoTeamNormalizer(), + AppsPermissionsInfoGetResponsedefaultNormalizer::class => new AppsPermissionsInfoGetResponsedefaultNormalizer(), + AppsPermissionsRequestGetResponse200Normalizer::class => new AppsPermissionsRequestGetResponse200Normalizer(), + AppsPermissionsRequestGetResponsedefaultNormalizer::class => new AppsPermissionsRequestGetResponsedefaultNormalizer(), + AppsPermissionsResourcesListGetResponse200Normalizer::class => new AppsPermissionsResourcesListGetResponse200Normalizer(), + AppsPermissionsResourcesListGetResponse200ResourcesItemNormalizer::class => new AppsPermissionsResourcesListGetResponse200ResourcesItemNormalizer(), + AppsPermissionsResourcesListGetResponse200ResponseMetadataNormalizer::class => new AppsPermissionsResourcesListGetResponse200ResponseMetadataNormalizer(), + AppsPermissionsResourcesListGetResponsedefaultNormalizer::class => new AppsPermissionsResourcesListGetResponsedefaultNormalizer(), + AppsPermissionsScopesListGetResponse200Normalizer::class => new AppsPermissionsScopesListGetResponse200Normalizer(), + AppsPermissionsScopesListGetResponse200ScopesNormalizer::class => new AppsPermissionsScopesListGetResponse200ScopesNormalizer(), + AppsPermissionsScopesListGetResponsedefaultNormalizer::class => new AppsPermissionsScopesListGetResponsedefaultNormalizer(), + AppsPermissionsUsersListGetResponse200Normalizer::class => new AppsPermissionsUsersListGetResponse200Normalizer(), + AppsPermissionsUsersListGetResponsedefaultNormalizer::class => new AppsPermissionsUsersListGetResponsedefaultNormalizer(), + AppsPermissionsUsersRequestGetResponse200Normalizer::class => new AppsPermissionsUsersRequestGetResponse200Normalizer(), + AppsPermissionsUsersRequestGetResponsedefaultNormalizer::class => new AppsPermissionsUsersRequestGetResponsedefaultNormalizer(), + AppsUninstallGetResponse200Normalizer::class => new AppsUninstallGetResponse200Normalizer(), + AppsUninstallGetResponsedefaultNormalizer::class => new AppsUninstallGetResponsedefaultNormalizer(), + AuthRevokeGetResponse200Normalizer::class => new AuthRevokeGetResponse200Normalizer(), + AuthRevokeGetResponsedefaultNormalizer::class => new AuthRevokeGetResponsedefaultNormalizer(), + AuthTestGetResponse200Normalizer::class => new AuthTestGetResponse200Normalizer(), + AuthTestGetResponsedefaultNormalizer::class => new AuthTestGetResponsedefaultNormalizer(), + BotsInfoGetResponse200Normalizer::class => new BotsInfoGetResponse200Normalizer(), + BotsInfoGetResponse200BotNormalizer::class => new BotsInfoGetResponse200BotNormalizer(), + BotsInfoGetResponse200BotIconsNormalizer::class => new BotsInfoGetResponse200BotIconsNormalizer(), + BotsInfoGetResponsedefaultNormalizer::class => new BotsInfoGetResponsedefaultNormalizer(), + CallsAddPostResponse200Normalizer::class => new CallsAddPostResponse200Normalizer(), + CallsAddPostResponsedefaultNormalizer::class => new CallsAddPostResponsedefaultNormalizer(), + CallsEndPostResponse200Normalizer::class => new CallsEndPostResponse200Normalizer(), + CallsEndPostResponsedefaultNormalizer::class => new CallsEndPostResponsedefaultNormalizer(), + CallsInfoGetResponse200Normalizer::class => new CallsInfoGetResponse200Normalizer(), + CallsInfoGetResponsedefaultNormalizer::class => new CallsInfoGetResponsedefaultNormalizer(), + CallsParticipantsAddPostResponse200Normalizer::class => new CallsParticipantsAddPostResponse200Normalizer(), + CallsParticipantsAddPostResponsedefaultNormalizer::class => new CallsParticipantsAddPostResponsedefaultNormalizer(), + CallsParticipantsRemovePostResponse200Normalizer::class => new CallsParticipantsRemovePostResponse200Normalizer(), + CallsParticipantsRemovePostResponsedefaultNormalizer::class => new CallsParticipantsRemovePostResponsedefaultNormalizer(), + CallsUpdatePostResponse200Normalizer::class => new CallsUpdatePostResponse200Normalizer(), + CallsUpdatePostResponsedefaultNormalizer::class => new CallsUpdatePostResponsedefaultNormalizer(), + ChatDeletePostResponse200Normalizer::class => new ChatDeletePostResponse200Normalizer(), + ChatDeletePostResponsedefaultNormalizer::class => new ChatDeletePostResponsedefaultNormalizer(), + ChatDeleteScheduledMessagePostResponse200Normalizer::class => new ChatDeleteScheduledMessagePostResponse200Normalizer(), + ChatDeleteScheduledMessagePostResponsedefaultNormalizer::class => new ChatDeleteScheduledMessagePostResponsedefaultNormalizer(), + ChatGetPermalinkGetResponse200Normalizer::class => new ChatGetPermalinkGetResponse200Normalizer(), + ChatGetPermalinkGetResponsedefaultNormalizer::class => new ChatGetPermalinkGetResponsedefaultNormalizer(), + ChatMeMessagePostResponse200Normalizer::class => new ChatMeMessagePostResponse200Normalizer(), + ChatMeMessagePostResponsedefaultNormalizer::class => new ChatMeMessagePostResponsedefaultNormalizer(), + ChatPostEphemeralPostResponse200Normalizer::class => new ChatPostEphemeralPostResponse200Normalizer(), + ChatPostEphemeralPostResponsedefaultNormalizer::class => new ChatPostEphemeralPostResponsedefaultNormalizer(), + ChatPostMessagePostResponse200Normalizer::class => new ChatPostMessagePostResponse200Normalizer(), + ChatPostMessagePostResponsedefaultNormalizer::class => new ChatPostMessagePostResponsedefaultNormalizer(), + ChatScheduleMessagePostResponse200Normalizer::class => new ChatScheduleMessagePostResponse200Normalizer(), + ChatScheduleMessagePostResponse200MessageNormalizer::class => new ChatScheduleMessagePostResponse200MessageNormalizer(), + ChatScheduleMessagePostResponse200MessageAttachmentsItemNormalizer::class => new ChatScheduleMessagePostResponse200MessageAttachmentsItemNormalizer(), + ChatScheduleMessagePostResponsedefaultNormalizer::class => new ChatScheduleMessagePostResponsedefaultNormalizer(), + ChatScheduledMessagesListGetResponse200Normalizer::class => new ChatScheduledMessagesListGetResponse200Normalizer(), + ChatScheduledMessagesListGetResponse200ResponseMetadataNormalizer::class => new ChatScheduledMessagesListGetResponse200ResponseMetadataNormalizer(), + ChatScheduledMessagesListGetResponse200ScheduledMessagesItemNormalizer::class => new ChatScheduledMessagesListGetResponse200ScheduledMessagesItemNormalizer(), + ChatScheduledMessagesListGetResponsedefaultNormalizer::class => new ChatScheduledMessagesListGetResponsedefaultNormalizer(), + ChatUnfurlPostResponse200Normalizer::class => new ChatUnfurlPostResponse200Normalizer(), + ChatUnfurlPostResponsedefaultNormalizer::class => new ChatUnfurlPostResponsedefaultNormalizer(), + ChatUpdatePostResponse200Normalizer::class => new ChatUpdatePostResponse200Normalizer(), + ChatUpdatePostResponse200MessageNormalizer::class => new ChatUpdatePostResponse200MessageNormalizer(), + ChatUpdatePostResponsedefaultNormalizer::class => new ChatUpdatePostResponsedefaultNormalizer(), + ConversationsArchivePostResponse200Normalizer::class => new ConversationsArchivePostResponse200Normalizer(), + ConversationsArchivePostResponsedefaultNormalizer::class => new ConversationsArchivePostResponsedefaultNormalizer(), + ConversationsClosePostResponse200Normalizer::class => new ConversationsClosePostResponse200Normalizer(), + ConversationsClosePostResponsedefaultNormalizer::class => new ConversationsClosePostResponsedefaultNormalizer(), + ConversationsCreatePostResponse200Normalizer::class => new ConversationsCreatePostResponse200Normalizer(), + ConversationsCreatePostResponsedefaultNormalizer::class => new ConversationsCreatePostResponsedefaultNormalizer(), + ConversationsHistoryGetResponse200Normalizer::class => new ConversationsHistoryGetResponse200Normalizer(), + ConversationsHistoryGetResponse200ResponseMetadataNormalizer::class => new ConversationsHistoryGetResponse200ResponseMetadataNormalizer(), + ConversationsHistoryGetResponsedefaultNormalizer::class => new ConversationsHistoryGetResponsedefaultNormalizer(), + ConversationsInfoGetResponse200Normalizer::class => new ConversationsInfoGetResponse200Normalizer(), + ConversationsInfoGetResponsedefaultNormalizer::class => new ConversationsInfoGetResponsedefaultNormalizer(), + ConversationsInvitePostResponse200Normalizer::class => new ConversationsInvitePostResponse200Normalizer(), + ConversationsInvitePostResponsedefaultNormalizer::class => new ConversationsInvitePostResponsedefaultNormalizer(), + ConversationsInvitePostResponsedefaultErrorsItemNormalizer::class => new ConversationsInvitePostResponsedefaultErrorsItemNormalizer(), + ConversationsJoinPostResponse200Normalizer::class => new ConversationsJoinPostResponse200Normalizer(), + ConversationsJoinPostResponse200ResponseMetadataNormalizer::class => new ConversationsJoinPostResponse200ResponseMetadataNormalizer(), + ConversationsJoinPostResponsedefaultNormalizer::class => new ConversationsJoinPostResponsedefaultNormalizer(), + ConversationsKickPostResponse200Normalizer::class => new ConversationsKickPostResponse200Normalizer(), + ConversationsKickPostResponsedefaultNormalizer::class => new ConversationsKickPostResponsedefaultNormalizer(), + ConversationsLeavePostResponse200Normalizer::class => new ConversationsLeavePostResponse200Normalizer(), + ConversationsLeavePostResponsedefaultNormalizer::class => new ConversationsLeavePostResponsedefaultNormalizer(), + ConversationsListGetResponse200Normalizer::class => new ConversationsListGetResponse200Normalizer(), + ConversationsListGetResponse200ResponseMetadataNormalizer::class => new ConversationsListGetResponse200ResponseMetadataNormalizer(), + ConversationsListGetResponsedefaultNormalizer::class => new ConversationsListGetResponsedefaultNormalizer(), + ConversationsMarkPostResponse200Normalizer::class => new ConversationsMarkPostResponse200Normalizer(), + ConversationsMarkPostResponsedefaultNormalizer::class => new ConversationsMarkPostResponsedefaultNormalizer(), + ConversationsMembersGetResponse200Normalizer::class => new ConversationsMembersGetResponse200Normalizer(), + ConversationsMembersGetResponse200ResponseMetadataNormalizer::class => new ConversationsMembersGetResponse200ResponseMetadataNormalizer(), + ConversationsMembersGetResponsedefaultNormalizer::class => new ConversationsMembersGetResponsedefaultNormalizer(), + ConversationsOpenPostResponse200Normalizer::class => new ConversationsOpenPostResponse200Normalizer(), + ConversationsOpenPostResponse200ChannelItem1Normalizer::class => new ConversationsOpenPostResponse200ChannelItem1Normalizer(), + ConversationsOpenPostResponsedefaultNormalizer::class => new ConversationsOpenPostResponsedefaultNormalizer(), + ConversationsRenamePostResponse200Normalizer::class => new ConversationsRenamePostResponse200Normalizer(), + ConversationsRenamePostResponsedefaultNormalizer::class => new ConversationsRenamePostResponsedefaultNormalizer(), + ConversationsRepliesGetResponse200Normalizer::class => new ConversationsRepliesGetResponse200Normalizer(), + ConversationsRepliesGetResponse200MessagesItemItem0Normalizer::class => new ConversationsRepliesGetResponse200MessagesItemItem0Normalizer(), + ConversationsRepliesGetResponse200MessagesItemItem1Normalizer::class => new ConversationsRepliesGetResponse200MessagesItemItem1Normalizer(), + ConversationsRepliesGetResponse200ResponseMetadataNormalizer::class => new ConversationsRepliesGetResponse200ResponseMetadataNormalizer(), + ConversationsRepliesGetResponsedefaultNormalizer::class => new ConversationsRepliesGetResponsedefaultNormalizer(), + ConversationsSetPurposePostResponse200Normalizer::class => new ConversationsSetPurposePostResponse200Normalizer(), + ConversationsSetPurposePostResponsedefaultNormalizer::class => new ConversationsSetPurposePostResponsedefaultNormalizer(), + ConversationsSetTopicPostResponse200Normalizer::class => new ConversationsSetTopicPostResponse200Normalizer(), + ConversationsSetTopicPostResponsedefaultNormalizer::class => new ConversationsSetTopicPostResponsedefaultNormalizer(), + ConversationsUnarchivePostResponse200Normalizer::class => new ConversationsUnarchivePostResponse200Normalizer(), + ConversationsUnarchivePostResponsedefaultNormalizer::class => new ConversationsUnarchivePostResponsedefaultNormalizer(), + DialogOpenGetResponse200Normalizer::class => new DialogOpenGetResponse200Normalizer(), + DialogOpenGetResponsedefaultNormalizer::class => new DialogOpenGetResponsedefaultNormalizer(), + DndEndDndPostResponse200Normalizer::class => new DndEndDndPostResponse200Normalizer(), + DndEndDndPostResponsedefaultNormalizer::class => new DndEndDndPostResponsedefaultNormalizer(), + DndEndSnoozePostResponse200Normalizer::class => new DndEndSnoozePostResponse200Normalizer(), + DndEndSnoozePostResponsedefaultNormalizer::class => new DndEndSnoozePostResponsedefaultNormalizer(), + DndInfoGetResponse200Normalizer::class => new DndInfoGetResponse200Normalizer(), + DndInfoGetResponsedefaultNormalizer::class => new DndInfoGetResponsedefaultNormalizer(), + DndSetSnoozePostResponse200Normalizer::class => new DndSetSnoozePostResponse200Normalizer(), + DndSetSnoozePostResponsedefaultNormalizer::class => new DndSetSnoozePostResponsedefaultNormalizer(), + DndTeamInfoGetResponse200Normalizer::class => new DndTeamInfoGetResponse200Normalizer(), + DndTeamInfoGetResponsedefaultNormalizer::class => new DndTeamInfoGetResponsedefaultNormalizer(), + EmojiListGetResponse200Normalizer::class => new EmojiListGetResponse200Normalizer(), + EmojiListGetResponsedefaultNormalizer::class => new EmojiListGetResponsedefaultNormalizer(), + FilesCommentsDeletePostResponse200Normalizer::class => new FilesCommentsDeletePostResponse200Normalizer(), + FilesCommentsDeletePostResponsedefaultNormalizer::class => new FilesCommentsDeletePostResponsedefaultNormalizer(), + FilesCompleteUploadExternalPostResponse200Normalizer::class => new FilesCompleteUploadExternalPostResponse200Normalizer(), + FilesCompleteUploadExternalPostResponse200FilesItemNormalizer::class => new FilesCompleteUploadExternalPostResponse200FilesItemNormalizer(), + FilesCompleteUploadExternalPostResponsedefaultNormalizer::class => new FilesCompleteUploadExternalPostResponsedefaultNormalizer(), + FilesDeletePostResponse200Normalizer::class => new FilesDeletePostResponse200Normalizer(), + FilesDeletePostResponsedefaultNormalizer::class => new FilesDeletePostResponsedefaultNormalizer(), + FilesGetUploadURLExternalPostResponse200Normalizer::class => new FilesGetUploadURLExternalPostResponse200Normalizer(), + FilesGetUploadURLExternalPostResponsedefaultNormalizer::class => new FilesGetUploadURLExternalPostResponsedefaultNormalizer(), + FilesInfoGetResponse200Normalizer::class => new FilesInfoGetResponse200Normalizer(), + FilesInfoGetResponsedefaultNormalizer::class => new FilesInfoGetResponsedefaultNormalizer(), + FilesListGetResponse200Normalizer::class => new FilesListGetResponse200Normalizer(), + FilesListGetResponsedefaultNormalizer::class => new FilesListGetResponsedefaultNormalizer(), + FilesRemoteAddPostResponse200Normalizer::class => new FilesRemoteAddPostResponse200Normalizer(), + FilesRemoteAddPostResponsedefaultNormalizer::class => new FilesRemoteAddPostResponsedefaultNormalizer(), + FilesRemoteInfoGetResponse200Normalizer::class => new FilesRemoteInfoGetResponse200Normalizer(), + FilesRemoteInfoGetResponsedefaultNormalizer::class => new FilesRemoteInfoGetResponsedefaultNormalizer(), + FilesRemoteListGetResponse200Normalizer::class => new FilesRemoteListGetResponse200Normalizer(), + FilesRemoteListGetResponsedefaultNormalizer::class => new FilesRemoteListGetResponsedefaultNormalizer(), + FilesRemoteRemovePostResponse200Normalizer::class => new FilesRemoteRemovePostResponse200Normalizer(), + FilesRemoteRemovePostResponsedefaultNormalizer::class => new FilesRemoteRemovePostResponsedefaultNormalizer(), + FilesRemoteShareGetResponse200Normalizer::class => new FilesRemoteShareGetResponse200Normalizer(), + FilesRemoteShareGetResponsedefaultNormalizer::class => new FilesRemoteShareGetResponsedefaultNormalizer(), + FilesRemoteUpdatePostResponse200Normalizer::class => new FilesRemoteUpdatePostResponse200Normalizer(), + FilesRemoteUpdatePostResponsedefaultNormalizer::class => new FilesRemoteUpdatePostResponsedefaultNormalizer(), + FilesRevokePublicURLPostResponse200Normalizer::class => new FilesRevokePublicURLPostResponse200Normalizer(), + FilesRevokePublicURLPostResponsedefaultNormalizer::class => new FilesRevokePublicURLPostResponsedefaultNormalizer(), + FilesSharedPublicURLPostResponse200Normalizer::class => new FilesSharedPublicURLPostResponse200Normalizer(), + FilesSharedPublicURLPostResponsedefaultNormalizer::class => new FilesSharedPublicURLPostResponsedefaultNormalizer(), + FilesUploadPostResponse200Normalizer::class => new FilesUploadPostResponse200Normalizer(), + FilesUploadPostResponsedefaultNormalizer::class => new FilesUploadPostResponsedefaultNormalizer(), + MigrationExchangeGetResponse200Normalizer::class => new MigrationExchangeGetResponse200Normalizer(), + MigrationExchangeGetResponsedefaultNormalizer::class => new MigrationExchangeGetResponsedefaultNormalizer(), + OauthAccessGetResponse200Normalizer::class => new OauthAccessGetResponse200Normalizer(), + OauthAccessGetResponsedefaultNormalizer::class => new OauthAccessGetResponsedefaultNormalizer(), + OauthTokenGetResponse200Normalizer::class => new OauthTokenGetResponse200Normalizer(), + OauthTokenGetResponsedefaultNormalizer::class => new OauthTokenGetResponsedefaultNormalizer(), + OauthV2AccessGetResponse200Normalizer::class => new OauthV2AccessGetResponse200Normalizer(), + OauthV2AccessGetResponsedefaultNormalizer::class => new OauthV2AccessGetResponsedefaultNormalizer(), + PinsAddPostResponse200Normalizer::class => new PinsAddPostResponse200Normalizer(), + PinsAddPostResponsedefaultNormalizer::class => new PinsAddPostResponsedefaultNormalizer(), + PinsListGetResponse200Item0Normalizer::class => new PinsListGetResponse200Item0Normalizer(), + PinsListGetResponse200Item0ItemsItem0Normalizer::class => new PinsListGetResponse200Item0ItemsItem0Normalizer(), + PinsListGetResponse200Item0ItemsItem1Normalizer::class => new PinsListGetResponse200Item0ItemsItem1Normalizer(), + PinsListGetResponse200Item1Normalizer::class => new PinsListGetResponse200Item1Normalizer(), + PinsListGetResponsedefaultNormalizer::class => new PinsListGetResponsedefaultNormalizer(), + PinsRemovePostResponse200Normalizer::class => new PinsRemovePostResponse200Normalizer(), + PinsRemovePostResponsedefaultNormalizer::class => new PinsRemovePostResponsedefaultNormalizer(), + ReactionsAddPostResponse200Normalizer::class => new ReactionsAddPostResponse200Normalizer(), + ReactionsAddPostResponsedefaultNormalizer::class => new ReactionsAddPostResponsedefaultNormalizer(), + ReactionsGetGetResponsedefaultNormalizer::class => new ReactionsGetGetResponsedefaultNormalizer(), + ReactionsListGetResponse200Normalizer::class => new ReactionsListGetResponse200Normalizer(), + ReactionsListGetResponse200ItemsItemItem0Normalizer::class => new ReactionsListGetResponse200ItemsItemItem0Normalizer(), + ReactionsListGetResponse200ItemsItemItem1Normalizer::class => new ReactionsListGetResponse200ItemsItemItem1Normalizer(), + ReactionsListGetResponse200ItemsItemItem2Normalizer::class => new ReactionsListGetResponse200ItemsItemItem2Normalizer(), + ReactionsListGetResponsedefaultNormalizer::class => new ReactionsListGetResponsedefaultNormalizer(), + ReactionsRemovePostResponse200Normalizer::class => new ReactionsRemovePostResponse200Normalizer(), + ReactionsRemovePostResponsedefaultNormalizer::class => new ReactionsRemovePostResponsedefaultNormalizer(), + RemindersAddPostResponse200Normalizer::class => new RemindersAddPostResponse200Normalizer(), + RemindersAddPostResponsedefaultNormalizer::class => new RemindersAddPostResponsedefaultNormalizer(), + RemindersCompletePostResponse200Normalizer::class => new RemindersCompletePostResponse200Normalizer(), + RemindersCompletePostResponsedefaultNormalizer::class => new RemindersCompletePostResponsedefaultNormalizer(), + RemindersDeletePostResponse200Normalizer::class => new RemindersDeletePostResponse200Normalizer(), + RemindersDeletePostResponsedefaultNormalizer::class => new RemindersDeletePostResponsedefaultNormalizer(), + RemindersInfoGetResponse200Normalizer::class => new RemindersInfoGetResponse200Normalizer(), + RemindersInfoGetResponsedefaultNormalizer::class => new RemindersInfoGetResponsedefaultNormalizer(), + RemindersListGetResponse200Normalizer::class => new RemindersListGetResponse200Normalizer(), + RemindersListGetResponsedefaultNormalizer::class => new RemindersListGetResponsedefaultNormalizer(), + RtmConnectGetResponse200Normalizer::class => new RtmConnectGetResponse200Normalizer(), + RtmConnectGetResponse200SelfNormalizer::class => new RtmConnectGetResponse200SelfNormalizer(), + RtmConnectGetResponse200TeamNormalizer::class => new RtmConnectGetResponse200TeamNormalizer(), + RtmConnectGetResponsedefaultNormalizer::class => new RtmConnectGetResponsedefaultNormalizer(), + SearchMessagesGetResponse200Normalizer::class => new SearchMessagesGetResponse200Normalizer(), + SearchMessagesGetResponsedefaultNormalizer::class => new SearchMessagesGetResponsedefaultNormalizer(), + StarsAddPostResponse200Normalizer::class => new StarsAddPostResponse200Normalizer(), + StarsAddPostResponsedefaultNormalizer::class => new StarsAddPostResponsedefaultNormalizer(), + StarsListGetResponse200Normalizer::class => new StarsListGetResponse200Normalizer(), + StarsListGetResponse200ItemsItemItem0Normalizer::class => new StarsListGetResponse200ItemsItemItem0Normalizer(), + StarsListGetResponse200ItemsItemItem1Normalizer::class => new StarsListGetResponse200ItemsItemItem1Normalizer(), + StarsListGetResponse200ItemsItemItem2Normalizer::class => new StarsListGetResponse200ItemsItemItem2Normalizer(), + StarsListGetResponse200ItemsItemItem3Normalizer::class => new StarsListGetResponse200ItemsItemItem3Normalizer(), + StarsListGetResponse200ItemsItemItem4Normalizer::class => new StarsListGetResponse200ItemsItemItem4Normalizer(), + StarsListGetResponse200ItemsItemItem5Normalizer::class => new StarsListGetResponse200ItemsItemItem5Normalizer(), + StarsListGetResponsedefaultNormalizer::class => new StarsListGetResponsedefaultNormalizer(), + StarsRemovePostResponse200Normalizer::class => new StarsRemovePostResponse200Normalizer(), + StarsRemovePostResponsedefaultNormalizer::class => new StarsRemovePostResponsedefaultNormalizer(), + TeamAccessLogsGetResponse200Normalizer::class => new TeamAccessLogsGetResponse200Normalizer(), + TeamAccessLogsGetResponse200LoginsItemNormalizer::class => new TeamAccessLogsGetResponse200LoginsItemNormalizer(), + TeamAccessLogsGetResponsedefaultNormalizer::class => new TeamAccessLogsGetResponsedefaultNormalizer(), + TeamBillableInfoGetResponse200Normalizer::class => new TeamBillableInfoGetResponse200Normalizer(), + TeamBillableInfoGetResponsedefaultNormalizer::class => new TeamBillableInfoGetResponsedefaultNormalizer(), + TeamInfoGetResponse200Normalizer::class => new TeamInfoGetResponse200Normalizer(), + TeamInfoGetResponsedefaultNormalizer::class => new TeamInfoGetResponsedefaultNormalizer(), + TeamIntegrationLogsGetResponse200Normalizer::class => new TeamIntegrationLogsGetResponse200Normalizer(), + TeamIntegrationLogsGetResponse200LogsItemNormalizer::class => new TeamIntegrationLogsGetResponse200LogsItemNormalizer(), + TeamIntegrationLogsGetResponsedefaultNormalizer::class => new TeamIntegrationLogsGetResponsedefaultNormalizer(), + TeamProfileGetGetResponse200Normalizer::class => new TeamProfileGetGetResponse200Normalizer(), + TeamProfileGetGetResponse200ProfileNormalizer::class => new TeamProfileGetGetResponse200ProfileNormalizer(), + TeamProfileGetGetResponsedefaultNormalizer::class => new TeamProfileGetGetResponsedefaultNormalizer(), + UsergroupsCreatePostResponse200Normalizer::class => new UsergroupsCreatePostResponse200Normalizer(), + UsergroupsCreatePostResponsedefaultNormalizer::class => new UsergroupsCreatePostResponsedefaultNormalizer(), + UsergroupsDisablePostResponse200Normalizer::class => new UsergroupsDisablePostResponse200Normalizer(), + UsergroupsDisablePostResponsedefaultNormalizer::class => new UsergroupsDisablePostResponsedefaultNormalizer(), + UsergroupsEnablePostResponse200Normalizer::class => new UsergroupsEnablePostResponse200Normalizer(), + UsergroupsEnablePostResponsedefaultNormalizer::class => new UsergroupsEnablePostResponsedefaultNormalizer(), + UsergroupsListGetResponse200Normalizer::class => new UsergroupsListGetResponse200Normalizer(), + UsergroupsListGetResponsedefaultNormalizer::class => new UsergroupsListGetResponsedefaultNormalizer(), + UsergroupsUpdatePostResponse200Normalizer::class => new UsergroupsUpdatePostResponse200Normalizer(), + UsergroupsUpdatePostResponsedefaultNormalizer::class => new UsergroupsUpdatePostResponsedefaultNormalizer(), + UsergroupsUsersListGetResponse200Normalizer::class => new UsergroupsUsersListGetResponse200Normalizer(), + UsergroupsUsersListGetResponsedefaultNormalizer::class => new UsergroupsUsersListGetResponsedefaultNormalizer(), + UsergroupsUsersUpdatePostResponse200Normalizer::class => new UsergroupsUsersUpdatePostResponse200Normalizer(), + UsergroupsUsersUpdatePostResponsedefaultNormalizer::class => new UsergroupsUsersUpdatePostResponsedefaultNormalizer(), + UsersConversationsGetResponse200Normalizer::class => new UsersConversationsGetResponse200Normalizer(), + UsersConversationsGetResponse200ResponseMetadataNormalizer::class => new UsersConversationsGetResponse200ResponseMetadataNormalizer(), + UsersConversationsGetResponsedefaultNormalizer::class => new UsersConversationsGetResponsedefaultNormalizer(), + UsersDeletePhotoPostResponse200Normalizer::class => new UsersDeletePhotoPostResponse200Normalizer(), + UsersDeletePhotoPostResponsedefaultNormalizer::class => new UsersDeletePhotoPostResponsedefaultNormalizer(), + UsersGetPresenceGetResponse200Normalizer::class => new UsersGetPresenceGetResponse200Normalizer(), + UsersGetPresenceGetResponsedefaultNormalizer::class => new UsersGetPresenceGetResponsedefaultNormalizer(), + UsersIdentityGetResponse200Item0Normalizer::class => new UsersIdentityGetResponse200Item0Normalizer(), + UsersIdentityGetResponse200Item0TeamNormalizer::class => new UsersIdentityGetResponse200Item0TeamNormalizer(), + UsersIdentityGetResponse200Item0UserNormalizer::class => new UsersIdentityGetResponse200Item0UserNormalizer(), + UsersIdentityGetResponse200Item1Normalizer::class => new UsersIdentityGetResponse200Item1Normalizer(), + UsersIdentityGetResponse200Item1TeamNormalizer::class => new UsersIdentityGetResponse200Item1TeamNormalizer(), + UsersIdentityGetResponse200Item1UserNormalizer::class => new UsersIdentityGetResponse200Item1UserNormalizer(), + UsersIdentityGetResponse200Item2Normalizer::class => new UsersIdentityGetResponse200Item2Normalizer(), + UsersIdentityGetResponse200Item2TeamNormalizer::class => new UsersIdentityGetResponse200Item2TeamNormalizer(), + UsersIdentityGetResponse200Item2UserNormalizer::class => new UsersIdentityGetResponse200Item2UserNormalizer(), + UsersIdentityGetResponse200Item3Normalizer::class => new UsersIdentityGetResponse200Item3Normalizer(), + UsersIdentityGetResponse200Item3TeamNormalizer::class => new UsersIdentityGetResponse200Item3TeamNormalizer(), + UsersIdentityGetResponse200Item3UserNormalizer::class => new UsersIdentityGetResponse200Item3UserNormalizer(), + UsersIdentityGetResponsedefaultNormalizer::class => new UsersIdentityGetResponsedefaultNormalizer(), + UsersInfoGetResponse200Normalizer::class => new UsersInfoGetResponse200Normalizer(), + UsersInfoGetResponsedefaultNormalizer::class => new UsersInfoGetResponsedefaultNormalizer(), + UsersListGetResponse200Normalizer::class => new UsersListGetResponse200Normalizer(), + UsersListGetResponsedefaultNormalizer::class => new UsersListGetResponsedefaultNormalizer(), + UsersLookupByEmailGetResponse200Normalizer::class => new UsersLookupByEmailGetResponse200Normalizer(), + UsersLookupByEmailGetResponsedefaultNormalizer::class => new UsersLookupByEmailGetResponsedefaultNormalizer(), + UsersProfileGetGetResponse200Normalizer::class => new UsersProfileGetGetResponse200Normalizer(), + UsersProfileGetGetResponsedefaultNormalizer::class => new UsersProfileGetGetResponsedefaultNormalizer(), + UsersProfileSetPostResponse200Normalizer::class => new UsersProfileSetPostResponse200Normalizer(), + UsersProfileSetPostResponsedefaultNormalizer::class => new UsersProfileSetPostResponsedefaultNormalizer(), + UsersSetActivePostResponse200Normalizer::class => new UsersSetActivePostResponse200Normalizer(), + UsersSetActivePostResponsedefaultNormalizer::class => new UsersSetActivePostResponsedefaultNormalizer(), + UsersSetPhotoPostResponse200Normalizer::class => new UsersSetPhotoPostResponse200Normalizer(), + UsersSetPhotoPostResponse200ProfileNormalizer::class => new UsersSetPhotoPostResponse200ProfileNormalizer(), + UsersSetPhotoPostResponsedefaultNormalizer::class => new UsersSetPhotoPostResponsedefaultNormalizer(), + UsersSetPresencePostResponse200Normalizer::class => new UsersSetPresencePostResponse200Normalizer(), + UsersSetPresencePostResponsedefaultNormalizer::class => new UsersSetPresencePostResponsedefaultNormalizer(), + ViewsOpenPostResponse200Normalizer::class => new ViewsOpenPostResponse200Normalizer(), + ViewsOpenPostResponsedefaultNormalizer::class => new ViewsOpenPostResponsedefaultNormalizer(), + ViewsPublishPostResponse200Normalizer::class => new ViewsPublishPostResponse200Normalizer(), + ViewsPublishPostResponsedefaultNormalizer::class => new ViewsPublishPostResponsedefaultNormalizer(), + ViewsPushPostResponse200Normalizer::class => new ViewsPushPostResponse200Normalizer(), + ViewsPushPostResponsedefaultNormalizer::class => new ViewsPushPostResponsedefaultNormalizer(), + ViewsUpdatePostResponse200Normalizer::class => new ViewsUpdatePostResponse200Normalizer(), + ViewsUpdatePostResponsedefaultNormalizer::class => new ViewsUpdatePostResponsedefaultNormalizer(), + WorkflowsStepCompletedPostResponse200Normalizer::class => new WorkflowsStepCompletedPostResponse200Normalizer(), + WorkflowsStepCompletedPostResponsedefaultNormalizer::class => new WorkflowsStepCompletedPostResponsedefaultNormalizer(), + WorkflowsStepFailedPostResponse200Normalizer::class => new WorkflowsStepFailedPostResponse200Normalizer(), + WorkflowsStepFailedPostResponsedefaultNormalizer::class => new WorkflowsStepFailedPostResponsedefaultNormalizer(), + WorkflowsUpdateStepPostResponse200Normalizer::class => new WorkflowsUpdateStepPostResponse200Normalizer(), + WorkflowsUpdateStepPostResponsedefaultNormalizer::class => new WorkflowsUpdateStepPostResponsedefaultNormalizer(), + \JoliCode\Slack\Api\Runtime\Normalizer\ReferenceNormalizer::class => new \JoliCode\Slack\Api\Runtime\Normalizer\ReferenceNormalizer(), + default => throw new \InvalidArgumentException('Unknown normalizer class: ' . $normalizerClass), + }; + if ($normalizer instanceof NormalizerAwareInterface) { + $normalizer->setNormalizer($this->normalizer); + } + if ($normalizer instanceof DenormalizerAwareInterface) { + $normalizer->setDenormalizer($this->denormalizer); + } $this->normalizersCache[$normalizerClass] = $normalizer; return $normalizer; diff --git a/generated/Normalizer/MigrationExchangeGetResponse200Normalizer.php b/generated/Normalizer/MigrationExchangeGetResponse200Normalizer.php index da5c7618..6388a284 100644 --- a/generated/Normalizer/MigrationExchangeGetResponse200Normalizer.php +++ b/generated/Normalizer/MigrationExchangeGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('enterprise_id', $data) && null !== $data['enterprise_id']) { - $object->setEnterpriseId($data['enterprise_id']); + $object->enterpriseId = $data['enterprise_id']; unset($data['enterprise_id']); - } elseif (\array_key_exists('enterprise_id', $data) && null === $data['enterprise_id']) { - $object->setEnterpriseId(null); + } elseif (\array_key_exists('enterprise_id', $data)) { + $object->enterpriseId = null; unset($data['enterprise_id']); } if (\array_key_exists('invalid_user_ids', $data) && null !== $data['invalid_user_ids']) { @@ -67,24 +67,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['invalid_user_ids'] as $value) { $values[] = $value; } - $object->setInvalidUserIds($values); + $object->invalidUserIds = $values; unset($data['invalid_user_ids']); - } elseif (\array_key_exists('invalid_user_ids', $data) && null === $data['invalid_user_ids']) { - $object->setInvalidUserIds(null); + } elseif (\array_key_exists('invalid_user_ids', $data)) { + $object->invalidUserIds = null; unset($data['invalid_user_ids']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('team_id', $data) && null !== $data['team_id']) { - $object->setTeamId($data['team_id']); + $object->teamId = $data['team_id']; unset($data['team_id']); - } elseif (\array_key_exists('team_id', $data) && null === $data['team_id']) { - $object->setTeamId(null); + } elseif (\array_key_exists('team_id', $data)) { + $object->teamId = null; unset($data['team_id']); } if (\array_key_exists('user_id_map', $data) && null !== $data['user_id_map']) { @@ -92,10 +92,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['user_id_map'] as $key => $value_1) { $values_1[$key] = $value_1; } - $object->setUserIdMap($values_1); + $object->userIdMap = $values_1; unset($data['user_id_map']); - } elseif (\array_key_exists('user_id_map', $data) && null === $data['user_id_map']) { - $object->setUserIdMap(null); + } elseif (\array_key_exists('user_id_map', $data)) { + $object->userIdMap = null; unset($data['user_id_map']); } foreach ($data as $key_1 => $value_2) { @@ -110,19 +110,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['enterprise_id'] = $data->getEnterpriseId(); - if ($data->isInitialized('invalidUserIds') && null !== $data->getInvalidUserIds()) { + $dataArray['enterprise_id'] = $data->enterpriseId; + if (\array_key_exists('invalidUserIds', get_object_vars($data)) && null !== ($data->invalidUserIds ?? null)) { $values = []; - foreach ($data->getInvalidUserIds() as $value) { + foreach ($data->invalidUserIds as $value) { $values[] = $value; } $dataArray['invalid_user_ids'] = $values; } - $dataArray['ok'] = $data->getOk(); - $dataArray['team_id'] = $data->getTeamId(); - if ($data->isInitialized('userIdMap') && null !== $data->getUserIdMap()) { + $dataArray['ok'] = $data->ok; + $dataArray['team_id'] = $data->teamId; + if (\array_key_exists('userIdMap', get_object_vars($data)) && null !== ($data->userIdMap ?? null)) { $values_1 = new \JoliCode\Slack\Api\Runtime\JsonObject(); - foreach ($data->getUserIdMap() as $key => $value_1) { + foreach ($data->userIdMap as $key => $value_1) { $values_1[$key] = $value_1; } $dataArray['user_id_map'] = $values_1; diff --git a/generated/Normalizer/MigrationExchangeGetResponsedefaultNormalizer.php b/generated/Normalizer/MigrationExchangeGetResponsedefaultNormalizer.php index 054091c9..4c6974fc 100644 --- a/generated/Normalizer/MigrationExchangeGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/MigrationExchangeGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/OauthAccessGetResponse200Normalizer.php b/generated/Normalizer/OauthAccessGetResponse200Normalizer.php index f120f681..5fd9bd5b 100644 --- a/generated/Normalizer/OauthAccessGetResponse200Normalizer.php +++ b/generated/Normalizer/OauthAccessGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/OauthAccessGetResponsedefaultNormalizer.php b/generated/Normalizer/OauthAccessGetResponsedefaultNormalizer.php index 0c09f94c..456cb61f 100644 --- a/generated/Normalizer/OauthAccessGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/OauthAccessGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/OauthTokenGetResponse200Normalizer.php b/generated/Normalizer/OauthTokenGetResponse200Normalizer.php index c99e8904..fb62fed6 100644 --- a/generated/Normalizer/OauthTokenGetResponse200Normalizer.php +++ b/generated/Normalizer/OauthTokenGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/OauthTokenGetResponsedefaultNormalizer.php b/generated/Normalizer/OauthTokenGetResponsedefaultNormalizer.php index e6923fd2..2bc168ad 100644 --- a/generated/Normalizer/OauthTokenGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/OauthTokenGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/OauthV2AccessGetResponse200Normalizer.php b/generated/Normalizer/OauthV2AccessGetResponse200Normalizer.php index 26a127c8..173b05d9 100644 --- a/generated/Normalizer/OauthV2AccessGetResponse200Normalizer.php +++ b/generated/Normalizer/OauthV2AccessGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/OauthV2AccessGetResponsedefaultNormalizer.php b/generated/Normalizer/OauthV2AccessGetResponsedefaultNormalizer.php index dc9baf34..8176d358 100644 --- a/generated/Normalizer/OauthV2AccessGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/OauthV2AccessGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ObjsBotProfileIconsNormalizer.php b/generated/Normalizer/ObjsBotProfileIconsNormalizer.php index 78961dbd..5763e233 100644 --- a/generated/Normalizer/ObjsBotProfileIconsNormalizer.php +++ b/generated/Normalizer/ObjsBotProfileIconsNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('image_36', $data) && null !== $data['image_36']) { - $object->setImage36($data['image_36']); - } elseif (\array_key_exists('image_36', $data) && null === $data['image_36']) { - $object->setImage36(null); + $object->image36 = $data['image_36']; + } elseif (\array_key_exists('image_36', $data)) { + $object->image36 = null; } if (\array_key_exists('image_48', $data) && null !== $data['image_48']) { - $object->setImage48($data['image_48']); - } elseif (\array_key_exists('image_48', $data) && null === $data['image_48']) { - $object->setImage48(null); + $object->image48 = $data['image_48']; + } elseif (\array_key_exists('image_48', $data)) { + $object->image48 = null; } if (\array_key_exists('image_72', $data) && null !== $data['image_72']) { - $object->setImage72($data['image_72']); - } elseif (\array_key_exists('image_72', $data) && null === $data['image_72']) { - $object->setImage72(null); + $object->image72 = $data['image_72']; + } elseif (\array_key_exists('image_72', $data)) { + $object->image72 = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['image_36'] = $data->getImage36(); - $dataArray['image_48'] = $data->getImage48(); - $dataArray['image_72'] = $data->getImage72(); + $dataArray['image_36'] = $data->image36; + $dataArray['image_48'] = $data->image48; + $dataArray['image_72'] = $data->image72; return $dataArray; } diff --git a/generated/Normalizer/ObjsBotProfileNormalizer.php b/generated/Normalizer/ObjsBotProfileNormalizer.php index b52b3b02..6eeb198f 100644 --- a/generated/Normalizer/ObjsBotProfileNormalizer.php +++ b/generated/Normalizer/ObjsBotProfileNormalizer.php @@ -56,39 +56,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['deleted'] = (bool) $data['deleted']; } if (\array_key_exists('app_id', $data) && null !== $data['app_id']) { - $object->setAppId($data['app_id']); - } elseif (\array_key_exists('app_id', $data) && null === $data['app_id']) { - $object->setAppId(null); + $object->appId = $data['app_id']; + } elseif (\array_key_exists('app_id', $data)) { + $object->appId = null; } if (\array_key_exists('deleted', $data) && null !== $data['deleted']) { - $object->setDeleted($data['deleted']); - } elseif (\array_key_exists('deleted', $data) && null === $data['deleted']) { - $object->setDeleted(null); + $object->deleted = $data['deleted']; + } elseif (\array_key_exists('deleted', $data)) { + $object->deleted = null; } if (\array_key_exists('icons', $data) && null !== $data['icons']) { - $object->setIcons($this->denormalizer->denormalize($data['icons'], \JoliCode\Slack\Api\Model\ObjsBotProfileIcons::class, 'json', $context)); - } elseif (\array_key_exists('icons', $data) && null === $data['icons']) { - $object->setIcons(null); + $object->icons = $this->denormalizer->denormalize($data['icons'], \JoliCode\Slack\Api\Model\ObjsBotProfileIcons::class, 'json', $context); + } elseif (\array_key_exists('icons', $data)) { + $object->icons = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('team_id', $data) && null !== $data['team_id']) { - $object->setTeamId($data['team_id']); - } elseif (\array_key_exists('team_id', $data) && null === $data['team_id']) { - $object->setTeamId(null); + $object->teamId = $data['team_id']; + } elseif (\array_key_exists('team_id', $data)) { + $object->teamId = null; } if (\array_key_exists('updated', $data) && null !== $data['updated']) { - $object->setUpdated($data['updated']); - } elseif (\array_key_exists('updated', $data) && null === $data['updated']) { - $object->setUpdated(null); + $object->updated = $data['updated']; + } elseif (\array_key_exists('updated', $data)) { + $object->updated = null; } return $object; @@ -97,13 +97,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['app_id'] = $data->getAppId(); - $dataArray['deleted'] = $data->getDeleted(); - $dataArray['icons'] = null === $data->getIcons() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getIcons(), 'json', $context)); - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); - $dataArray['team_id'] = $data->getTeamId(); - $dataArray['updated'] = $data->getUpdated(); + $dataArray['app_id'] = $data->appId; + $dataArray['deleted'] = $data->deleted; + $normalized = null === $data->icons ? null : $this->normalizer->normalize($data->icons, 'json', $context); + $dataArray['icons'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; + $dataArray['team_id'] = $data->teamId; + $dataArray['updated'] = $data->updated; return $dataArray; } diff --git a/generated/Normalizer/ObjsChannelNormalizer.php b/generated/Normalizer/ObjsChannelNormalizer.php index 1ca6bdaf..1aa841b0 100644 --- a/generated/Normalizer/ObjsChannelNormalizer.php +++ b/generated/Normalizer/ObjsChannelNormalizer.php @@ -95,176 +95,176 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_thread_only'] = (bool) $data['is_thread_only']; } if (\array_key_exists('accepted_user', $data) && null !== $data['accepted_user']) { - $object->setAcceptedUser($data['accepted_user']); - } elseif (\array_key_exists('accepted_user', $data) && null === $data['accepted_user']) { - $object->setAcceptedUser(null); + $object->acceptedUser = $data['accepted_user']; + } elseif (\array_key_exists('accepted_user', $data)) { + $object->acceptedUser = null; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_archived', $data) && null !== $data['is_archived']) { - $object->setIsArchived($data['is_archived']); - } elseif (\array_key_exists('is_archived', $data) && null === $data['is_archived']) { - $object->setIsArchived(null); + $object->isArchived = $data['is_archived']; + } elseif (\array_key_exists('is_archived', $data)) { + $object->isArchived = null; } if (\array_key_exists('is_channel', $data) && null !== $data['is_channel']) { - $object->setIsChannel($data['is_channel']); - } elseif (\array_key_exists('is_channel', $data) && null === $data['is_channel']) { - $object->setIsChannel(null); + $object->isChannel = $data['is_channel']; + } elseif (\array_key_exists('is_channel', $data)) { + $object->isChannel = null; } if (\array_key_exists('is_frozen', $data) && null !== $data['is_frozen']) { - $object->setIsFrozen($data['is_frozen']); - } elseif (\array_key_exists('is_frozen', $data) && null === $data['is_frozen']) { - $object->setIsFrozen(null); + $object->isFrozen = $data['is_frozen']; + } elseif (\array_key_exists('is_frozen', $data)) { + $object->isFrozen = null; } if (\array_key_exists('is_general', $data) && null !== $data['is_general']) { - $object->setIsGeneral($data['is_general']); - } elseif (\array_key_exists('is_general', $data) && null === $data['is_general']) { - $object->setIsGeneral(null); + $object->isGeneral = $data['is_general']; + } elseif (\array_key_exists('is_general', $data)) { + $object->isGeneral = null; } if (\array_key_exists('is_member', $data) && null !== $data['is_member']) { - $object->setIsMember($data['is_member']); - } elseif (\array_key_exists('is_member', $data) && null === $data['is_member']) { - $object->setIsMember(null); + $object->isMember = $data['is_member']; + } elseif (\array_key_exists('is_member', $data)) { + $object->isMember = null; } if (\array_key_exists('is_moved', $data) && null !== $data['is_moved']) { - $object->setIsMoved($data['is_moved']); - } elseif (\array_key_exists('is_moved', $data) && null === $data['is_moved']) { - $object->setIsMoved(null); + $object->isMoved = $data['is_moved']; + } elseif (\array_key_exists('is_moved', $data)) { + $object->isMoved = null; } if (\array_key_exists('is_mpim', $data) && null !== $data['is_mpim']) { - $object->setIsMpim($data['is_mpim']); - } elseif (\array_key_exists('is_mpim', $data) && null === $data['is_mpim']) { - $object->setIsMpim(null); + $object->isMpim = $data['is_mpim']; + } elseif (\array_key_exists('is_mpim', $data)) { + $object->isMpim = null; } if (\array_key_exists('is_non_threadable', $data) && null !== $data['is_non_threadable']) { - $object->setIsNonThreadable($data['is_non_threadable']); - } elseif (\array_key_exists('is_non_threadable', $data) && null === $data['is_non_threadable']) { - $object->setIsNonThreadable(null); + $object->isNonThreadable = $data['is_non_threadable']; + } elseif (\array_key_exists('is_non_threadable', $data)) { + $object->isNonThreadable = null; } if (\array_key_exists('is_org_shared', $data) && null !== $data['is_org_shared']) { - $object->setIsOrgShared($data['is_org_shared']); - } elseif (\array_key_exists('is_org_shared', $data) && null === $data['is_org_shared']) { - $object->setIsOrgShared(null); + $object->isOrgShared = $data['is_org_shared']; + } elseif (\array_key_exists('is_org_shared', $data)) { + $object->isOrgShared = null; } if (\array_key_exists('is_pending_ext_shared', $data) && null !== $data['is_pending_ext_shared']) { - $object->setIsPendingExtShared($data['is_pending_ext_shared']); - } elseif (\array_key_exists('is_pending_ext_shared', $data) && null === $data['is_pending_ext_shared']) { - $object->setIsPendingExtShared(null); + $object->isPendingExtShared = $data['is_pending_ext_shared']; + } elseif (\array_key_exists('is_pending_ext_shared', $data)) { + $object->isPendingExtShared = null; } if (\array_key_exists('is_private', $data) && null !== $data['is_private']) { - $object->setIsPrivate($data['is_private']); - } elseif (\array_key_exists('is_private', $data) && null === $data['is_private']) { - $object->setIsPrivate(null); + $object->isPrivate = $data['is_private']; + } elseif (\array_key_exists('is_private', $data)) { + $object->isPrivate = null; } if (\array_key_exists('is_read_only', $data) && null !== $data['is_read_only']) { - $object->setIsReadOnly($data['is_read_only']); - } elseif (\array_key_exists('is_read_only', $data) && null === $data['is_read_only']) { - $object->setIsReadOnly(null); + $object->isReadOnly = $data['is_read_only']; + } elseif (\array_key_exists('is_read_only', $data)) { + $object->isReadOnly = null; } if (\array_key_exists('is_shared', $data) && null !== $data['is_shared']) { - $object->setIsShared($data['is_shared']); - } elseif (\array_key_exists('is_shared', $data) && null === $data['is_shared']) { - $object->setIsShared(null); + $object->isShared = $data['is_shared']; + } elseif (\array_key_exists('is_shared', $data)) { + $object->isShared = null; } if (\array_key_exists('is_thread_only', $data) && null !== $data['is_thread_only']) { - $object->setIsThreadOnly($data['is_thread_only']); - } elseif (\array_key_exists('is_thread_only', $data) && null === $data['is_thread_only']) { - $object->setIsThreadOnly(null); + $object->isThreadOnly = $data['is_thread_only']; + } elseif (\array_key_exists('is_thread_only', $data)) { + $object->isThreadOnly = null; } if (\array_key_exists('last_read', $data) && null !== $data['last_read']) { - $object->setLastRead($data['last_read']); - } elseif (\array_key_exists('last_read', $data) && null === $data['last_read']) { - $object->setLastRead(null); + $object->lastRead = $data['last_read']; + } elseif (\array_key_exists('last_read', $data)) { + $object->lastRead = null; } if (\array_key_exists('latest', $data) && null !== $data['latest']) { - $object->setLatest($data['latest']); - } elseif (\array_key_exists('latest', $data) && null === $data['latest']) { - $object->setLatest(null); + $object->latest = $data['latest']; + } elseif (\array_key_exists('latest', $data)) { + $object->latest = null; } if (\array_key_exists('members', $data) && null !== $data['members']) { $values = []; foreach ($data['members'] as $value) { $values[] = $value; } - $object->setMembers($values); - } elseif (\array_key_exists('members', $data) && null === $data['members']) { - $object->setMembers(null); + $object->members = $values; + } elseif (\array_key_exists('members', $data)) { + $object->members = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('name_normalized', $data) && null !== $data['name_normalized']) { - $object->setNameNormalized($data['name_normalized']); - } elseif (\array_key_exists('name_normalized', $data) && null === $data['name_normalized']) { - $object->setNameNormalized(null); + $object->nameNormalized = $data['name_normalized']; + } elseif (\array_key_exists('name_normalized', $data)) { + $object->nameNormalized = null; } if (\array_key_exists('num_members', $data) && null !== $data['num_members']) { - $object->setNumMembers($data['num_members']); - } elseif (\array_key_exists('num_members', $data) && null === $data['num_members']) { - $object->setNumMembers(null); + $object->numMembers = $data['num_members']; + } elseif (\array_key_exists('num_members', $data)) { + $object->numMembers = null; } if (\array_key_exists('pending_shared', $data) && null !== $data['pending_shared']) { $values_1 = []; foreach ($data['pending_shared'] as $value_1) { $values_1[] = $value_1; } - $object->setPendingShared($values_1); - } elseif (\array_key_exists('pending_shared', $data) && null === $data['pending_shared']) { - $object->setPendingShared(null); + $object->pendingShared = $values_1; + } elseif (\array_key_exists('pending_shared', $data)) { + $object->pendingShared = null; } if (\array_key_exists('previous_names', $data) && null !== $data['previous_names']) { $values_2 = []; foreach ($data['previous_names'] as $value_2) { $values_2[] = $value_2; } - $object->setPreviousNames($values_2); - } elseif (\array_key_exists('previous_names', $data) && null === $data['previous_names']) { - $object->setPreviousNames(null); + $object->previousNames = $values_2; + } elseif (\array_key_exists('previous_names', $data)) { + $object->previousNames = null; } if (\array_key_exists('priority', $data) && null !== $data['priority']) { - $object->setPriority($data['priority']); - } elseif (\array_key_exists('priority', $data) && null === $data['priority']) { - $object->setPriority(null); + $object->priority = $data['priority']; + } elseif (\array_key_exists('priority', $data)) { + $object->priority = null; } if (\array_key_exists('purpose', $data) && null !== $data['purpose']) { - $object->setPurpose($this->denormalizer->denormalize($data['purpose'], \JoliCode\Slack\Api\Model\ObjsChannelPurpose::class, 'json', $context)); - } elseif (\array_key_exists('purpose', $data) && null === $data['purpose']) { - $object->setPurpose(null); + $object->purpose = $this->denormalizer->denormalize($data['purpose'], \JoliCode\Slack\Api\Model\ObjsChannelPurpose::class, 'json', $context); + } elseif (\array_key_exists('purpose', $data)) { + $object->purpose = null; } if (\array_key_exists('topic', $data) && null !== $data['topic']) { - $object->setTopic($this->denormalizer->denormalize($data['topic'], \JoliCode\Slack\Api\Model\ObjsChannelTopic::class, 'json', $context)); - } elseif (\array_key_exists('topic', $data) && null === $data['topic']) { - $object->setTopic(null); + $object->topic = $this->denormalizer->denormalize($data['topic'], \JoliCode\Slack\Api\Model\ObjsChannelTopic::class, 'json', $context); + } elseif (\array_key_exists('topic', $data)) { + $object->topic = null; } if (\array_key_exists('unlinked', $data) && null !== $data['unlinked']) { - $object->setUnlinked($data['unlinked']); - } elseif (\array_key_exists('unlinked', $data) && null === $data['unlinked']) { - $object->setUnlinked(null); + $object->unlinked = $data['unlinked']; + } elseif (\array_key_exists('unlinked', $data)) { + $object->unlinked = null; } if (\array_key_exists('unread_count', $data) && null !== $data['unread_count']) { - $object->setUnreadCount($data['unread_count']); - } elseif (\array_key_exists('unread_count', $data) && null === $data['unread_count']) { - $object->setUnreadCount(null); + $object->unreadCount = $data['unread_count']; + } elseif (\array_key_exists('unread_count', $data)) { + $object->unreadCount = null; } if (\array_key_exists('unread_count_display', $data) && null !== $data['unread_count_display']) { - $object->setUnreadCountDisplay($data['unread_count_display']); - } elseif (\array_key_exists('unread_count_display', $data) && null === $data['unread_count_display']) { - $object->setUnreadCountDisplay(null); + $object->unreadCountDisplay = $data['unread_count_display']; + } elseif (\array_key_exists('unread_count_display', $data)) { + $object->unreadCountDisplay = null; } return $object; @@ -273,87 +273,89 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('acceptedUser') && null !== $data->getAcceptedUser()) { - $dataArray['accepted_user'] = $data->getAcceptedUser(); + if (\array_key_exists('acceptedUser', get_object_vars($data)) && null !== ($data->acceptedUser ?? null)) { + $dataArray['accepted_user'] = $data->acceptedUser; } - $dataArray['created'] = $data->getCreated(); - $dataArray['creator'] = $data->getCreator(); - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('isArchived') && null !== $data->getIsArchived()) { - $dataArray['is_archived'] = $data->getIsArchived(); + $dataArray['created'] = $data->created; + $dataArray['creator'] = $data->creator; + $dataArray['id'] = $data->id; + if (\array_key_exists('isArchived', get_object_vars($data)) && null !== ($data->isArchived ?? null)) { + $dataArray['is_archived'] = $data->isArchived; } - $dataArray['is_channel'] = $data->getIsChannel(); - if ($data->isInitialized('isFrozen') && null !== $data->getIsFrozen()) { - $dataArray['is_frozen'] = $data->getIsFrozen(); + $dataArray['is_channel'] = $data->isChannel; + if (\array_key_exists('isFrozen', get_object_vars($data)) && null !== ($data->isFrozen ?? null)) { + $dataArray['is_frozen'] = $data->isFrozen; } - if ($data->isInitialized('isGeneral') && null !== $data->getIsGeneral()) { - $dataArray['is_general'] = $data->getIsGeneral(); + if (\array_key_exists('isGeneral', get_object_vars($data)) && null !== ($data->isGeneral ?? null)) { + $dataArray['is_general'] = $data->isGeneral; } - if ($data->isInitialized('isMember') && null !== $data->getIsMember()) { - $dataArray['is_member'] = $data->getIsMember(); + if (\array_key_exists('isMember', get_object_vars($data)) && null !== ($data->isMember ?? null)) { + $dataArray['is_member'] = $data->isMember; } - if ($data->isInitialized('isMoved') && null !== $data->getIsMoved()) { - $dataArray['is_moved'] = $data->getIsMoved(); + if (\array_key_exists('isMoved', get_object_vars($data)) && null !== ($data->isMoved ?? null)) { + $dataArray['is_moved'] = $data->isMoved; } - $dataArray['is_mpim'] = $data->getIsMpim(); - if ($data->isInitialized('isNonThreadable') && null !== $data->getIsNonThreadable()) { - $dataArray['is_non_threadable'] = $data->getIsNonThreadable(); + $dataArray['is_mpim'] = $data->isMpim; + if (\array_key_exists('isNonThreadable', get_object_vars($data)) && null !== ($data->isNonThreadable ?? null)) { + $dataArray['is_non_threadable'] = $data->isNonThreadable; } - $dataArray['is_org_shared'] = $data->getIsOrgShared(); - if ($data->isInitialized('isPendingExtShared') && null !== $data->getIsPendingExtShared()) { - $dataArray['is_pending_ext_shared'] = $data->getIsPendingExtShared(); + $dataArray['is_org_shared'] = $data->isOrgShared; + if (\array_key_exists('isPendingExtShared', get_object_vars($data)) && null !== ($data->isPendingExtShared ?? null)) { + $dataArray['is_pending_ext_shared'] = $data->isPendingExtShared; } - $dataArray['is_private'] = $data->getIsPrivate(); - if ($data->isInitialized('isReadOnly') && null !== $data->getIsReadOnly()) { - $dataArray['is_read_only'] = $data->getIsReadOnly(); + $dataArray['is_private'] = $data->isPrivate; + if (\array_key_exists('isReadOnly', get_object_vars($data)) && null !== ($data->isReadOnly ?? null)) { + $dataArray['is_read_only'] = $data->isReadOnly; } - $dataArray['is_shared'] = $data->getIsShared(); - if ($data->isInitialized('isThreadOnly') && null !== $data->getIsThreadOnly()) { - $dataArray['is_thread_only'] = $data->getIsThreadOnly(); + $dataArray['is_shared'] = $data->isShared; + if (\array_key_exists('isThreadOnly', get_object_vars($data)) && null !== ($data->isThreadOnly ?? null)) { + $dataArray['is_thread_only'] = $data->isThreadOnly; } - if ($data->isInitialized('lastRead') && null !== $data->getLastRead()) { - $dataArray['last_read'] = $data->getLastRead(); + if (\array_key_exists('lastRead', get_object_vars($data)) && null !== ($data->lastRead ?? null)) { + $dataArray['last_read'] = $data->lastRead; } - if ($data->isInitialized('latest') && null !== $data->getLatest()) { - $dataArray['latest'] = $data->getLatest(); + if (\array_key_exists('latest', get_object_vars($data)) && null !== ($data->latest ?? null)) { + $dataArray['latest'] = $data->latest; } $values = []; - foreach ($data->getMembers() as $value) { + foreach ($data->members as $value) { $values[] = $value; } $dataArray['members'] = $values; - $dataArray['name'] = $data->getName(); - $dataArray['name_normalized'] = $data->getNameNormalized(); - if ($data->isInitialized('numMembers') && null !== $data->getNumMembers()) { - $dataArray['num_members'] = $data->getNumMembers(); + $dataArray['name'] = $data->name; + $dataArray['name_normalized'] = $data->nameNormalized; + if (\array_key_exists('numMembers', get_object_vars($data)) && null !== ($data->numMembers ?? null)) { + $dataArray['num_members'] = $data->numMembers; } - if ($data->isInitialized('pendingShared') && null !== $data->getPendingShared()) { + if (\array_key_exists('pendingShared', get_object_vars($data)) && null !== ($data->pendingShared ?? null)) { $values_1 = []; - foreach ($data->getPendingShared() as $value_1) { + foreach ($data->pendingShared as $value_1) { $values_1[] = $value_1; } $dataArray['pending_shared'] = $values_1; } - if ($data->isInitialized('previousNames') && null !== $data->getPreviousNames()) { + if (\array_key_exists('previousNames', get_object_vars($data)) && null !== ($data->previousNames ?? null)) { $values_2 = []; - foreach ($data->getPreviousNames() as $value_2) { + foreach ($data->previousNames as $value_2) { $values_2[] = $value_2; } $dataArray['previous_names'] = $values_2; } - if ($data->isInitialized('priority') && null !== $data->getPriority()) { - $dataArray['priority'] = $data->getPriority(); + if (\array_key_exists('priority', get_object_vars($data)) && null !== ($data->priority ?? null)) { + $dataArray['priority'] = $data->priority; } - $dataArray['purpose'] = null === $data->getPurpose() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPurpose(), 'json', $context)); - $dataArray['topic'] = null === $data->getTopic() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTopic(), 'json', $context)); - if ($data->isInitialized('unlinked') && null !== $data->getUnlinked()) { - $dataArray['unlinked'] = $data->getUnlinked(); + $normalized = null === $data->purpose ? null : $this->normalizer->normalize($data->purpose, 'json', $context); + $dataArray['purpose'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->topic ? null : $this->normalizer->normalize($data->topic, 'json', $context); + $dataArray['topic'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + if (\array_key_exists('unlinked', get_object_vars($data)) && null !== ($data->unlinked ?? null)) { + $dataArray['unlinked'] = $data->unlinked; } - if ($data->isInitialized('unreadCount') && null !== $data->getUnreadCount()) { - $dataArray['unread_count'] = $data->getUnreadCount(); + if (\array_key_exists('unreadCount', get_object_vars($data)) && null !== ($data->unreadCount ?? null)) { + $dataArray['unread_count'] = $data->unreadCount; } - if ($data->isInitialized('unreadCountDisplay') && null !== $data->getUnreadCountDisplay()) { - $dataArray['unread_count_display'] = $data->getUnreadCountDisplay(); + if (\array_key_exists('unreadCountDisplay', get_object_vars($data)) && null !== ($data->unreadCountDisplay ?? null)) { + $dataArray['unread_count_display'] = $data->unreadCountDisplay; } return $dataArray; diff --git a/generated/Normalizer/ObjsChannelPurposeNormalizer.php b/generated/Normalizer/ObjsChannelPurposeNormalizer.php index cafa5ea7..298e6e68 100644 --- a/generated/Normalizer/ObjsChannelPurposeNormalizer.php +++ b/generated/Normalizer/ObjsChannelPurposeNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('last_set', $data) && null !== $data['last_set']) { - $object->setLastSet($data['last_set']); - } elseif (\array_key_exists('last_set', $data) && null === $data['last_set']) { - $object->setLastSet(null); + $object->lastSet = $data['last_set']; + } elseif (\array_key_exists('last_set', $data)) { + $object->lastSet = null; } if (\array_key_exists('value', $data) && null !== $data['value']) { - $object->setValue($data['value']); - } elseif (\array_key_exists('value', $data) && null === $data['value']) { - $object->setValue(null); + $object->value = $data['value']; + } elseif (\array_key_exists('value', $data)) { + $object->value = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['creator'] = $data->getCreator(); - $dataArray['last_set'] = $data->getLastSet(); - $dataArray['value'] = $data->getValue(); + $dataArray['creator'] = $data->creator; + $dataArray['last_set'] = $data->lastSet; + $dataArray['value'] = $data->value; return $dataArray; } diff --git a/generated/Normalizer/ObjsChannelTopicNormalizer.php b/generated/Normalizer/ObjsChannelTopicNormalizer.php index 1be8c7d1..7a004c08 100644 --- a/generated/Normalizer/ObjsChannelTopicNormalizer.php +++ b/generated/Normalizer/ObjsChannelTopicNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('last_set', $data) && null !== $data['last_set']) { - $object->setLastSet($data['last_set']); - } elseif (\array_key_exists('last_set', $data) && null === $data['last_set']) { - $object->setLastSet(null); + $object->lastSet = $data['last_set']; + } elseif (\array_key_exists('last_set', $data)) { + $object->lastSet = null; } if (\array_key_exists('value', $data) && null !== $data['value']) { - $object->setValue($data['value']); - } elseif (\array_key_exists('value', $data) && null === $data['value']) { - $object->setValue(null); + $object->value = $data['value']; + } elseif (\array_key_exists('value', $data)) { + $object->value = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['creator'] = $data->getCreator(); - $dataArray['last_set'] = $data->getLastSet(); - $dataArray['value'] = $data->getValue(); + $dataArray['creator'] = $data->creator; + $dataArray['last_set'] = $data->lastSet; + $dataArray['value'] = $data->value; return $dataArray; } diff --git a/generated/Normalizer/ObjsCommentNormalizer.php b/generated/Normalizer/ObjsCommentNormalizer.php index d01b3556..96df458f 100644 --- a/generated/Normalizer/ObjsCommentNormalizer.php +++ b/generated/Normalizer/ObjsCommentNormalizer.php @@ -59,57 +59,57 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_starred'] = (bool) $data['is_starred']; } if (\array_key_exists('comment', $data) && null !== $data['comment']) { - $object->setComment($data['comment']); - } elseif (\array_key_exists('comment', $data) && null === $data['comment']) { - $object->setComment(null); + $object->comment = $data['comment']; + } elseif (\array_key_exists('comment', $data)) { + $object->comment = null; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_intro', $data) && null !== $data['is_intro']) { - $object->setIsIntro($data['is_intro']); - } elseif (\array_key_exists('is_intro', $data) && null === $data['is_intro']) { - $object->setIsIntro(null); + $object->isIntro = $data['is_intro']; + } elseif (\array_key_exists('is_intro', $data)) { + $object->isIntro = null; } if (\array_key_exists('is_starred', $data) && null !== $data['is_starred']) { - $object->setIsStarred($data['is_starred']); - } elseif (\array_key_exists('is_starred', $data) && null === $data['is_starred']) { - $object->setIsStarred(null); + $object->isStarred = $data['is_starred']; + } elseif (\array_key_exists('is_starred', $data)) { + $object->isStarred = null; } if (\array_key_exists('num_stars', $data) && null !== $data['num_stars']) { - $object->setNumStars($data['num_stars']); - } elseif (\array_key_exists('num_stars', $data) && null === $data['num_stars']) { - $object->setNumStars(null); + $object->numStars = $data['num_stars']; + } elseif (\array_key_exists('num_stars', $data)) { + $object->numStars = null; } if (\array_key_exists('pinned_info', $data) && null !== $data['pinned_info']) { - $object->setPinnedInfo($data['pinned_info']); - } elseif (\array_key_exists('pinned_info', $data) && null === $data['pinned_info']) { - $object->setPinnedInfo(null); + $object->pinnedInfo = $data['pinned_info']; + } elseif (\array_key_exists('pinned_info', $data)) { + $object->pinnedInfo = null; } if (\array_key_exists('pinned_to', $data) && null !== $data['pinned_to']) { $values = []; foreach ($data['pinned_to'] as $value) { $values[] = $value; } - $object->setPinnedTo($values); - } elseif (\array_key_exists('pinned_to', $data) && null === $data['pinned_to']) { - $object->setPinnedTo(null); + $object->pinnedTo = $values; + } elseif (\array_key_exists('pinned_to', $data)) { + $object->pinnedTo = null; } if (\array_key_exists('reactions', $data) && null !== $data['reactions']) { $values_1 = []; foreach ($data['reactions'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, \JoliCode\Slack\Api\Model\ObjsReaction::class, 'json', $context); } - $object->setReactions($values_1); - } elseif (\array_key_exists('reactions', $data) && null === $data['reactions']) { - $object->setReactions(null); + $object->reactions = $values_1; + } elseif (\array_key_exists('reactions', $data)) { + $object->reactions = null; } if (\array_key_exists('timestamp', $data) && null !== $data['timestamp']) { $value_2 = $data['timestamp']; @@ -118,14 +118,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a } elseif (\is_string($data['timestamp'])) { $value_2 = $data['timestamp']; } - $object->setTimestamp($value_2); - } elseif (\array_key_exists('timestamp', $data) && null === $data['timestamp']) { - $object->setTimestamp(null); + $object->timestamp = $value_2; + } elseif (\array_key_exists('timestamp', $data)) { + $object->timestamp = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -134,41 +134,42 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['comment'] = $data->getComment(); - $dataArray['created'] = $data->getCreated(); - $dataArray['id'] = $data->getId(); - $dataArray['is_intro'] = $data->getIsIntro(); - if ($data->isInitialized('isStarred') && null !== $data->getIsStarred()) { - $dataArray['is_starred'] = $data->getIsStarred(); + $dataArray['comment'] = $data->comment; + $dataArray['created'] = $data->created; + $dataArray['id'] = $data->id; + $dataArray['is_intro'] = $data->isIntro; + if (\array_key_exists('isStarred', get_object_vars($data)) && null !== ($data->isStarred ?? null)) { + $dataArray['is_starred'] = $data->isStarred; } - if ($data->isInitialized('numStars') && null !== $data->getNumStars()) { - $dataArray['num_stars'] = $data->getNumStars(); + if (\array_key_exists('numStars', get_object_vars($data)) && null !== ($data->numStars ?? null)) { + $dataArray['num_stars'] = $data->numStars; } - if ($data->isInitialized('pinnedInfo') && null !== $data->getPinnedInfo()) { - $dataArray['pinned_info'] = $data->getPinnedInfo(); + if (\array_key_exists('pinnedInfo', get_object_vars($data)) && null !== ($data->pinnedInfo ?? null)) { + $dataArray['pinned_info'] = $data->pinnedInfo; } - if ($data->isInitialized('pinnedTo') && null !== $data->getPinnedTo()) { + if (\array_key_exists('pinnedTo', get_object_vars($data)) && null !== ($data->pinnedTo ?? null)) { $values = []; - foreach ($data->getPinnedTo() as $value) { + foreach ($data->pinnedTo as $value) { $values[] = $value; } $dataArray['pinned_to'] = $values; } - if ($data->isInitialized('reactions') && null !== $data->getReactions()) { + if (\array_key_exists('reactions', get_object_vars($data)) && null !== ($data->reactions ?? null)) { $values_1 = []; - foreach ($data->getReactions() as $value_1) { - $values_1[] = null === $value_1 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_1, 'json', $context)); + foreach ($data->reactions as $value_1) { + $normalized = null === $value_1 ? null : $this->normalizer->normalize($value_1, 'json', $context); + $values_1[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['reactions'] = $values_1; } - $value_2 = $data->getTimestamp(); - if (\is_int($data->getTimestamp())) { - $value_2 = $data->getTimestamp(); - } elseif (\is_string($data->getTimestamp())) { - $value_2 = $data->getTimestamp(); + $value_2 = $data->timestamp; + if (\is_int($data->timestamp)) { + $value_2 = $data->timestamp; + } elseif (\is_string($data->timestamp)) { + $value_2 = $data->timestamp; } $dataArray['timestamp'] = $value_2; - $dataArray['user'] = $data->getUser(); + $dataArray['user'] = $data->user; return $dataArray; } diff --git a/generated/Normalizer/ObjsConversationDisplayCountsNormalizer.php b/generated/Normalizer/ObjsConversationDisplayCountsNormalizer.php index c38f1699..879dd7ab 100644 --- a/generated/Normalizer/ObjsConversationDisplayCountsNormalizer.php +++ b/generated/Normalizer/ObjsConversationDisplayCountsNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('display_counts', $data) && null !== $data['display_counts']) { - $object->setDisplayCounts($data['display_counts']); - } elseif (\array_key_exists('display_counts', $data) && null === $data['display_counts']) { - $object->setDisplayCounts(null); + $object->displayCounts = $data['display_counts']; + } elseif (\array_key_exists('display_counts', $data)) { + $object->displayCounts = null; } if (\array_key_exists('guest_counts', $data) && null !== $data['guest_counts']) { - $object->setGuestCounts($data['guest_counts']); - } elseif (\array_key_exists('guest_counts', $data) && null === $data['guest_counts']) { - $object->setGuestCounts(null); + $object->guestCounts = $data['guest_counts']; + } elseif (\array_key_exists('guest_counts', $data)) { + $object->guestCounts = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['display_counts'] = $data->getDisplayCounts(); - $dataArray['guest_counts'] = $data->getGuestCounts(); + $dataArray['display_counts'] = $data->displayCounts; + $dataArray['guest_counts'] = $data->guestCounts; return $dataArray; } diff --git a/generated/Normalizer/ObjsConversationNormalizer.php b/generated/Normalizer/ObjsConversationNormalizer.php index dd438c90..d4edb8c2 100644 --- a/generated/Normalizer/ObjsConversationNormalizer.php +++ b/generated/Normalizer/ObjsConversationNormalizer.php @@ -125,321 +125,321 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_user_deleted'] = (bool) $data['is_user_deleted']; } if (\array_key_exists('accepted_user', $data) && null !== $data['accepted_user']) { - $object->setAcceptedUser($data['accepted_user']); - } elseif (\array_key_exists('accepted_user', $data) && null === $data['accepted_user']) { - $object->setAcceptedUser(null); + $object->acceptedUser = $data['accepted_user']; + } elseif (\array_key_exists('accepted_user', $data)) { + $object->acceptedUser = null; } if (\array_key_exists('connected_team_ids', $data) && null !== $data['connected_team_ids']) { $values = []; foreach ($data['connected_team_ids'] as $value) { $values[] = $value; } - $object->setConnectedTeamIds($values); - } elseif (\array_key_exists('connected_team_ids', $data) && null === $data['connected_team_ids']) { - $object->setConnectedTeamIds(null); + $object->connectedTeamIds = $values; + } elseif (\array_key_exists('connected_team_ids', $data)) { + $object->connectedTeamIds = null; } if (\array_key_exists('conversation_host_id', $data) && null !== $data['conversation_host_id']) { - $object->setConversationHostId($data['conversation_host_id']); - } elseif (\array_key_exists('conversation_host_id', $data) && null === $data['conversation_host_id']) { - $object->setConversationHostId(null); + $object->conversationHostId = $data['conversation_host_id']; + } elseif (\array_key_exists('conversation_host_id', $data)) { + $object->conversationHostId = null; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('display_counts', $data) && null !== $data['display_counts']) { - $object->setDisplayCounts($this->denormalizer->denormalize($data['display_counts'], \JoliCode\Slack\Api\Model\ObjsConversationDisplayCounts::class, 'json', $context)); - } elseif (\array_key_exists('display_counts', $data) && null === $data['display_counts']) { - $object->setDisplayCounts(null); + $object->displayCounts = $this->denormalizer->denormalize($data['display_counts'], \JoliCode\Slack\Api\Model\ObjsConversationDisplayCounts::class, 'json', $context); + } elseif (\array_key_exists('display_counts', $data)) { + $object->displayCounts = null; } if (\array_key_exists('enterprise_id', $data) && null !== $data['enterprise_id']) { - $object->setEnterpriseId($data['enterprise_id']); - } elseif (\array_key_exists('enterprise_id', $data) && null === $data['enterprise_id']) { - $object->setEnterpriseId(null); + $object->enterpriseId = $data['enterprise_id']; + } elseif (\array_key_exists('enterprise_id', $data)) { + $object->enterpriseId = null; } if (\array_key_exists('has_pins', $data) && null !== $data['has_pins']) { - $object->setHasPins($data['has_pins']); - } elseif (\array_key_exists('has_pins', $data) && null === $data['has_pins']) { - $object->setHasPins(null); + $object->hasPins = $data['has_pins']; + } elseif (\array_key_exists('has_pins', $data)) { + $object->hasPins = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('internal_team_ids', $data) && null !== $data['internal_team_ids']) { $values_1 = []; foreach ($data['internal_team_ids'] as $value_1) { $values_1[] = $value_1; } - $object->setInternalTeamIds($values_1); - } elseif (\array_key_exists('internal_team_ids', $data) && null === $data['internal_team_ids']) { - $object->setInternalTeamIds(null); + $object->internalTeamIds = $values_1; + } elseif (\array_key_exists('internal_team_ids', $data)) { + $object->internalTeamIds = null; } if (\array_key_exists('is_archived', $data) && null !== $data['is_archived']) { - $object->setIsArchived($data['is_archived']); - } elseif (\array_key_exists('is_archived', $data) && null === $data['is_archived']) { - $object->setIsArchived(null); + $object->isArchived = $data['is_archived']; + } elseif (\array_key_exists('is_archived', $data)) { + $object->isArchived = null; } if (\array_key_exists('is_channel', $data) && null !== $data['is_channel']) { - $object->setIsChannel($data['is_channel']); - } elseif (\array_key_exists('is_channel', $data) && null === $data['is_channel']) { - $object->setIsChannel(null); + $object->isChannel = $data['is_channel']; + } elseif (\array_key_exists('is_channel', $data)) { + $object->isChannel = null; } if (\array_key_exists('is_ext_shared', $data) && null !== $data['is_ext_shared']) { - $object->setIsExtShared($data['is_ext_shared']); - } elseif (\array_key_exists('is_ext_shared', $data) && null === $data['is_ext_shared']) { - $object->setIsExtShared(null); + $object->isExtShared = $data['is_ext_shared']; + } elseif (\array_key_exists('is_ext_shared', $data)) { + $object->isExtShared = null; } if (\array_key_exists('is_frozen', $data) && null !== $data['is_frozen']) { - $object->setIsFrozen($data['is_frozen']); - } elseif (\array_key_exists('is_frozen', $data) && null === $data['is_frozen']) { - $object->setIsFrozen(null); + $object->isFrozen = $data['is_frozen']; + } elseif (\array_key_exists('is_frozen', $data)) { + $object->isFrozen = null; } if (\array_key_exists('is_general', $data) && null !== $data['is_general']) { - $object->setIsGeneral($data['is_general']); - } elseif (\array_key_exists('is_general', $data) && null === $data['is_general']) { - $object->setIsGeneral(null); + $object->isGeneral = $data['is_general']; + } elseif (\array_key_exists('is_general', $data)) { + $object->isGeneral = null; } if (\array_key_exists('is_global_shared', $data) && null !== $data['is_global_shared']) { - $object->setIsGlobalShared($data['is_global_shared']); - } elseif (\array_key_exists('is_global_shared', $data) && null === $data['is_global_shared']) { - $object->setIsGlobalShared(null); + $object->isGlobalShared = $data['is_global_shared']; + } elseif (\array_key_exists('is_global_shared', $data)) { + $object->isGlobalShared = null; } if (\array_key_exists('is_group', $data) && null !== $data['is_group']) { - $object->setIsGroup($data['is_group']); - } elseif (\array_key_exists('is_group', $data) && null === $data['is_group']) { - $object->setIsGroup(null); + $object->isGroup = $data['is_group']; + } elseif (\array_key_exists('is_group', $data)) { + $object->isGroup = null; } if (\array_key_exists('is_im', $data) && null !== $data['is_im']) { - $object->setIsIm($data['is_im']); - } elseif (\array_key_exists('is_im', $data) && null === $data['is_im']) { - $object->setIsIm(null); + $object->isIm = $data['is_im']; + } elseif (\array_key_exists('is_im', $data)) { + $object->isIm = null; } if (\array_key_exists('is_member', $data) && null !== $data['is_member']) { - $object->setIsMember($data['is_member']); - } elseif (\array_key_exists('is_member', $data) && null === $data['is_member']) { - $object->setIsMember(null); + $object->isMember = $data['is_member']; + } elseif (\array_key_exists('is_member', $data)) { + $object->isMember = null; } if (\array_key_exists('is_moved', $data) && null !== $data['is_moved']) { - $object->setIsMoved($data['is_moved']); - } elseif (\array_key_exists('is_moved', $data) && null === $data['is_moved']) { - $object->setIsMoved(null); + $object->isMoved = $data['is_moved']; + } elseif (\array_key_exists('is_moved', $data)) { + $object->isMoved = null; } if (\array_key_exists('is_mpim', $data) && null !== $data['is_mpim']) { - $object->setIsMpim($data['is_mpim']); - } elseif (\array_key_exists('is_mpim', $data) && null === $data['is_mpim']) { - $object->setIsMpim(null); + $object->isMpim = $data['is_mpim']; + } elseif (\array_key_exists('is_mpim', $data)) { + $object->isMpim = null; } if (\array_key_exists('is_non_threadable', $data) && null !== $data['is_non_threadable']) { - $object->setIsNonThreadable($data['is_non_threadable']); - } elseif (\array_key_exists('is_non_threadable', $data) && null === $data['is_non_threadable']) { - $object->setIsNonThreadable(null); + $object->isNonThreadable = $data['is_non_threadable']; + } elseif (\array_key_exists('is_non_threadable', $data)) { + $object->isNonThreadable = null; } if (\array_key_exists('is_open', $data) && null !== $data['is_open']) { - $object->setIsOpen($data['is_open']); - } elseif (\array_key_exists('is_open', $data) && null === $data['is_open']) { - $object->setIsOpen(null); + $object->isOpen = $data['is_open']; + } elseif (\array_key_exists('is_open', $data)) { + $object->isOpen = null; } if (\array_key_exists('is_org_default', $data) && null !== $data['is_org_default']) { - $object->setIsOrgDefault($data['is_org_default']); - } elseif (\array_key_exists('is_org_default', $data) && null === $data['is_org_default']) { - $object->setIsOrgDefault(null); + $object->isOrgDefault = $data['is_org_default']; + } elseif (\array_key_exists('is_org_default', $data)) { + $object->isOrgDefault = null; } if (\array_key_exists('is_org_mandatory', $data) && null !== $data['is_org_mandatory']) { - $object->setIsOrgMandatory($data['is_org_mandatory']); - } elseif (\array_key_exists('is_org_mandatory', $data) && null === $data['is_org_mandatory']) { - $object->setIsOrgMandatory(null); + $object->isOrgMandatory = $data['is_org_mandatory']; + } elseif (\array_key_exists('is_org_mandatory', $data)) { + $object->isOrgMandatory = null; } if (\array_key_exists('is_org_shared', $data) && null !== $data['is_org_shared']) { - $object->setIsOrgShared($data['is_org_shared']); - } elseif (\array_key_exists('is_org_shared', $data) && null === $data['is_org_shared']) { - $object->setIsOrgShared(null); + $object->isOrgShared = $data['is_org_shared']; + } elseif (\array_key_exists('is_org_shared', $data)) { + $object->isOrgShared = null; } if (\array_key_exists('is_pending_ext_shared', $data) && null !== $data['is_pending_ext_shared']) { - $object->setIsPendingExtShared($data['is_pending_ext_shared']); - } elseif (\array_key_exists('is_pending_ext_shared', $data) && null === $data['is_pending_ext_shared']) { - $object->setIsPendingExtShared(null); + $object->isPendingExtShared = $data['is_pending_ext_shared']; + } elseif (\array_key_exists('is_pending_ext_shared', $data)) { + $object->isPendingExtShared = null; } if (\array_key_exists('is_private', $data) && null !== $data['is_private']) { - $object->setIsPrivate($data['is_private']); - } elseif (\array_key_exists('is_private', $data) && null === $data['is_private']) { - $object->setIsPrivate(null); + $object->isPrivate = $data['is_private']; + } elseif (\array_key_exists('is_private', $data)) { + $object->isPrivate = null; } if (\array_key_exists('is_read_only', $data) && null !== $data['is_read_only']) { - $object->setIsReadOnly($data['is_read_only']); - } elseif (\array_key_exists('is_read_only', $data) && null === $data['is_read_only']) { - $object->setIsReadOnly(null); + $object->isReadOnly = $data['is_read_only']; + } elseif (\array_key_exists('is_read_only', $data)) { + $object->isReadOnly = null; } if (\array_key_exists('is_shared', $data) && null !== $data['is_shared']) { - $object->setIsShared($data['is_shared']); - } elseif (\array_key_exists('is_shared', $data) && null === $data['is_shared']) { - $object->setIsShared(null); + $object->isShared = $data['is_shared']; + } elseif (\array_key_exists('is_shared', $data)) { + $object->isShared = null; } if (\array_key_exists('is_starred', $data) && null !== $data['is_starred']) { - $object->setIsStarred($data['is_starred']); - } elseif (\array_key_exists('is_starred', $data) && null === $data['is_starred']) { - $object->setIsStarred(null); + $object->isStarred = $data['is_starred']; + } elseif (\array_key_exists('is_starred', $data)) { + $object->isStarred = null; } if (\array_key_exists('is_thread_only', $data) && null !== $data['is_thread_only']) { - $object->setIsThreadOnly($data['is_thread_only']); - } elseif (\array_key_exists('is_thread_only', $data) && null === $data['is_thread_only']) { - $object->setIsThreadOnly(null); + $object->isThreadOnly = $data['is_thread_only']; + } elseif (\array_key_exists('is_thread_only', $data)) { + $object->isThreadOnly = null; } if (\array_key_exists('is_user_deleted', $data) && null !== $data['is_user_deleted']) { - $object->setIsUserDeleted($data['is_user_deleted']); - } elseif (\array_key_exists('is_user_deleted', $data) && null === $data['is_user_deleted']) { - $object->setIsUserDeleted(null); + $object->isUserDeleted = $data['is_user_deleted']; + } elseif (\array_key_exists('is_user_deleted', $data)) { + $object->isUserDeleted = null; } if (\array_key_exists('last_read', $data) && null !== $data['last_read']) { - $object->setLastRead($data['last_read']); - } elseif (\array_key_exists('last_read', $data) && null === $data['last_read']) { - $object->setLastRead(null); + $object->lastRead = $data['last_read']; + } elseif (\array_key_exists('last_read', $data)) { + $object->lastRead = null; } if (\array_key_exists('latest', $data) && null !== $data['latest']) { - $object->setLatest($data['latest']); - } elseif (\array_key_exists('latest', $data) && null === $data['latest']) { - $object->setLatest(null); + $object->latest = $data['latest']; + } elseif (\array_key_exists('latest', $data)) { + $object->latest = null; } if (\array_key_exists('locale', $data) && null !== $data['locale']) { - $object->setLocale($data['locale']); - } elseif (\array_key_exists('locale', $data) && null === $data['locale']) { - $object->setLocale(null); + $object->locale = $data['locale']; + } elseif (\array_key_exists('locale', $data)) { + $object->locale = null; } if (\array_key_exists('members', $data) && null !== $data['members']) { $values_2 = []; foreach ($data['members'] as $value_2) { $values_2[] = $value_2; } - $object->setMembers($values_2); - } elseif (\array_key_exists('members', $data) && null === $data['members']) { - $object->setMembers(null); + $object->members = $values_2; + } elseif (\array_key_exists('members', $data)) { + $object->members = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('name_normalized', $data) && null !== $data['name_normalized']) { - $object->setNameNormalized($data['name_normalized']); - } elseif (\array_key_exists('name_normalized', $data) && null === $data['name_normalized']) { - $object->setNameNormalized(null); + $object->nameNormalized = $data['name_normalized']; + } elseif (\array_key_exists('name_normalized', $data)) { + $object->nameNormalized = null; } if (\array_key_exists('num_members', $data) && null !== $data['num_members']) { - $object->setNumMembers($data['num_members']); - } elseif (\array_key_exists('num_members', $data) && null === $data['num_members']) { - $object->setNumMembers(null); + $object->numMembers = $data['num_members']; + } elseif (\array_key_exists('num_members', $data)) { + $object->numMembers = null; } if (\array_key_exists('parent_conversation', $data) && null !== $data['parent_conversation']) { - $object->setParentConversation($data['parent_conversation']); - } elseif (\array_key_exists('parent_conversation', $data) && null === $data['parent_conversation']) { - $object->setParentConversation(null); + $object->parentConversation = $data['parent_conversation']; + } elseif (\array_key_exists('parent_conversation', $data)) { + $object->parentConversation = null; } if (\array_key_exists('pending_connected_team_ids', $data) && null !== $data['pending_connected_team_ids']) { $values_3 = []; foreach ($data['pending_connected_team_ids'] as $value_3) { $values_3[] = $value_3; } - $object->setPendingConnectedTeamIds($values_3); - } elseif (\array_key_exists('pending_connected_team_ids', $data) && null === $data['pending_connected_team_ids']) { - $object->setPendingConnectedTeamIds(null); + $object->pendingConnectedTeamIds = $values_3; + } elseif (\array_key_exists('pending_connected_team_ids', $data)) { + $object->pendingConnectedTeamIds = null; } if (\array_key_exists('pending_shared', $data) && null !== $data['pending_shared']) { $values_4 = []; foreach ($data['pending_shared'] as $value_4) { $values_4[] = $value_4; } - $object->setPendingShared($values_4); - } elseif (\array_key_exists('pending_shared', $data) && null === $data['pending_shared']) { - $object->setPendingShared(null); + $object->pendingShared = $values_4; + } elseif (\array_key_exists('pending_shared', $data)) { + $object->pendingShared = null; } if (\array_key_exists('pin_count', $data) && null !== $data['pin_count']) { - $object->setPinCount($data['pin_count']); - } elseif (\array_key_exists('pin_count', $data) && null === $data['pin_count']) { - $object->setPinCount(null); + $object->pinCount = $data['pin_count']; + } elseif (\array_key_exists('pin_count', $data)) { + $object->pinCount = null; } if (\array_key_exists('previous_names', $data) && null !== $data['previous_names']) { $values_5 = []; foreach ($data['previous_names'] as $value_5) { $values_5[] = $value_5; } - $object->setPreviousNames($values_5); - } elseif (\array_key_exists('previous_names', $data) && null === $data['previous_names']) { - $object->setPreviousNames(null); + $object->previousNames = $values_5; + } elseif (\array_key_exists('previous_names', $data)) { + $object->previousNames = null; } if (\array_key_exists('priority', $data) && null !== $data['priority']) { - $object->setPriority($data['priority']); - } elseif (\array_key_exists('priority', $data) && null === $data['priority']) { - $object->setPriority(null); + $object->priority = $data['priority']; + } elseif (\array_key_exists('priority', $data)) { + $object->priority = null; } if (\array_key_exists('purpose', $data) && null !== $data['purpose']) { - $object->setPurpose($this->denormalizer->denormalize($data['purpose'], \JoliCode\Slack\Api\Model\ObjsConversationPurpose::class, 'json', $context)); - } elseif (\array_key_exists('purpose', $data) && null === $data['purpose']) { - $object->setPurpose(null); + $object->purpose = $this->denormalizer->denormalize($data['purpose'], \JoliCode\Slack\Api\Model\ObjsConversationPurpose::class, 'json', $context); + } elseif (\array_key_exists('purpose', $data)) { + $object->purpose = null; } if (\array_key_exists('shared_team_ids', $data) && null !== $data['shared_team_ids']) { $values_6 = []; foreach ($data['shared_team_ids'] as $value_6) { $values_6[] = $value_6; } - $object->setSharedTeamIds($values_6); - } elseif (\array_key_exists('shared_team_ids', $data) && null === $data['shared_team_ids']) { - $object->setSharedTeamIds(null); + $object->sharedTeamIds = $values_6; + } elseif (\array_key_exists('shared_team_ids', $data)) { + $object->sharedTeamIds = null; } if (\array_key_exists('shares', $data) && null !== $data['shares']) { $values_7 = []; foreach ($data['shares'] as $value_7) { $values_7[] = $this->denormalizer->denormalize($value_7, \JoliCode\Slack\Api\Model\ObjsConversationSharesItem::class, 'json', $context); } - $object->setShares($values_7); - } elseif (\array_key_exists('shares', $data) && null === $data['shares']) { - $object->setShares(null); + $object->shares = $values_7; + } elseif (\array_key_exists('shares', $data)) { + $object->shares = null; } if (\array_key_exists('timezone_count', $data) && null !== $data['timezone_count']) { - $object->setTimezoneCount($data['timezone_count']); - } elseif (\array_key_exists('timezone_count', $data) && null === $data['timezone_count']) { - $object->setTimezoneCount(null); + $object->timezoneCount = $data['timezone_count']; + } elseif (\array_key_exists('timezone_count', $data)) { + $object->timezoneCount = null; } if (\array_key_exists('topic', $data) && null !== $data['topic']) { - $object->setTopic($this->denormalizer->denormalize($data['topic'], \JoliCode\Slack\Api\Model\ObjsConversationTopic::class, 'json', $context)); - } elseif (\array_key_exists('topic', $data) && null === $data['topic']) { - $object->setTopic(null); + $object->topic = $this->denormalizer->denormalize($data['topic'], \JoliCode\Slack\Api\Model\ObjsConversationTopic::class, 'json', $context); + } elseif (\array_key_exists('topic', $data)) { + $object->topic = null; } if (\array_key_exists('unlinked', $data) && null !== $data['unlinked']) { - $object->setUnlinked($data['unlinked']); - } elseif (\array_key_exists('unlinked', $data) && null === $data['unlinked']) { - $object->setUnlinked(null); + $object->unlinked = $data['unlinked']; + } elseif (\array_key_exists('unlinked', $data)) { + $object->unlinked = null; } if (\array_key_exists('unread_count', $data) && null !== $data['unread_count']) { - $object->setUnreadCount($data['unread_count']); - } elseif (\array_key_exists('unread_count', $data) && null === $data['unread_count']) { - $object->setUnreadCount(null); + $object->unreadCount = $data['unread_count']; + } elseif (\array_key_exists('unread_count', $data)) { + $object->unreadCount = null; } if (\array_key_exists('unread_count_display', $data) && null !== $data['unread_count_display']) { - $object->setUnreadCountDisplay($data['unread_count_display']); - } elseif (\array_key_exists('unread_count_display', $data) && null === $data['unread_count_display']) { - $object->setUnreadCountDisplay(null); + $object->unreadCountDisplay = $data['unread_count_display']; + } elseif (\array_key_exists('unread_count_display', $data)) { + $object->unreadCountDisplay = null; } if (\array_key_exists('use_case', $data) && null !== $data['use_case']) { - $object->setUseCase($data['use_case']); - } elseif (\array_key_exists('use_case', $data) && null === $data['use_case']) { - $object->setUseCase(null); + $object->useCase = $data['use_case']; + } elseif (\array_key_exists('use_case', $data)) { + $object->useCase = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('version', $data) && null !== $data['version']) { - $object->setVersion($data['version']); - } elseif (\array_key_exists('version', $data) && null === $data['version']) { - $object->setVersion(null); + $object->version = $data['version']; + } elseif (\array_key_exists('version', $data)) { + $object->version = null; } return $object; @@ -448,200 +448,204 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('acceptedUser') && null !== $data->getAcceptedUser()) { - $dataArray['accepted_user'] = $data->getAcceptedUser(); + if (\array_key_exists('acceptedUser', get_object_vars($data)) && null !== ($data->acceptedUser ?? null)) { + $dataArray['accepted_user'] = $data->acceptedUser; } - if ($data->isInitialized('connectedTeamIds') && null !== $data->getConnectedTeamIds()) { + if (\array_key_exists('connectedTeamIds', get_object_vars($data)) && null !== ($data->connectedTeamIds ?? null)) { $values = []; - foreach ($data->getConnectedTeamIds() as $value) { + foreach ($data->connectedTeamIds as $value) { $values[] = $value; } $dataArray['connected_team_ids'] = $values; } - if ($data->isInitialized('conversationHostId') && null !== $data->getConversationHostId()) { - $dataArray['conversation_host_id'] = $data->getConversationHostId(); + if (\array_key_exists('conversationHostId', get_object_vars($data)) && null !== ($data->conversationHostId ?? null)) { + $dataArray['conversation_host_id'] = $data->conversationHostId; } - $dataArray['created'] = $data->getCreated(); - if ($data->isInitialized('creator') && null !== $data->getCreator()) { - $dataArray['creator'] = $data->getCreator(); + $dataArray['created'] = $data->created; + if (\array_key_exists('creator', get_object_vars($data)) && null !== ($data->creator ?? null)) { + $dataArray['creator'] = $data->creator; } - if ($data->isInitialized('displayCounts') && null !== $data->getDisplayCounts()) { - $dataArray['display_counts'] = null === $data->getDisplayCounts() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getDisplayCounts(), 'json', $context)); + if (\array_key_exists('displayCounts', get_object_vars($data)) && null !== ($data->displayCounts ?? null)) { + $normalized = $this->normalizer->normalize($data->displayCounts, 'json', $context); + $dataArray['display_counts'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('enterpriseId') && null !== $data->getEnterpriseId()) { - $dataArray['enterprise_id'] = $data->getEnterpriseId(); + if (\array_key_exists('enterpriseId', get_object_vars($data)) && null !== ($data->enterpriseId ?? null)) { + $dataArray['enterprise_id'] = $data->enterpriseId; } - if ($data->isInitialized('hasPins') && null !== $data->getHasPins()) { - $dataArray['has_pins'] = $data->getHasPins(); + if (\array_key_exists('hasPins', get_object_vars($data)) && null !== ($data->hasPins ?? null)) { + $dataArray['has_pins'] = $data->hasPins; } - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('internalTeamIds') && null !== $data->getInternalTeamIds()) { + $dataArray['id'] = $data->id; + if (\array_key_exists('internalTeamIds', get_object_vars($data)) && null !== ($data->internalTeamIds ?? null)) { $values_1 = []; - foreach ($data->getInternalTeamIds() as $value_1) { + foreach ($data->internalTeamIds as $value_1) { $values_1[] = $value_1; } $dataArray['internal_team_ids'] = $values_1; } - if ($data->isInitialized('isArchived') && null !== $data->getIsArchived()) { - $dataArray['is_archived'] = $data->getIsArchived(); + if (\array_key_exists('isArchived', get_object_vars($data)) && null !== ($data->isArchived ?? null)) { + $dataArray['is_archived'] = $data->isArchived; } - if ($data->isInitialized('isChannel') && null !== $data->getIsChannel()) { - $dataArray['is_channel'] = $data->getIsChannel(); + if (\array_key_exists('isChannel', get_object_vars($data)) && null !== ($data->isChannel ?? null)) { + $dataArray['is_channel'] = $data->isChannel; } - if ($data->isInitialized('isExtShared') && null !== $data->getIsExtShared()) { - $dataArray['is_ext_shared'] = $data->getIsExtShared(); + if (\array_key_exists('isExtShared', get_object_vars($data)) && null !== ($data->isExtShared ?? null)) { + $dataArray['is_ext_shared'] = $data->isExtShared; } - if ($data->isInitialized('isFrozen') && null !== $data->getIsFrozen()) { - $dataArray['is_frozen'] = $data->getIsFrozen(); + if (\array_key_exists('isFrozen', get_object_vars($data)) && null !== ($data->isFrozen ?? null)) { + $dataArray['is_frozen'] = $data->isFrozen; } - if ($data->isInitialized('isGeneral') && null !== $data->getIsGeneral()) { - $dataArray['is_general'] = $data->getIsGeneral(); + if (\array_key_exists('isGeneral', get_object_vars($data)) && null !== ($data->isGeneral ?? null)) { + $dataArray['is_general'] = $data->isGeneral; } - if ($data->isInitialized('isGlobalShared') && null !== $data->getIsGlobalShared()) { - $dataArray['is_global_shared'] = $data->getIsGlobalShared(); + if (\array_key_exists('isGlobalShared', get_object_vars($data)) && null !== ($data->isGlobalShared ?? null)) { + $dataArray['is_global_shared'] = $data->isGlobalShared; } - if ($data->isInitialized('isGroup') && null !== $data->getIsGroup()) { - $dataArray['is_group'] = $data->getIsGroup(); + if (\array_key_exists('isGroup', get_object_vars($data)) && null !== ($data->isGroup ?? null)) { + $dataArray['is_group'] = $data->isGroup; } - $dataArray['is_im'] = $data->getIsIm(); - if ($data->isInitialized('isMember') && null !== $data->getIsMember()) { - $dataArray['is_member'] = $data->getIsMember(); + $dataArray['is_im'] = $data->isIm; + if (\array_key_exists('isMember', get_object_vars($data)) && null !== ($data->isMember ?? null)) { + $dataArray['is_member'] = $data->isMember; } - if ($data->isInitialized('isMoved') && null !== $data->getIsMoved()) { - $dataArray['is_moved'] = $data->getIsMoved(); + if (\array_key_exists('isMoved', get_object_vars($data)) && null !== ($data->isMoved ?? null)) { + $dataArray['is_moved'] = $data->isMoved; } - if ($data->isInitialized('isMpim') && null !== $data->getIsMpim()) { - $dataArray['is_mpim'] = $data->getIsMpim(); + if (\array_key_exists('isMpim', get_object_vars($data)) && null !== ($data->isMpim ?? null)) { + $dataArray['is_mpim'] = $data->isMpim; } - if ($data->isInitialized('isNonThreadable') && null !== $data->getIsNonThreadable()) { - $dataArray['is_non_threadable'] = $data->getIsNonThreadable(); + if (\array_key_exists('isNonThreadable', get_object_vars($data)) && null !== ($data->isNonThreadable ?? null)) { + $dataArray['is_non_threadable'] = $data->isNonThreadable; } - if ($data->isInitialized('isOpen') && null !== $data->getIsOpen()) { - $dataArray['is_open'] = $data->getIsOpen(); + if (\array_key_exists('isOpen', get_object_vars($data)) && null !== ($data->isOpen ?? null)) { + $dataArray['is_open'] = $data->isOpen; } - if ($data->isInitialized('isOrgDefault') && null !== $data->getIsOrgDefault()) { - $dataArray['is_org_default'] = $data->getIsOrgDefault(); + if (\array_key_exists('isOrgDefault', get_object_vars($data)) && null !== ($data->isOrgDefault ?? null)) { + $dataArray['is_org_default'] = $data->isOrgDefault; } - if ($data->isInitialized('isOrgMandatory') && null !== $data->getIsOrgMandatory()) { - $dataArray['is_org_mandatory'] = $data->getIsOrgMandatory(); + if (\array_key_exists('isOrgMandatory', get_object_vars($data)) && null !== ($data->isOrgMandatory ?? null)) { + $dataArray['is_org_mandatory'] = $data->isOrgMandatory; } - $dataArray['is_org_shared'] = $data->getIsOrgShared(); - if ($data->isInitialized('isPendingExtShared') && null !== $data->getIsPendingExtShared()) { - $dataArray['is_pending_ext_shared'] = $data->getIsPendingExtShared(); + $dataArray['is_org_shared'] = $data->isOrgShared; + if (\array_key_exists('isPendingExtShared', get_object_vars($data)) && null !== ($data->isPendingExtShared ?? null)) { + $dataArray['is_pending_ext_shared'] = $data->isPendingExtShared; } - if ($data->isInitialized('isPrivate') && null !== $data->getIsPrivate()) { - $dataArray['is_private'] = $data->getIsPrivate(); + if (\array_key_exists('isPrivate', get_object_vars($data)) && null !== ($data->isPrivate ?? null)) { + $dataArray['is_private'] = $data->isPrivate; } - if ($data->isInitialized('isReadOnly') && null !== $data->getIsReadOnly()) { - $dataArray['is_read_only'] = $data->getIsReadOnly(); + if (\array_key_exists('isReadOnly', get_object_vars($data)) && null !== ($data->isReadOnly ?? null)) { + $dataArray['is_read_only'] = $data->isReadOnly; } - if ($data->isInitialized('isShared') && null !== $data->getIsShared()) { - $dataArray['is_shared'] = $data->getIsShared(); + if (\array_key_exists('isShared', get_object_vars($data)) && null !== ($data->isShared ?? null)) { + $dataArray['is_shared'] = $data->isShared; } - if ($data->isInitialized('isStarred') && null !== $data->getIsStarred()) { - $dataArray['is_starred'] = $data->getIsStarred(); + if (\array_key_exists('isStarred', get_object_vars($data)) && null !== ($data->isStarred ?? null)) { + $dataArray['is_starred'] = $data->isStarred; } - if ($data->isInitialized('isThreadOnly') && null !== $data->getIsThreadOnly()) { - $dataArray['is_thread_only'] = $data->getIsThreadOnly(); + if (\array_key_exists('isThreadOnly', get_object_vars($data)) && null !== ($data->isThreadOnly ?? null)) { + $dataArray['is_thread_only'] = $data->isThreadOnly; } - if ($data->isInitialized('isUserDeleted') && null !== $data->getIsUserDeleted()) { - $dataArray['is_user_deleted'] = $data->getIsUserDeleted(); + if (\array_key_exists('isUserDeleted', get_object_vars($data)) && null !== ($data->isUserDeleted ?? null)) { + $dataArray['is_user_deleted'] = $data->isUserDeleted; } - if ($data->isInitialized('lastRead') && null !== $data->getLastRead()) { - $dataArray['last_read'] = $data->getLastRead(); + if (\array_key_exists('lastRead', get_object_vars($data)) && null !== ($data->lastRead ?? null)) { + $dataArray['last_read'] = $data->lastRead; } - if ($data->isInitialized('latest') && null !== $data->getLatest()) { - $dataArray['latest'] = $data->getLatest(); + if (\array_key_exists('latest', get_object_vars($data)) && null !== ($data->latest ?? null)) { + $dataArray['latest'] = $data->latest; } - if ($data->isInitialized('locale') && null !== $data->getLocale()) { - $dataArray['locale'] = $data->getLocale(); + if (\array_key_exists('locale', get_object_vars($data)) && null !== ($data->locale ?? null)) { + $dataArray['locale'] = $data->locale; } - if ($data->isInitialized('members') && null !== $data->getMembers()) { + if (\array_key_exists('members', get_object_vars($data)) && null !== ($data->members ?? null)) { $values_2 = []; - foreach ($data->getMembers() as $value_2) { + foreach ($data->members as $value_2) { $values_2[] = $value_2; } $dataArray['members'] = $values_2; } - if ($data->isInitialized('name') && null !== $data->getName()) { - $dataArray['name'] = $data->getName(); + if (\array_key_exists('name', get_object_vars($data)) && null !== ($data->name ?? null)) { + $dataArray['name'] = $data->name; } - if ($data->isInitialized('nameNormalized') && null !== $data->getNameNormalized()) { - $dataArray['name_normalized'] = $data->getNameNormalized(); + if (\array_key_exists('nameNormalized', get_object_vars($data)) && null !== ($data->nameNormalized ?? null)) { + $dataArray['name_normalized'] = $data->nameNormalized; } - if ($data->isInitialized('numMembers') && null !== $data->getNumMembers()) { - $dataArray['num_members'] = $data->getNumMembers(); + if (\array_key_exists('numMembers', get_object_vars($data)) && null !== ($data->numMembers ?? null)) { + $dataArray['num_members'] = $data->numMembers; } - if ($data->isInitialized('parentConversation') && null !== $data->getParentConversation()) { - $dataArray['parent_conversation'] = $data->getParentConversation(); + if (\array_key_exists('parentConversation', get_object_vars($data)) && null !== ($data->parentConversation ?? null)) { + $dataArray['parent_conversation'] = $data->parentConversation; } - if ($data->isInitialized('pendingConnectedTeamIds') && null !== $data->getPendingConnectedTeamIds()) { + if (\array_key_exists('pendingConnectedTeamIds', get_object_vars($data)) && null !== ($data->pendingConnectedTeamIds ?? null)) { $values_3 = []; - foreach ($data->getPendingConnectedTeamIds() as $value_3) { + foreach ($data->pendingConnectedTeamIds as $value_3) { $values_3[] = $value_3; } $dataArray['pending_connected_team_ids'] = $values_3; } - if ($data->isInitialized('pendingShared') && null !== $data->getPendingShared()) { + if (\array_key_exists('pendingShared', get_object_vars($data)) && null !== ($data->pendingShared ?? null)) { $values_4 = []; - foreach ($data->getPendingShared() as $value_4) { + foreach ($data->pendingShared as $value_4) { $values_4[] = $value_4; } $dataArray['pending_shared'] = $values_4; } - if ($data->isInitialized('pinCount') && null !== $data->getPinCount()) { - $dataArray['pin_count'] = $data->getPinCount(); + if (\array_key_exists('pinCount', get_object_vars($data)) && null !== ($data->pinCount ?? null)) { + $dataArray['pin_count'] = $data->pinCount; } - if ($data->isInitialized('previousNames') && null !== $data->getPreviousNames()) { + if (\array_key_exists('previousNames', get_object_vars($data)) && null !== ($data->previousNames ?? null)) { $values_5 = []; - foreach ($data->getPreviousNames() as $value_5) { + foreach ($data->previousNames as $value_5) { $values_5[] = $value_5; } $dataArray['previous_names'] = $values_5; } - if ($data->isInitialized('priority') && null !== $data->getPriority()) { - $dataArray['priority'] = $data->getPriority(); + if (\array_key_exists('priority', get_object_vars($data)) && null !== ($data->priority ?? null)) { + $dataArray['priority'] = $data->priority; } - if ($data->isInitialized('purpose') && null !== $data->getPurpose()) { - $dataArray['purpose'] = null === $data->getPurpose() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPurpose(), 'json', $context)); + if (\array_key_exists('purpose', get_object_vars($data)) && null !== ($data->purpose ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->purpose, 'json', $context); + $dataArray['purpose'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } - if ($data->isInitialized('sharedTeamIds') && null !== $data->getSharedTeamIds()) { + if (\array_key_exists('sharedTeamIds', get_object_vars($data)) && null !== ($data->sharedTeamIds ?? null)) { $values_6 = []; - foreach ($data->getSharedTeamIds() as $value_6) { + foreach ($data->sharedTeamIds as $value_6) { $values_6[] = $value_6; } $dataArray['shared_team_ids'] = $values_6; } - if ($data->isInitialized('shares') && null !== $data->getShares()) { + if (\array_key_exists('shares', get_object_vars($data)) && null !== ($data->shares ?? null)) { $values_7 = []; - foreach ($data->getShares() as $value_7) { - $values_7[] = null === $value_7 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_7, 'json', $context)); + foreach ($data->shares as $value_7) { + $normalized_2 = null === $value_7 ? null : $this->normalizer->normalize($value_7, 'json', $context); + $values_7[] = is_iterable($normalized_2) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_2) : $normalized_2; } $dataArray['shares'] = $values_7; } - if ($data->isInitialized('timezoneCount') && null !== $data->getTimezoneCount()) { - $dataArray['timezone_count'] = $data->getTimezoneCount(); + if (\array_key_exists('timezoneCount', get_object_vars($data)) && null !== ($data->timezoneCount ?? null)) { + $dataArray['timezone_count'] = $data->timezoneCount; } - if ($data->isInitialized('topic') && null !== $data->getTopic()) { - $dataArray['topic'] = null === $data->getTopic() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTopic(), 'json', $context)); + if (\array_key_exists('topic', get_object_vars($data)) && null !== ($data->topic ?? null)) { + $normalized_3 = $this->normalizer->normalize($data->topic, 'json', $context); + $dataArray['topic'] = is_iterable($normalized_3) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_3) : $normalized_3; } - if ($data->isInitialized('unlinked') && null !== $data->getUnlinked()) { - $dataArray['unlinked'] = $data->getUnlinked(); + if (\array_key_exists('unlinked', get_object_vars($data)) && null !== ($data->unlinked ?? null)) { + $dataArray['unlinked'] = $data->unlinked; } - if ($data->isInitialized('unreadCount') && null !== $data->getUnreadCount()) { - $dataArray['unread_count'] = $data->getUnreadCount(); + if (\array_key_exists('unreadCount', get_object_vars($data)) && null !== ($data->unreadCount ?? null)) { + $dataArray['unread_count'] = $data->unreadCount; } - if ($data->isInitialized('unreadCountDisplay') && null !== $data->getUnreadCountDisplay()) { - $dataArray['unread_count_display'] = $data->getUnreadCountDisplay(); + if (\array_key_exists('unreadCountDisplay', get_object_vars($data)) && null !== ($data->unreadCountDisplay ?? null)) { + $dataArray['unread_count_display'] = $data->unreadCountDisplay; } - if ($data->isInitialized('useCase') && null !== $data->getUseCase()) { - $dataArray['use_case'] = $data->getUseCase(); + if (\array_key_exists('useCase', get_object_vars($data)) && null !== ($data->useCase ?? null)) { + $dataArray['use_case'] = $data->useCase; } - if ($data->isInitialized('user') && null !== $data->getUser()) { - $dataArray['user'] = $data->getUser(); + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { + $dataArray['user'] = $data->user; } - if ($data->isInitialized('version') && null !== $data->getVersion()) { - $dataArray['version'] = $data->getVersion(); + if (\array_key_exists('version', get_object_vars($data)) && null !== ($data->version ?? null)) { + $dataArray['version'] = $data->version; } return $dataArray; diff --git a/generated/Normalizer/ObjsConversationPurposeNormalizer.php b/generated/Normalizer/ObjsConversationPurposeNormalizer.php index 0f86e39d..3f163a8b 100644 --- a/generated/Normalizer/ObjsConversationPurposeNormalizer.php +++ b/generated/Normalizer/ObjsConversationPurposeNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('last_set', $data) && null !== $data['last_set']) { - $object->setLastSet($data['last_set']); - } elseif (\array_key_exists('last_set', $data) && null === $data['last_set']) { - $object->setLastSet(null); + $object->lastSet = $data['last_set']; + } elseif (\array_key_exists('last_set', $data)) { + $object->lastSet = null; } if (\array_key_exists('value', $data) && null !== $data['value']) { - $object->setValue($data['value']); - } elseif (\array_key_exists('value', $data) && null === $data['value']) { - $object->setValue(null); + $object->value = $data['value']; + } elseif (\array_key_exists('value', $data)) { + $object->value = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['creator'] = $data->getCreator(); - $dataArray['last_set'] = $data->getLastSet(); - $dataArray['value'] = $data->getValue(); + $dataArray['creator'] = $data->creator; + $dataArray['last_set'] = $data->lastSet; + $dataArray['value'] = $data->value; return $dataArray; } diff --git a/generated/Normalizer/ObjsConversationSharesItemNormalizer.php b/generated/Normalizer/ObjsConversationSharesItemNormalizer.php index 908036a6..d0e43398 100644 --- a/generated/Normalizer/ObjsConversationSharesItemNormalizer.php +++ b/generated/Normalizer/ObjsConversationSharesItemNormalizer.php @@ -56,39 +56,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_active'] = (bool) $data['is_active']; } if (\array_key_exists('accepted_user', $data) && null !== $data['accepted_user']) { - $object->setAcceptedUser($data['accepted_user']); - } elseif (\array_key_exists('accepted_user', $data) && null === $data['accepted_user']) { - $object->setAcceptedUser(null); + $object->acceptedUser = $data['accepted_user']; + } elseif (\array_key_exists('accepted_user', $data)) { + $object->acceptedUser = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_active', $data) && null !== $data['is_active']) { - $object->setIsActive($data['is_active']); - } elseif (\array_key_exists('is_active', $data) && null === $data['is_active']) { - $object->setIsActive(null); + $object->isActive = $data['is_active']; + } elseif (\array_key_exists('is_active', $data)) { + $object->isActive = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\ObjsTeam::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\ObjsTeam::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -97,16 +97,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('acceptedUser') && null !== $data->getAcceptedUser()) { - $dataArray['accepted_user'] = $data->getAcceptedUser(); + if (\array_key_exists('acceptedUser', get_object_vars($data)) && null !== ($data->acceptedUser ?? null)) { + $dataArray['accepted_user'] = $data->acceptedUser; } - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['id'] = $data->getId(); - $dataArray['is_active'] = $data->getIsActive(); - $dataArray['name'] = $data->getName(); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); - if ($data->isInitialized('user') && null !== $data->getUser()) { - $dataArray['user'] = $data->getUser(); + $dataArray['date_create'] = $data->dateCreate; + $dataArray['id'] = $data->id; + $dataArray['is_active'] = $data->isActive; + $dataArray['name'] = $data->name; + $normalized = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { + $dataArray['user'] = $data->user; } return $dataArray; diff --git a/generated/Normalizer/ObjsConversationTopicNormalizer.php b/generated/Normalizer/ObjsConversationTopicNormalizer.php index d8487dd8..7054640b 100644 --- a/generated/Normalizer/ObjsConversationTopicNormalizer.php +++ b/generated/Normalizer/ObjsConversationTopicNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('last_set', $data) && null !== $data['last_set']) { - $object->setLastSet($data['last_set']); - } elseif (\array_key_exists('last_set', $data) && null === $data['last_set']) { - $object->setLastSet(null); + $object->lastSet = $data['last_set']; + } elseif (\array_key_exists('last_set', $data)) { + $object->lastSet = null; } if (\array_key_exists('value', $data) && null !== $data['value']) { - $object->setValue($data['value']); - } elseif (\array_key_exists('value', $data) && null === $data['value']) { - $object->setValue(null); + $object->value = $data['value']; + } elseif (\array_key_exists('value', $data)) { + $object->value = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['creator'] = $data->getCreator(); - $dataArray['last_set'] = $data->getLastSet(); - $dataArray['value'] = $data->getValue(); + $dataArray['creator'] = $data->creator; + $dataArray['last_set'] = $data->lastSet; + $dataArray['value'] = $data->value; return $dataArray; } diff --git a/generated/Normalizer/ObjsEnterpriseUserNormalizer.php b/generated/Normalizer/ObjsEnterpriseUserNormalizer.php index 3398d7eb..c1506625 100644 --- a/generated/Normalizer/ObjsEnterpriseUserNormalizer.php +++ b/generated/Normalizer/ObjsEnterpriseUserNormalizer.php @@ -59,38 +59,38 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_owner'] = (bool) $data['is_owner']; } if (\array_key_exists('enterprise_id', $data) && null !== $data['enterprise_id']) { - $object->setEnterpriseId($data['enterprise_id']); - } elseif (\array_key_exists('enterprise_id', $data) && null === $data['enterprise_id']) { - $object->setEnterpriseId(null); + $object->enterpriseId = $data['enterprise_id']; + } elseif (\array_key_exists('enterprise_id', $data)) { + $object->enterpriseId = null; } if (\array_key_exists('enterprise_name', $data) && null !== $data['enterprise_name']) { - $object->setEnterpriseName($data['enterprise_name']); - } elseif (\array_key_exists('enterprise_name', $data) && null === $data['enterprise_name']) { - $object->setEnterpriseName(null); + $object->enterpriseName = $data['enterprise_name']; + } elseif (\array_key_exists('enterprise_name', $data)) { + $object->enterpriseName = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_admin', $data) && null !== $data['is_admin']) { - $object->setIsAdmin($data['is_admin']); - } elseif (\array_key_exists('is_admin', $data) && null === $data['is_admin']) { - $object->setIsAdmin(null); + $object->isAdmin = $data['is_admin']; + } elseif (\array_key_exists('is_admin', $data)) { + $object->isAdmin = null; } if (\array_key_exists('is_owner', $data) && null !== $data['is_owner']) { - $object->setIsOwner($data['is_owner']); - } elseif (\array_key_exists('is_owner', $data) && null === $data['is_owner']) { - $object->setIsOwner(null); + $object->isOwner = $data['is_owner']; + } elseif (\array_key_exists('is_owner', $data)) { + $object->isOwner = null; } if (\array_key_exists('teams', $data) && null !== $data['teams']) { $values = []; foreach ($data['teams'] as $value) { $values[] = $value; } - $object->setTeams($values); - } elseif (\array_key_exists('teams', $data) && null === $data['teams']) { - $object->setTeams(null); + $object->teams = $values; + } elseif (\array_key_exists('teams', $data)) { + $object->teams = null; } return $object; @@ -99,13 +99,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['enterprise_id'] = $data->getEnterpriseId(); - $dataArray['enterprise_name'] = $data->getEnterpriseName(); - $dataArray['id'] = $data->getId(); - $dataArray['is_admin'] = $data->getIsAdmin(); - $dataArray['is_owner'] = $data->getIsOwner(); + $dataArray['enterprise_id'] = $data->enterpriseId; + $dataArray['enterprise_name'] = $data->enterpriseName; + $dataArray['id'] = $data->id; + $dataArray['is_admin'] = $data->isAdmin; + $dataArray['is_owner'] = $data->isOwner; $values = []; - foreach ($data->getTeams() as $value) { + foreach ($data->teams as $value) { $values[] = $value; } $dataArray['teams'] = $values; diff --git a/generated/Normalizer/ObjsExternalOrgMigrationsCurrentItemNormalizer.php b/generated/Normalizer/ObjsExternalOrgMigrationsCurrentItemNormalizer.php index a26dddbe..5fa291c3 100644 --- a/generated/Normalizer/ObjsExternalOrgMigrationsCurrentItemNormalizer.php +++ b/generated/Normalizer/ObjsExternalOrgMigrationsCurrentItemNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('date_started', $data) && null !== $data['date_started']) { - $object->setDateStarted($data['date_started']); - } elseif (\array_key_exists('date_started', $data) && null === $data['date_started']) { - $object->setDateStarted(null); + $object->dateStarted = $data['date_started']; + } elseif (\array_key_exists('date_started', $data)) { + $object->dateStarted = null; } if (\array_key_exists('team_id', $data) && null !== $data['team_id']) { - $object->setTeamId($data['team_id']); - } elseif (\array_key_exists('team_id', $data) && null === $data['team_id']) { - $object->setTeamId(null); + $object->teamId = $data['team_id']; + } elseif (\array_key_exists('team_id', $data)) { + $object->teamId = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['date_started'] = $data->getDateStarted(); - $dataArray['team_id'] = $data->getTeamId(); + $dataArray['date_started'] = $data->dateStarted; + $dataArray['team_id'] = $data->teamId; return $dataArray; } diff --git a/generated/Normalizer/ObjsExternalOrgMigrationsNormalizer.php b/generated/Normalizer/ObjsExternalOrgMigrationsNormalizer.php index da54aa5d..b943f506 100644 --- a/generated/Normalizer/ObjsExternalOrgMigrationsNormalizer.php +++ b/generated/Normalizer/ObjsExternalOrgMigrationsNormalizer.php @@ -57,14 +57,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['current'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsExternalOrgMigrationsCurrentItem::class, 'json', $context); } - $object->setCurrent($values); - } elseif (\array_key_exists('current', $data) && null === $data['current']) { - $object->setCurrent(null); + $object->current = $values; + } elseif (\array_key_exists('current', $data)) { + $object->current = null; } if (\array_key_exists('date_updated', $data) && null !== $data['date_updated']) { - $object->setDateUpdated($data['date_updated']); - } elseif (\array_key_exists('date_updated', $data) && null === $data['date_updated']) { - $object->setDateUpdated(null); + $object->dateUpdated = $data['date_updated']; + } elseif (\array_key_exists('date_updated', $data)) { + $object->dateUpdated = null; } return $object; @@ -74,11 +74,12 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getCurrent() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->current as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['current'] = $values; - $dataArray['date_updated'] = $data->getDateUpdated(); + $dataArray['date_updated'] = $data->dateUpdated; return $dataArray; } diff --git a/generated/Normalizer/ObjsFileNormalizer.php b/generated/Normalizer/ObjsFileNormalizer.php index 6ea20a4e..9f1b71ef 100644 --- a/generated/Normalizer/ObjsFileNormalizer.php +++ b/generated/Normalizer/ObjsFileNormalizer.php @@ -84,345 +84,345 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['channels'] as $value) { $values[] = $value; } - $object->setChannels($values); - } elseif (\array_key_exists('channels', $data) && null === $data['channels']) { - $object->setChannels(null); + $object->channels = $values; + } elseif (\array_key_exists('channels', $data)) { + $object->channels = null; } if (\array_key_exists('comments_count', $data) && null !== $data['comments_count']) { - $object->setCommentsCount($data['comments_count']); - } elseif (\array_key_exists('comments_count', $data) && null === $data['comments_count']) { - $object->setCommentsCount(null); + $object->commentsCount = $data['comments_count']; + } elseif (\array_key_exists('comments_count', $data)) { + $object->commentsCount = null; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('date_delete', $data) && null !== $data['date_delete']) { - $object->setDateDelete($data['date_delete']); - } elseif (\array_key_exists('date_delete', $data) && null === $data['date_delete']) { - $object->setDateDelete(null); + $object->dateDelete = $data['date_delete']; + } elseif (\array_key_exists('date_delete', $data)) { + $object->dateDelete = null; } if (\array_key_exists('deanimate_gif', $data) && null !== $data['deanimate_gif']) { - $object->setDeanimateGif($data['deanimate_gif']); - } elseif (\array_key_exists('deanimate_gif', $data) && null === $data['deanimate_gif']) { - $object->setDeanimateGif(null); + $object->deanimateGif = $data['deanimate_gif']; + } elseif (\array_key_exists('deanimate_gif', $data)) { + $object->deanimateGif = null; } if (\array_key_exists('display_as_bot', $data) && null !== $data['display_as_bot']) { - $object->setDisplayAsBot($data['display_as_bot']); - } elseif (\array_key_exists('display_as_bot', $data) && null === $data['display_as_bot']) { - $object->setDisplayAsBot(null); + $object->displayAsBot = $data['display_as_bot']; + } elseif (\array_key_exists('display_as_bot', $data)) { + $object->displayAsBot = null; } if (\array_key_exists('editable', $data) && null !== $data['editable']) { - $object->setEditable($data['editable']); - } elseif (\array_key_exists('editable', $data) && null === $data['editable']) { - $object->setEditable(null); + $object->editable = $data['editable']; + } elseif (\array_key_exists('editable', $data)) { + $object->editable = null; } if (\array_key_exists('editor', $data) && null !== $data['editor']) { - $object->setEditor($data['editor']); - } elseif (\array_key_exists('editor', $data) && null === $data['editor']) { - $object->setEditor(null); + $object->editor = $data['editor']; + } elseif (\array_key_exists('editor', $data)) { + $object->editor = null; } if (\array_key_exists('external_id', $data) && null !== $data['external_id']) { - $object->setExternalId($data['external_id']); - } elseif (\array_key_exists('external_id', $data) && null === $data['external_id']) { - $object->setExternalId(null); + $object->externalId = $data['external_id']; + } elseif (\array_key_exists('external_id', $data)) { + $object->externalId = null; } if (\array_key_exists('external_type', $data) && null !== $data['external_type']) { - $object->setExternalType($data['external_type']); - } elseif (\array_key_exists('external_type', $data) && null === $data['external_type']) { - $object->setExternalType(null); + $object->externalType = $data['external_type']; + } elseif (\array_key_exists('external_type', $data)) { + $object->externalType = null; } if (\array_key_exists('external_url', $data) && null !== $data['external_url']) { - $object->setExternalUrl($data['external_url']); - } elseif (\array_key_exists('external_url', $data) && null === $data['external_url']) { - $object->setExternalUrl(null); + $object->externalUrl = $data['external_url']; + } elseif (\array_key_exists('external_url', $data)) { + $object->externalUrl = null; } if (\array_key_exists('filetype', $data) && null !== $data['filetype']) { - $object->setFiletype($data['filetype']); - } elseif (\array_key_exists('filetype', $data) && null === $data['filetype']) { - $object->setFiletype(null); + $object->filetype = $data['filetype']; + } elseif (\array_key_exists('filetype', $data)) { + $object->filetype = null; } if (\array_key_exists('groups', $data) && null !== $data['groups']) { $values_1 = []; foreach ($data['groups'] as $value_1) { $values_1[] = $value_1; } - $object->setGroups($values_1); - } elseif (\array_key_exists('groups', $data) && null === $data['groups']) { - $object->setGroups(null); + $object->groups = $values_1; + } elseif (\array_key_exists('groups', $data)) { + $object->groups = null; } if (\array_key_exists('has_rich_preview', $data) && null !== $data['has_rich_preview']) { - $object->setHasRichPreview($data['has_rich_preview']); - } elseif (\array_key_exists('has_rich_preview', $data) && null === $data['has_rich_preview']) { - $object->setHasRichPreview(null); + $object->hasRichPreview = $data['has_rich_preview']; + } elseif (\array_key_exists('has_rich_preview', $data)) { + $object->hasRichPreview = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('image_exif_rotation', $data) && null !== $data['image_exif_rotation']) { - $object->setImageExifRotation($data['image_exif_rotation']); - } elseif (\array_key_exists('image_exif_rotation', $data) && null === $data['image_exif_rotation']) { - $object->setImageExifRotation(null); + $object->imageExifRotation = $data['image_exif_rotation']; + } elseif (\array_key_exists('image_exif_rotation', $data)) { + $object->imageExifRotation = null; } if (\array_key_exists('ims', $data) && null !== $data['ims']) { $values_2 = []; foreach ($data['ims'] as $value_2) { $values_2[] = $value_2; } - $object->setIms($values_2); - } elseif (\array_key_exists('ims', $data) && null === $data['ims']) { - $object->setIms(null); + $object->ims = $values_2; + } elseif (\array_key_exists('ims', $data)) { + $object->ims = null; } if (\array_key_exists('is_external', $data) && null !== $data['is_external']) { - $object->setIsExternal($data['is_external']); - } elseif (\array_key_exists('is_external', $data) && null === $data['is_external']) { - $object->setIsExternal(null); + $object->isExternal = $data['is_external']; + } elseif (\array_key_exists('is_external', $data)) { + $object->isExternal = null; } if (\array_key_exists('is_public', $data) && null !== $data['is_public']) { - $object->setIsPublic($data['is_public']); - } elseif (\array_key_exists('is_public', $data) && null === $data['is_public']) { - $object->setIsPublic(null); + $object->isPublic = $data['is_public']; + } elseif (\array_key_exists('is_public', $data)) { + $object->isPublic = null; } if (\array_key_exists('is_starred', $data) && null !== $data['is_starred']) { - $object->setIsStarred($data['is_starred']); - } elseif (\array_key_exists('is_starred', $data) && null === $data['is_starred']) { - $object->setIsStarred(null); + $object->isStarred = $data['is_starred']; + } elseif (\array_key_exists('is_starred', $data)) { + $object->isStarred = null; } if (\array_key_exists('is_tombstoned', $data) && null !== $data['is_tombstoned']) { - $object->setIsTombstoned($data['is_tombstoned']); - } elseif (\array_key_exists('is_tombstoned', $data) && null === $data['is_tombstoned']) { - $object->setIsTombstoned(null); + $object->isTombstoned = $data['is_tombstoned']; + } elseif (\array_key_exists('is_tombstoned', $data)) { + $object->isTombstoned = null; } if (\array_key_exists('last_editor', $data) && null !== $data['last_editor']) { - $object->setLastEditor($data['last_editor']); - } elseif (\array_key_exists('last_editor', $data) && null === $data['last_editor']) { - $object->setLastEditor(null); + $object->lastEditor = $data['last_editor']; + } elseif (\array_key_exists('last_editor', $data)) { + $object->lastEditor = null; } if (\array_key_exists('mimetype', $data) && null !== $data['mimetype']) { - $object->setMimetype($data['mimetype']); - } elseif (\array_key_exists('mimetype', $data) && null === $data['mimetype']) { - $object->setMimetype(null); + $object->mimetype = $data['mimetype']; + } elseif (\array_key_exists('mimetype', $data)) { + $object->mimetype = null; } if (\array_key_exists('mode', $data) && null !== $data['mode']) { - $object->setMode($data['mode']); - } elseif (\array_key_exists('mode', $data) && null === $data['mode']) { - $object->setMode(null); + $object->mode = $data['mode']; + } elseif (\array_key_exists('mode', $data)) { + $object->mode = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('non_owner_editable', $data) && null !== $data['non_owner_editable']) { - $object->setNonOwnerEditable($data['non_owner_editable']); - } elseif (\array_key_exists('non_owner_editable', $data) && null === $data['non_owner_editable']) { - $object->setNonOwnerEditable(null); + $object->nonOwnerEditable = $data['non_owner_editable']; + } elseif (\array_key_exists('non_owner_editable', $data)) { + $object->nonOwnerEditable = null; } if (\array_key_exists('num_stars', $data) && null !== $data['num_stars']) { - $object->setNumStars($data['num_stars']); - } elseif (\array_key_exists('num_stars', $data) && null === $data['num_stars']) { - $object->setNumStars(null); + $object->numStars = $data['num_stars']; + } elseif (\array_key_exists('num_stars', $data)) { + $object->numStars = null; } if (\array_key_exists('original_h', $data) && null !== $data['original_h']) { - $object->setOriginalH($data['original_h']); - } elseif (\array_key_exists('original_h', $data) && null === $data['original_h']) { - $object->setOriginalH(null); + $object->originalH = $data['original_h']; + } elseif (\array_key_exists('original_h', $data)) { + $object->originalH = null; } if (\array_key_exists('original_w', $data) && null !== $data['original_w']) { - $object->setOriginalW($data['original_w']); - } elseif (\array_key_exists('original_w', $data) && null === $data['original_w']) { - $object->setOriginalW(null); + $object->originalW = $data['original_w']; + } elseif (\array_key_exists('original_w', $data)) { + $object->originalW = null; } if (\array_key_exists('permalink', $data) && null !== $data['permalink']) { - $object->setPermalink($data['permalink']); - } elseif (\array_key_exists('permalink', $data) && null === $data['permalink']) { - $object->setPermalink(null); + $object->permalink = $data['permalink']; + } elseif (\array_key_exists('permalink', $data)) { + $object->permalink = null; } if (\array_key_exists('permalink_public', $data) && null !== $data['permalink_public']) { - $object->setPermalinkPublic($data['permalink_public']); - } elseif (\array_key_exists('permalink_public', $data) && null === $data['permalink_public']) { - $object->setPermalinkPublic(null); + $object->permalinkPublic = $data['permalink_public']; + } elseif (\array_key_exists('permalink_public', $data)) { + $object->permalinkPublic = null; } if (\array_key_exists('pinned_info', $data) && null !== $data['pinned_info']) { - $object->setPinnedInfo($data['pinned_info']); - } elseif (\array_key_exists('pinned_info', $data) && null === $data['pinned_info']) { - $object->setPinnedInfo(null); + $object->pinnedInfo = $data['pinned_info']; + } elseif (\array_key_exists('pinned_info', $data)) { + $object->pinnedInfo = null; } if (\array_key_exists('pinned_to', $data) && null !== $data['pinned_to']) { $values_3 = []; foreach ($data['pinned_to'] as $value_3) { $values_3[] = $value_3; } - $object->setPinnedTo($values_3); - } elseif (\array_key_exists('pinned_to', $data) && null === $data['pinned_to']) { - $object->setPinnedTo(null); + $object->pinnedTo = $values_3; + } elseif (\array_key_exists('pinned_to', $data)) { + $object->pinnedTo = null; } if (\array_key_exists('pjpeg', $data) && null !== $data['pjpeg']) { - $object->setPjpeg($data['pjpeg']); - } elseif (\array_key_exists('pjpeg', $data) && null === $data['pjpeg']) { - $object->setPjpeg(null); + $object->pjpeg = $data['pjpeg']; + } elseif (\array_key_exists('pjpeg', $data)) { + $object->pjpeg = null; } if (\array_key_exists('pretty_type', $data) && null !== $data['pretty_type']) { - $object->setPrettyType($data['pretty_type']); - } elseif (\array_key_exists('pretty_type', $data) && null === $data['pretty_type']) { - $object->setPrettyType(null); + $object->prettyType = $data['pretty_type']; + } elseif (\array_key_exists('pretty_type', $data)) { + $object->prettyType = null; } if (\array_key_exists('preview', $data) && null !== $data['preview']) { - $object->setPreview($data['preview']); - } elseif (\array_key_exists('preview', $data) && null === $data['preview']) { - $object->setPreview(null); + $object->preview = $data['preview']; + } elseif (\array_key_exists('preview', $data)) { + $object->preview = null; } if (\array_key_exists('public_url_shared', $data) && null !== $data['public_url_shared']) { - $object->setPublicUrlShared($data['public_url_shared']); - } elseif (\array_key_exists('public_url_shared', $data) && null === $data['public_url_shared']) { - $object->setPublicUrlShared(null); + $object->publicUrlShared = $data['public_url_shared']; + } elseif (\array_key_exists('public_url_shared', $data)) { + $object->publicUrlShared = null; } if (\array_key_exists('reactions', $data) && null !== $data['reactions']) { $values_4 = []; foreach ($data['reactions'] as $value_4) { $values_4[] = $this->denormalizer->denormalize($value_4, \JoliCode\Slack\Api\Model\ObjsReaction::class, 'json', $context); } - $object->setReactions($values_4); - } elseif (\array_key_exists('reactions', $data) && null === $data['reactions']) { - $object->setReactions(null); + $object->reactions = $values_4; + } elseif (\array_key_exists('reactions', $data)) { + $object->reactions = null; } if (\array_key_exists('shares', $data) && null !== $data['shares']) { - $object->setShares($this->denormalizer->denormalize($data['shares'], \JoliCode\Slack\Api\Model\ObjsFileShares::class, 'json', $context)); - } elseif (\array_key_exists('shares', $data) && null === $data['shares']) { - $object->setShares(null); + $object->shares = $this->denormalizer->denormalize($data['shares'], \JoliCode\Slack\Api\Model\ObjsFileShares::class, 'json', $context); + } elseif (\array_key_exists('shares', $data)) { + $object->shares = null; } if (\array_key_exists('size', $data) && null !== $data['size']) { - $object->setSize($data['size']); - } elseif (\array_key_exists('size', $data) && null === $data['size']) { - $object->setSize(null); + $object->size = $data['size']; + } elseif (\array_key_exists('size', $data)) { + $object->size = null; } if (\array_key_exists('source_team', $data) && null !== $data['source_team']) { - $object->setSourceTeam($data['source_team']); - } elseif (\array_key_exists('source_team', $data) && null === $data['source_team']) { - $object->setSourceTeam(null); + $object->sourceTeam = $data['source_team']; + } elseif (\array_key_exists('source_team', $data)) { + $object->sourceTeam = null; } if (\array_key_exists('state', $data) && null !== $data['state']) { - $object->setState($data['state']); - } elseif (\array_key_exists('state', $data) && null === $data['state']) { - $object->setState(null); + $object->state = $data['state']; + } elseif (\array_key_exists('state', $data)) { + $object->state = null; } if (\array_key_exists('thumb_1024', $data) && null !== $data['thumb_1024']) { - $object->setThumb1024($data['thumb_1024']); - } elseif (\array_key_exists('thumb_1024', $data) && null === $data['thumb_1024']) { - $object->setThumb1024(null); + $object->thumb1024 = $data['thumb_1024']; + } elseif (\array_key_exists('thumb_1024', $data)) { + $object->thumb1024 = null; } if (\array_key_exists('thumb_1024_h', $data) && null !== $data['thumb_1024_h']) { - $object->setThumb1024H($data['thumb_1024_h']); - } elseif (\array_key_exists('thumb_1024_h', $data) && null === $data['thumb_1024_h']) { - $object->setThumb1024H(null); + $object->thumb1024H = $data['thumb_1024_h']; + } elseif (\array_key_exists('thumb_1024_h', $data)) { + $object->thumb1024H = null; } if (\array_key_exists('thumb_1024_w', $data) && null !== $data['thumb_1024_w']) { - $object->setThumb1024W($data['thumb_1024_w']); - } elseif (\array_key_exists('thumb_1024_w', $data) && null === $data['thumb_1024_w']) { - $object->setThumb1024W(null); + $object->thumb1024W = $data['thumb_1024_w']; + } elseif (\array_key_exists('thumb_1024_w', $data)) { + $object->thumb1024W = null; } if (\array_key_exists('thumb_160', $data) && null !== $data['thumb_160']) { - $object->setThumb160($data['thumb_160']); - } elseif (\array_key_exists('thumb_160', $data) && null === $data['thumb_160']) { - $object->setThumb160(null); + $object->thumb160 = $data['thumb_160']; + } elseif (\array_key_exists('thumb_160', $data)) { + $object->thumb160 = null; } if (\array_key_exists('thumb_360', $data) && null !== $data['thumb_360']) { - $object->setThumb360($data['thumb_360']); - } elseif (\array_key_exists('thumb_360', $data) && null === $data['thumb_360']) { - $object->setThumb360(null); + $object->thumb360 = $data['thumb_360']; + } elseif (\array_key_exists('thumb_360', $data)) { + $object->thumb360 = null; } if (\array_key_exists('thumb_360_gif', $data) && null !== $data['thumb_360_gif']) { - $object->setThumb360Gif($data['thumb_360_gif']); - } elseif (\array_key_exists('thumb_360_gif', $data) && null === $data['thumb_360_gif']) { - $object->setThumb360Gif(null); + $object->thumb360Gif = $data['thumb_360_gif']; + } elseif (\array_key_exists('thumb_360_gif', $data)) { + $object->thumb360Gif = null; } if (\array_key_exists('thumb_360_h', $data) && null !== $data['thumb_360_h']) { - $object->setThumb360H($data['thumb_360_h']); - } elseif (\array_key_exists('thumb_360_h', $data) && null === $data['thumb_360_h']) { - $object->setThumb360H(null); + $object->thumb360H = $data['thumb_360_h']; + } elseif (\array_key_exists('thumb_360_h', $data)) { + $object->thumb360H = null; } if (\array_key_exists('thumb_360_w', $data) && null !== $data['thumb_360_w']) { - $object->setThumb360W($data['thumb_360_w']); - } elseif (\array_key_exists('thumb_360_w', $data) && null === $data['thumb_360_w']) { - $object->setThumb360W(null); + $object->thumb360W = $data['thumb_360_w']; + } elseif (\array_key_exists('thumb_360_w', $data)) { + $object->thumb360W = null; } if (\array_key_exists('thumb_480', $data) && null !== $data['thumb_480']) { - $object->setThumb480($data['thumb_480']); - } elseif (\array_key_exists('thumb_480', $data) && null === $data['thumb_480']) { - $object->setThumb480(null); + $object->thumb480 = $data['thumb_480']; + } elseif (\array_key_exists('thumb_480', $data)) { + $object->thumb480 = null; } if (\array_key_exists('thumb_480_h', $data) && null !== $data['thumb_480_h']) { - $object->setThumb480H($data['thumb_480_h']); - } elseif (\array_key_exists('thumb_480_h', $data) && null === $data['thumb_480_h']) { - $object->setThumb480H(null); + $object->thumb480H = $data['thumb_480_h']; + } elseif (\array_key_exists('thumb_480_h', $data)) { + $object->thumb480H = null; } if (\array_key_exists('thumb_480_w', $data) && null !== $data['thumb_480_w']) { - $object->setThumb480W($data['thumb_480_w']); - } elseif (\array_key_exists('thumb_480_w', $data) && null === $data['thumb_480_w']) { - $object->setThumb480W(null); + $object->thumb480W = $data['thumb_480_w']; + } elseif (\array_key_exists('thumb_480_w', $data)) { + $object->thumb480W = null; } if (\array_key_exists('thumb_64', $data) && null !== $data['thumb_64']) { - $object->setThumb64($data['thumb_64']); - } elseif (\array_key_exists('thumb_64', $data) && null === $data['thumb_64']) { - $object->setThumb64(null); + $object->thumb64 = $data['thumb_64']; + } elseif (\array_key_exists('thumb_64', $data)) { + $object->thumb64 = null; } if (\array_key_exists('thumb_720', $data) && null !== $data['thumb_720']) { - $object->setThumb720($data['thumb_720']); - } elseif (\array_key_exists('thumb_720', $data) && null === $data['thumb_720']) { - $object->setThumb720(null); + $object->thumb720 = $data['thumb_720']; + } elseif (\array_key_exists('thumb_720', $data)) { + $object->thumb720 = null; } if (\array_key_exists('thumb_720_h', $data) && null !== $data['thumb_720_h']) { - $object->setThumb720H($data['thumb_720_h']); - } elseif (\array_key_exists('thumb_720_h', $data) && null === $data['thumb_720_h']) { - $object->setThumb720H(null); + $object->thumb720H = $data['thumb_720_h']; + } elseif (\array_key_exists('thumb_720_h', $data)) { + $object->thumb720H = null; } if (\array_key_exists('thumb_720_w', $data) && null !== $data['thumb_720_w']) { - $object->setThumb720W($data['thumb_720_w']); - } elseif (\array_key_exists('thumb_720_w', $data) && null === $data['thumb_720_w']) { - $object->setThumb720W(null); + $object->thumb720W = $data['thumb_720_w']; + } elseif (\array_key_exists('thumb_720_w', $data)) { + $object->thumb720W = null; } if (\array_key_exists('thumb_80', $data) && null !== $data['thumb_80']) { - $object->setThumb80($data['thumb_80']); - } elseif (\array_key_exists('thumb_80', $data) && null === $data['thumb_80']) { - $object->setThumb80(null); + $object->thumb80 = $data['thumb_80']; + } elseif (\array_key_exists('thumb_80', $data)) { + $object->thumb80 = null; } if (\array_key_exists('thumb_800', $data) && null !== $data['thumb_800']) { - $object->setThumb800($data['thumb_800']); - } elseif (\array_key_exists('thumb_800', $data) && null === $data['thumb_800']) { - $object->setThumb800(null); + $object->thumb800 = $data['thumb_800']; + } elseif (\array_key_exists('thumb_800', $data)) { + $object->thumb800 = null; } if (\array_key_exists('thumb_800_h', $data) && null !== $data['thumb_800_h']) { - $object->setThumb800H($data['thumb_800_h']); - } elseif (\array_key_exists('thumb_800_h', $data) && null === $data['thumb_800_h']) { - $object->setThumb800H(null); + $object->thumb800H = $data['thumb_800_h']; + } elseif (\array_key_exists('thumb_800_h', $data)) { + $object->thumb800H = null; } if (\array_key_exists('thumb_800_w', $data) && null !== $data['thumb_800_w']) { - $object->setThumb800W($data['thumb_800_w']); - } elseif (\array_key_exists('thumb_800_w', $data) && null === $data['thumb_800_w']) { - $object->setThumb800W(null); + $object->thumb800W = $data['thumb_800_w']; + } elseif (\array_key_exists('thumb_800_w', $data)) { + $object->thumb800W = null; } if (\array_key_exists('thumb_960', $data) && null !== $data['thumb_960']) { - $object->setThumb960($data['thumb_960']); - } elseif (\array_key_exists('thumb_960', $data) && null === $data['thumb_960']) { - $object->setThumb960(null); + $object->thumb960 = $data['thumb_960']; + } elseif (\array_key_exists('thumb_960', $data)) { + $object->thumb960 = null; } if (\array_key_exists('thumb_960_h', $data) && null !== $data['thumb_960_h']) { - $object->setThumb960H($data['thumb_960_h']); - } elseif (\array_key_exists('thumb_960_h', $data) && null === $data['thumb_960_h']) { - $object->setThumb960H(null); + $object->thumb960H = $data['thumb_960_h']; + } elseif (\array_key_exists('thumb_960_h', $data)) { + $object->thumb960H = null; } if (\array_key_exists('thumb_960_w', $data) && null !== $data['thumb_960_w']) { - $object->setThumb960W($data['thumb_960_w']); - } elseif (\array_key_exists('thumb_960_w', $data) && null === $data['thumb_960_w']) { - $object->setThumb960W(null); + $object->thumb960W = $data['thumb_960_w']; + } elseif (\array_key_exists('thumb_960_w', $data)) { + $object->thumb960W = null; } if (\array_key_exists('thumb_tiny', $data) && null !== $data['thumb_tiny']) { - $object->setThumbTiny($data['thumb_tiny']); - } elseif (\array_key_exists('thumb_tiny', $data) && null === $data['thumb_tiny']) { - $object->setThumbTiny(null); + $object->thumbTiny = $data['thumb_tiny']; + } elseif (\array_key_exists('thumb_tiny', $data)) { + $object->thumbTiny = null; } if (\array_key_exists('timestamp', $data) && null !== $data['timestamp']) { $value_5 = $data['timestamp']; @@ -431,44 +431,44 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a } elseif (\is_string($data['timestamp'])) { $value_5 = $data['timestamp']; } - $object->setTimestamp($value_5); - } elseif (\array_key_exists('timestamp', $data) && null === $data['timestamp']) { - $object->setTimestamp(null); + $object->timestamp = $value_5; + } elseif (\array_key_exists('timestamp', $data)) { + $object->timestamp = null; } if (\array_key_exists('title', $data) && null !== $data['title']) { - $object->setTitle($data['title']); - } elseif (\array_key_exists('title', $data) && null === $data['title']) { - $object->setTitle(null); + $object->title = $data['title']; + } elseif (\array_key_exists('title', $data)) { + $object->title = null; } if (\array_key_exists('updated', $data) && null !== $data['updated']) { - $object->setUpdated($data['updated']); - } elseif (\array_key_exists('updated', $data) && null === $data['updated']) { - $object->setUpdated(null); + $object->updated = $data['updated']; + } elseif (\array_key_exists('updated', $data)) { + $object->updated = null; } if (\array_key_exists('url_private', $data) && null !== $data['url_private']) { - $object->setUrlPrivate($data['url_private']); - } elseif (\array_key_exists('url_private', $data) && null === $data['url_private']) { - $object->setUrlPrivate(null); + $object->urlPrivate = $data['url_private']; + } elseif (\array_key_exists('url_private', $data)) { + $object->urlPrivate = null; } if (\array_key_exists('url_private_download', $data) && null !== $data['url_private_download']) { - $object->setUrlPrivateDownload($data['url_private_download']); - } elseif (\array_key_exists('url_private_download', $data) && null === $data['url_private_download']) { - $object->setUrlPrivateDownload(null); + $object->urlPrivateDownload = $data['url_private_download']; + } elseif (\array_key_exists('url_private_download', $data)) { + $object->urlPrivateDownload = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('user_team', $data) && null !== $data['user_team']) { - $object->setUserTeam($data['user_team']); - } elseif (\array_key_exists('user_team', $data) && null === $data['user_team']) { - $object->setUserTeam(null); + $object->userTeam = $data['user_team']; + } elseif (\array_key_exists('user_team', $data)) { + $object->userTeam = null; } if (\array_key_exists('username', $data) && null !== $data['username']) { - $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { - $object->setUsername(null); + $object->username = $data['username']; + } elseif (\array_key_exists('username', $data)) { + $object->username = null; } return $object; @@ -477,250 +477,252 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('channels') && null !== $data->getChannels()) { + if (\array_key_exists('channels', get_object_vars($data)) && null !== ($data->channels ?? null)) { $values = []; - foreach ($data->getChannels() as $value) { + foreach ($data->channels as $value) { $values[] = $value; } $dataArray['channels'] = $values; } - if ($data->isInitialized('commentsCount') && null !== $data->getCommentsCount()) { - $dataArray['comments_count'] = $data->getCommentsCount(); + if (\array_key_exists('commentsCount', get_object_vars($data)) && null !== ($data->commentsCount ?? null)) { + $dataArray['comments_count'] = $data->commentsCount; } - if ($data->isInitialized('created') && null !== $data->getCreated()) { - $dataArray['created'] = $data->getCreated(); + if (\array_key_exists('created', get_object_vars($data)) && null !== ($data->created ?? null)) { + $dataArray['created'] = $data->created; } - if ($data->isInitialized('dateDelete') && null !== $data->getDateDelete()) { - $dataArray['date_delete'] = $data->getDateDelete(); + if (\array_key_exists('dateDelete', get_object_vars($data)) && null !== ($data->dateDelete ?? null)) { + $dataArray['date_delete'] = $data->dateDelete; } - if ($data->isInitialized('deanimateGif') && null !== $data->getDeanimateGif()) { - $dataArray['deanimate_gif'] = $data->getDeanimateGif(); + if (\array_key_exists('deanimateGif', get_object_vars($data)) && null !== ($data->deanimateGif ?? null)) { + $dataArray['deanimate_gif'] = $data->deanimateGif; } - if ($data->isInitialized('displayAsBot') && null !== $data->getDisplayAsBot()) { - $dataArray['display_as_bot'] = $data->getDisplayAsBot(); + if (\array_key_exists('displayAsBot', get_object_vars($data)) && null !== ($data->displayAsBot ?? null)) { + $dataArray['display_as_bot'] = $data->displayAsBot; } - if ($data->isInitialized('editable') && null !== $data->getEditable()) { - $dataArray['editable'] = $data->getEditable(); + if (\array_key_exists('editable', get_object_vars($data)) && null !== ($data->editable ?? null)) { + $dataArray['editable'] = $data->editable; } - if ($data->isInitialized('editor') && null !== $data->getEditor()) { - $dataArray['editor'] = $data->getEditor(); + if (\array_key_exists('editor', get_object_vars($data)) && null !== ($data->editor ?? null)) { + $dataArray['editor'] = $data->editor; } - if ($data->isInitialized('externalId') && null !== $data->getExternalId()) { - $dataArray['external_id'] = $data->getExternalId(); + if (\array_key_exists('externalId', get_object_vars($data)) && null !== ($data->externalId ?? null)) { + $dataArray['external_id'] = $data->externalId; } - if ($data->isInitialized('externalType') && null !== $data->getExternalType()) { - $dataArray['external_type'] = $data->getExternalType(); + if (\array_key_exists('externalType', get_object_vars($data)) && null !== ($data->externalType ?? null)) { + $dataArray['external_type'] = $data->externalType; } - if ($data->isInitialized('externalUrl') && null !== $data->getExternalUrl()) { - $dataArray['external_url'] = $data->getExternalUrl(); + if (\array_key_exists('externalUrl', get_object_vars($data)) && null !== ($data->externalUrl ?? null)) { + $dataArray['external_url'] = $data->externalUrl; } - if ($data->isInitialized('filetype') && null !== $data->getFiletype()) { - $dataArray['filetype'] = $data->getFiletype(); + if (\array_key_exists('filetype', get_object_vars($data)) && null !== ($data->filetype ?? null)) { + $dataArray['filetype'] = $data->filetype; } - if ($data->isInitialized('groups') && null !== $data->getGroups()) { + if (\array_key_exists('groups', get_object_vars($data)) && null !== ($data->groups ?? null)) { $values_1 = []; - foreach ($data->getGroups() as $value_1) { + foreach ($data->groups as $value_1) { $values_1[] = $value_1; } $dataArray['groups'] = $values_1; } - if ($data->isInitialized('hasRichPreview') && null !== $data->getHasRichPreview()) { - $dataArray['has_rich_preview'] = $data->getHasRichPreview(); + if (\array_key_exists('hasRichPreview', get_object_vars($data)) && null !== ($data->hasRichPreview ?? null)) { + $dataArray['has_rich_preview'] = $data->hasRichPreview; } - if ($data->isInitialized('id') && null !== $data->getId()) { - $dataArray['id'] = $data->getId(); + if (\array_key_exists('id', get_object_vars($data)) && null !== ($data->id ?? null)) { + $dataArray['id'] = $data->id; } - if ($data->isInitialized('imageExifRotation') && null !== $data->getImageExifRotation()) { - $dataArray['image_exif_rotation'] = $data->getImageExifRotation(); + if (\array_key_exists('imageExifRotation', get_object_vars($data)) && null !== ($data->imageExifRotation ?? null)) { + $dataArray['image_exif_rotation'] = $data->imageExifRotation; } - if ($data->isInitialized('ims') && null !== $data->getIms()) { + if (\array_key_exists('ims', get_object_vars($data)) && null !== ($data->ims ?? null)) { $values_2 = []; - foreach ($data->getIms() as $value_2) { + foreach ($data->ims as $value_2) { $values_2[] = $value_2; } $dataArray['ims'] = $values_2; } - if ($data->isInitialized('isExternal') && null !== $data->getIsExternal()) { - $dataArray['is_external'] = $data->getIsExternal(); + if (\array_key_exists('isExternal', get_object_vars($data)) && null !== ($data->isExternal ?? null)) { + $dataArray['is_external'] = $data->isExternal; } - if ($data->isInitialized('isPublic') && null !== $data->getIsPublic()) { - $dataArray['is_public'] = $data->getIsPublic(); + if (\array_key_exists('isPublic', get_object_vars($data)) && null !== ($data->isPublic ?? null)) { + $dataArray['is_public'] = $data->isPublic; } - if ($data->isInitialized('isStarred') && null !== $data->getIsStarred()) { - $dataArray['is_starred'] = $data->getIsStarred(); + if (\array_key_exists('isStarred', get_object_vars($data)) && null !== ($data->isStarred ?? null)) { + $dataArray['is_starred'] = $data->isStarred; } - if ($data->isInitialized('isTombstoned') && null !== $data->getIsTombstoned()) { - $dataArray['is_tombstoned'] = $data->getIsTombstoned(); + if (\array_key_exists('isTombstoned', get_object_vars($data)) && null !== ($data->isTombstoned ?? null)) { + $dataArray['is_tombstoned'] = $data->isTombstoned; } - if ($data->isInitialized('lastEditor') && null !== $data->getLastEditor()) { - $dataArray['last_editor'] = $data->getLastEditor(); + if (\array_key_exists('lastEditor', get_object_vars($data)) && null !== ($data->lastEditor ?? null)) { + $dataArray['last_editor'] = $data->lastEditor; } - if ($data->isInitialized('mimetype') && null !== $data->getMimetype()) { - $dataArray['mimetype'] = $data->getMimetype(); + if (\array_key_exists('mimetype', get_object_vars($data)) && null !== ($data->mimetype ?? null)) { + $dataArray['mimetype'] = $data->mimetype; } - if ($data->isInitialized('mode') && null !== $data->getMode()) { - $dataArray['mode'] = $data->getMode(); + if (\array_key_exists('mode', get_object_vars($data)) && null !== ($data->mode ?? null)) { + $dataArray['mode'] = $data->mode; } - if ($data->isInitialized('name') && null !== $data->getName()) { - $dataArray['name'] = $data->getName(); + if (\array_key_exists('name', get_object_vars($data)) && null !== ($data->name ?? null)) { + $dataArray['name'] = $data->name; } - if ($data->isInitialized('nonOwnerEditable') && null !== $data->getNonOwnerEditable()) { - $dataArray['non_owner_editable'] = $data->getNonOwnerEditable(); + if (\array_key_exists('nonOwnerEditable', get_object_vars($data)) && null !== ($data->nonOwnerEditable ?? null)) { + $dataArray['non_owner_editable'] = $data->nonOwnerEditable; } - if ($data->isInitialized('numStars') && null !== $data->getNumStars()) { - $dataArray['num_stars'] = $data->getNumStars(); + if (\array_key_exists('numStars', get_object_vars($data)) && null !== ($data->numStars ?? null)) { + $dataArray['num_stars'] = $data->numStars; } - if ($data->isInitialized('originalH') && null !== $data->getOriginalH()) { - $dataArray['original_h'] = $data->getOriginalH(); + if (\array_key_exists('originalH', get_object_vars($data)) && null !== ($data->originalH ?? null)) { + $dataArray['original_h'] = $data->originalH; } - if ($data->isInitialized('originalW') && null !== $data->getOriginalW()) { - $dataArray['original_w'] = $data->getOriginalW(); + if (\array_key_exists('originalW', get_object_vars($data)) && null !== ($data->originalW ?? null)) { + $dataArray['original_w'] = $data->originalW; } - if ($data->isInitialized('permalink') && null !== $data->getPermalink()) { - $dataArray['permalink'] = $data->getPermalink(); + if (\array_key_exists('permalink', get_object_vars($data)) && null !== ($data->permalink ?? null)) { + $dataArray['permalink'] = $data->permalink; } - if ($data->isInitialized('permalinkPublic') && null !== $data->getPermalinkPublic()) { - $dataArray['permalink_public'] = $data->getPermalinkPublic(); + if (\array_key_exists('permalinkPublic', get_object_vars($data)) && null !== ($data->permalinkPublic ?? null)) { + $dataArray['permalink_public'] = $data->permalinkPublic; } - if ($data->isInitialized('pinnedInfo') && null !== $data->getPinnedInfo()) { - $dataArray['pinned_info'] = $data->getPinnedInfo(); + if (\array_key_exists('pinnedInfo', get_object_vars($data)) && null !== ($data->pinnedInfo ?? null)) { + $dataArray['pinned_info'] = $data->pinnedInfo; } - if ($data->isInitialized('pinnedTo') && null !== $data->getPinnedTo()) { + if (\array_key_exists('pinnedTo', get_object_vars($data)) && null !== ($data->pinnedTo ?? null)) { $values_3 = []; - foreach ($data->getPinnedTo() as $value_3) { + foreach ($data->pinnedTo as $value_3) { $values_3[] = $value_3; } $dataArray['pinned_to'] = $values_3; } - if ($data->isInitialized('pjpeg') && null !== $data->getPjpeg()) { - $dataArray['pjpeg'] = $data->getPjpeg(); + if (\array_key_exists('pjpeg', get_object_vars($data)) && null !== ($data->pjpeg ?? null)) { + $dataArray['pjpeg'] = $data->pjpeg; } - if ($data->isInitialized('prettyType') && null !== $data->getPrettyType()) { - $dataArray['pretty_type'] = $data->getPrettyType(); + if (\array_key_exists('prettyType', get_object_vars($data)) && null !== ($data->prettyType ?? null)) { + $dataArray['pretty_type'] = $data->prettyType; } - if ($data->isInitialized('preview') && null !== $data->getPreview()) { - $dataArray['preview'] = $data->getPreview(); + if (\array_key_exists('preview', get_object_vars($data)) && null !== ($data->preview ?? null)) { + $dataArray['preview'] = $data->preview; } - if ($data->isInitialized('publicUrlShared') && null !== $data->getPublicUrlShared()) { - $dataArray['public_url_shared'] = $data->getPublicUrlShared(); + if (\array_key_exists('publicUrlShared', get_object_vars($data)) && null !== ($data->publicUrlShared ?? null)) { + $dataArray['public_url_shared'] = $data->publicUrlShared; } - if ($data->isInitialized('reactions') && null !== $data->getReactions()) { + if (\array_key_exists('reactions', get_object_vars($data)) && null !== ($data->reactions ?? null)) { $values_4 = []; - foreach ($data->getReactions() as $value_4) { - $values_4[] = null === $value_4 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_4, 'json', $context)); + foreach ($data->reactions as $value_4) { + $normalized = null === $value_4 ? null : $this->normalizer->normalize($value_4, 'json', $context); + $values_4[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['reactions'] = $values_4; } - if ($data->isInitialized('shares') && null !== $data->getShares()) { - $dataArray['shares'] = null === $data->getShares() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getShares(), 'json', $context)); + if (\array_key_exists('shares', get_object_vars($data)) && null !== ($data->shares ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->shares, 'json', $context); + $dataArray['shares'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } - if ($data->isInitialized('size') && null !== $data->getSize()) { - $dataArray['size'] = $data->getSize(); + if (\array_key_exists('size', get_object_vars($data)) && null !== ($data->size ?? null)) { + $dataArray['size'] = $data->size; } - if ($data->isInitialized('sourceTeam') && null !== $data->getSourceTeam()) { - $dataArray['source_team'] = $data->getSourceTeam(); + if (\array_key_exists('sourceTeam', get_object_vars($data)) && null !== ($data->sourceTeam ?? null)) { + $dataArray['source_team'] = $data->sourceTeam; } - if ($data->isInitialized('state') && null !== $data->getState()) { - $dataArray['state'] = $data->getState(); + if (\array_key_exists('state', get_object_vars($data)) && null !== ($data->state ?? null)) { + $dataArray['state'] = $data->state; } - if ($data->isInitialized('thumb1024') && null !== $data->getThumb1024()) { - $dataArray['thumb_1024'] = $data->getThumb1024(); + if (\array_key_exists('thumb1024', get_object_vars($data)) && null !== ($data->thumb1024 ?? null)) { + $dataArray['thumb_1024'] = $data->thumb1024; } - if ($data->isInitialized('thumb1024H') && null !== $data->getThumb1024H()) { - $dataArray['thumb_1024_h'] = $data->getThumb1024H(); + if (\array_key_exists('thumb1024H', get_object_vars($data)) && null !== ($data->thumb1024H ?? null)) { + $dataArray['thumb_1024_h'] = $data->thumb1024H; } - if ($data->isInitialized('thumb1024W') && null !== $data->getThumb1024W()) { - $dataArray['thumb_1024_w'] = $data->getThumb1024W(); + if (\array_key_exists('thumb1024W', get_object_vars($data)) && null !== ($data->thumb1024W ?? null)) { + $dataArray['thumb_1024_w'] = $data->thumb1024W; } - if ($data->isInitialized('thumb160') && null !== $data->getThumb160()) { - $dataArray['thumb_160'] = $data->getThumb160(); + if (\array_key_exists('thumb160', get_object_vars($data)) && null !== ($data->thumb160 ?? null)) { + $dataArray['thumb_160'] = $data->thumb160; } - if ($data->isInitialized('thumb360') && null !== $data->getThumb360()) { - $dataArray['thumb_360'] = $data->getThumb360(); + if (\array_key_exists('thumb360', get_object_vars($data)) && null !== ($data->thumb360 ?? null)) { + $dataArray['thumb_360'] = $data->thumb360; } - if ($data->isInitialized('thumb360Gif') && null !== $data->getThumb360Gif()) { - $dataArray['thumb_360_gif'] = $data->getThumb360Gif(); + if (\array_key_exists('thumb360Gif', get_object_vars($data)) && null !== ($data->thumb360Gif ?? null)) { + $dataArray['thumb_360_gif'] = $data->thumb360Gif; } - if ($data->isInitialized('thumb360H') && null !== $data->getThumb360H()) { - $dataArray['thumb_360_h'] = $data->getThumb360H(); + if (\array_key_exists('thumb360H', get_object_vars($data)) && null !== ($data->thumb360H ?? null)) { + $dataArray['thumb_360_h'] = $data->thumb360H; } - if ($data->isInitialized('thumb360W') && null !== $data->getThumb360W()) { - $dataArray['thumb_360_w'] = $data->getThumb360W(); + if (\array_key_exists('thumb360W', get_object_vars($data)) && null !== ($data->thumb360W ?? null)) { + $dataArray['thumb_360_w'] = $data->thumb360W; } - if ($data->isInitialized('thumb480') && null !== $data->getThumb480()) { - $dataArray['thumb_480'] = $data->getThumb480(); + if (\array_key_exists('thumb480', get_object_vars($data)) && null !== ($data->thumb480 ?? null)) { + $dataArray['thumb_480'] = $data->thumb480; } - if ($data->isInitialized('thumb480H') && null !== $data->getThumb480H()) { - $dataArray['thumb_480_h'] = $data->getThumb480H(); + if (\array_key_exists('thumb480H', get_object_vars($data)) && null !== ($data->thumb480H ?? null)) { + $dataArray['thumb_480_h'] = $data->thumb480H; } - if ($data->isInitialized('thumb480W') && null !== $data->getThumb480W()) { - $dataArray['thumb_480_w'] = $data->getThumb480W(); + if (\array_key_exists('thumb480W', get_object_vars($data)) && null !== ($data->thumb480W ?? null)) { + $dataArray['thumb_480_w'] = $data->thumb480W; } - if ($data->isInitialized('thumb64') && null !== $data->getThumb64()) { - $dataArray['thumb_64'] = $data->getThumb64(); + if (\array_key_exists('thumb64', get_object_vars($data)) && null !== ($data->thumb64 ?? null)) { + $dataArray['thumb_64'] = $data->thumb64; } - if ($data->isInitialized('thumb720') && null !== $data->getThumb720()) { - $dataArray['thumb_720'] = $data->getThumb720(); + if (\array_key_exists('thumb720', get_object_vars($data)) && null !== ($data->thumb720 ?? null)) { + $dataArray['thumb_720'] = $data->thumb720; } - if ($data->isInitialized('thumb720H') && null !== $data->getThumb720H()) { - $dataArray['thumb_720_h'] = $data->getThumb720H(); + if (\array_key_exists('thumb720H', get_object_vars($data)) && null !== ($data->thumb720H ?? null)) { + $dataArray['thumb_720_h'] = $data->thumb720H; } - if ($data->isInitialized('thumb720W') && null !== $data->getThumb720W()) { - $dataArray['thumb_720_w'] = $data->getThumb720W(); + if (\array_key_exists('thumb720W', get_object_vars($data)) && null !== ($data->thumb720W ?? null)) { + $dataArray['thumb_720_w'] = $data->thumb720W; } - if ($data->isInitialized('thumb80') && null !== $data->getThumb80()) { - $dataArray['thumb_80'] = $data->getThumb80(); + if (\array_key_exists('thumb80', get_object_vars($data)) && null !== ($data->thumb80 ?? null)) { + $dataArray['thumb_80'] = $data->thumb80; } - if ($data->isInitialized('thumb800') && null !== $data->getThumb800()) { - $dataArray['thumb_800'] = $data->getThumb800(); + if (\array_key_exists('thumb800', get_object_vars($data)) && null !== ($data->thumb800 ?? null)) { + $dataArray['thumb_800'] = $data->thumb800; } - if ($data->isInitialized('thumb800H') && null !== $data->getThumb800H()) { - $dataArray['thumb_800_h'] = $data->getThumb800H(); + if (\array_key_exists('thumb800H', get_object_vars($data)) && null !== ($data->thumb800H ?? null)) { + $dataArray['thumb_800_h'] = $data->thumb800H; } - if ($data->isInitialized('thumb800W') && null !== $data->getThumb800W()) { - $dataArray['thumb_800_w'] = $data->getThumb800W(); + if (\array_key_exists('thumb800W', get_object_vars($data)) && null !== ($data->thumb800W ?? null)) { + $dataArray['thumb_800_w'] = $data->thumb800W; } - if ($data->isInitialized('thumb960') && null !== $data->getThumb960()) { - $dataArray['thumb_960'] = $data->getThumb960(); + if (\array_key_exists('thumb960', get_object_vars($data)) && null !== ($data->thumb960 ?? null)) { + $dataArray['thumb_960'] = $data->thumb960; } - if ($data->isInitialized('thumb960H') && null !== $data->getThumb960H()) { - $dataArray['thumb_960_h'] = $data->getThumb960H(); + if (\array_key_exists('thumb960H', get_object_vars($data)) && null !== ($data->thumb960H ?? null)) { + $dataArray['thumb_960_h'] = $data->thumb960H; } - if ($data->isInitialized('thumb960W') && null !== $data->getThumb960W()) { - $dataArray['thumb_960_w'] = $data->getThumb960W(); + if (\array_key_exists('thumb960W', get_object_vars($data)) && null !== ($data->thumb960W ?? null)) { + $dataArray['thumb_960_w'] = $data->thumb960W; } - if ($data->isInitialized('thumbTiny') && null !== $data->getThumbTiny()) { - $dataArray['thumb_tiny'] = $data->getThumbTiny(); + if (\array_key_exists('thumbTiny', get_object_vars($data)) && null !== ($data->thumbTiny ?? null)) { + $dataArray['thumb_tiny'] = $data->thumbTiny; } - if ($data->isInitialized('timestamp') && null !== $data->getTimestamp()) { - $value_5 = $data->getTimestamp(); - if (\is_int($data->getTimestamp())) { - $value_5 = $data->getTimestamp(); - } elseif (\is_string($data->getTimestamp())) { - $value_5 = $data->getTimestamp(); + if (\array_key_exists('timestamp', get_object_vars($data)) && null !== ($data->timestamp ?? null)) { + $value_5 = $data->timestamp; + if (\is_int($data->timestamp)) { + $value_5 = $data->timestamp; + } elseif (\is_string($data->timestamp)) { + $value_5 = $data->timestamp; } $dataArray['timestamp'] = $value_5; } - if ($data->isInitialized('title') && null !== $data->getTitle()) { - $dataArray['title'] = $data->getTitle(); + if (\array_key_exists('title', get_object_vars($data)) && null !== ($data->title ?? null)) { + $dataArray['title'] = $data->title; } - if ($data->isInitialized('updated') && null !== $data->getUpdated()) { - $dataArray['updated'] = $data->getUpdated(); + if (\array_key_exists('updated', get_object_vars($data)) && null !== ($data->updated ?? null)) { + $dataArray['updated'] = $data->updated; } - if ($data->isInitialized('urlPrivate') && null !== $data->getUrlPrivate()) { - $dataArray['url_private'] = $data->getUrlPrivate(); + if (\array_key_exists('urlPrivate', get_object_vars($data)) && null !== ($data->urlPrivate ?? null)) { + $dataArray['url_private'] = $data->urlPrivate; } - if ($data->isInitialized('urlPrivateDownload') && null !== $data->getUrlPrivateDownload()) { - $dataArray['url_private_download'] = $data->getUrlPrivateDownload(); + if (\array_key_exists('urlPrivateDownload', get_object_vars($data)) && null !== ($data->urlPrivateDownload ?? null)) { + $dataArray['url_private_download'] = $data->urlPrivateDownload; } - if ($data->isInitialized('user') && null !== $data->getUser()) { - $dataArray['user'] = $data->getUser(); + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { + $dataArray['user'] = $data->user; } - if ($data->isInitialized('userTeam') && null !== $data->getUserTeam()) { - $dataArray['user_team'] = $data->getUserTeam(); + if (\array_key_exists('userTeam', get_object_vars($data)) && null !== ($data->userTeam ?? null)) { + $dataArray['user_team'] = $data->userTeam; } - if ($data->isInitialized('username') && null !== $data->getUsername()) { - $dataArray['username'] = $data->getUsername(); + if (\array_key_exists('username', get_object_vars($data)) && null !== ($data->username ?? null)) { + $dataArray['username'] = $data->username; } return $dataArray; diff --git a/generated/Normalizer/ObjsFileSharesNormalizer.php b/generated/Normalizer/ObjsFileSharesNormalizer.php index 7a2b7b56..fdaf0214 100644 --- a/generated/Normalizer/ObjsFileSharesNormalizer.php +++ b/generated/Normalizer/ObjsFileSharesNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('private', $data) && null !== $data['private']) { - $object->setPrivate($data['private']); - } elseif (\array_key_exists('private', $data) && null === $data['private']) { - $object->setPrivate(null); + $object->private = $data['private']; + } elseif (\array_key_exists('private', $data)) { + $object->private = null; } if (\array_key_exists('public', $data) && null !== $data['public']) { - $object->setPublic($data['public']); - } elseif (\array_key_exists('public', $data) && null === $data['public']) { - $object->setPublic(null); + $object->public = $data['public']; + } elseif (\array_key_exists('public', $data)) { + $object->public = null; } return $object; @@ -69,11 +69,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('private') && null !== $data->getPrivate()) { - $dataArray['private'] = $data->getPrivate(); + if (\array_key_exists('private', get_object_vars($data)) && null !== ($data->private ?? null)) { + $dataArray['private'] = $data->private; } - if ($data->isInitialized('public') && null !== $data->getPublic()) { - $dataArray['public'] = $data->getPublic(); + if (\array_key_exists('public', get_object_vars($data)) && null !== ($data->public ?? null)) { + $dataArray['public'] = $data->public; } return $dataArray; diff --git a/generated/Normalizer/ObjsIconNormalizer.php b/generated/Normalizer/ObjsIconNormalizer.php index 0cd3123f..19493e5a 100644 --- a/generated/Normalizer/ObjsIconNormalizer.php +++ b/generated/Normalizer/ObjsIconNormalizer.php @@ -56,44 +56,44 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['image_default'] = (bool) $data['image_default']; } if (\array_key_exists('image_102', $data) && null !== $data['image_102']) { - $object->setImage102($data['image_102']); - } elseif (\array_key_exists('image_102', $data) && null === $data['image_102']) { - $object->setImage102(null); + $object->image102 = $data['image_102']; + } elseif (\array_key_exists('image_102', $data)) { + $object->image102 = null; } if (\array_key_exists('image_132', $data) && null !== $data['image_132']) { - $object->setImage132($data['image_132']); - } elseif (\array_key_exists('image_132', $data) && null === $data['image_132']) { - $object->setImage132(null); + $object->image132 = $data['image_132']; + } elseif (\array_key_exists('image_132', $data)) { + $object->image132 = null; } if (\array_key_exists('image_230', $data) && null !== $data['image_230']) { - $object->setImage230($data['image_230']); - } elseif (\array_key_exists('image_230', $data) && null === $data['image_230']) { - $object->setImage230(null); + $object->image230 = $data['image_230']; + } elseif (\array_key_exists('image_230', $data)) { + $object->image230 = null; } if (\array_key_exists('image_34', $data) && null !== $data['image_34']) { - $object->setImage34($data['image_34']); - } elseif (\array_key_exists('image_34', $data) && null === $data['image_34']) { - $object->setImage34(null); + $object->image34 = $data['image_34']; + } elseif (\array_key_exists('image_34', $data)) { + $object->image34 = null; } if (\array_key_exists('image_44', $data) && null !== $data['image_44']) { - $object->setImage44($data['image_44']); - } elseif (\array_key_exists('image_44', $data) && null === $data['image_44']) { - $object->setImage44(null); + $object->image44 = $data['image_44']; + } elseif (\array_key_exists('image_44', $data)) { + $object->image44 = null; } if (\array_key_exists('image_68', $data) && null !== $data['image_68']) { - $object->setImage68($data['image_68']); - } elseif (\array_key_exists('image_68', $data) && null === $data['image_68']) { - $object->setImage68(null); + $object->image68 = $data['image_68']; + } elseif (\array_key_exists('image_68', $data)) { + $object->image68 = null; } if (\array_key_exists('image_88', $data) && null !== $data['image_88']) { - $object->setImage88($data['image_88']); - } elseif (\array_key_exists('image_88', $data) && null === $data['image_88']) { - $object->setImage88(null); + $object->image88 = $data['image_88']; + } elseif (\array_key_exists('image_88', $data)) { + $object->image88 = null; } if (\array_key_exists('image_default', $data) && null !== $data['image_default']) { - $object->setImageDefault($data['image_default']); - } elseif (\array_key_exists('image_default', $data) && null === $data['image_default']) { - $object->setImageDefault(null); + $object->imageDefault = $data['image_default']; + } elseif (\array_key_exists('image_default', $data)) { + $object->imageDefault = null; } return $object; @@ -102,29 +102,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('image102') && null !== $data->getImage102()) { - $dataArray['image_102'] = $data->getImage102(); + if (\array_key_exists('image102', get_object_vars($data)) && null !== ($data->image102 ?? null)) { + $dataArray['image_102'] = $data->image102; } - if ($data->isInitialized('image132') && null !== $data->getImage132()) { - $dataArray['image_132'] = $data->getImage132(); + if (\array_key_exists('image132', get_object_vars($data)) && null !== ($data->image132 ?? null)) { + $dataArray['image_132'] = $data->image132; } - if ($data->isInitialized('image230') && null !== $data->getImage230()) { - $dataArray['image_230'] = $data->getImage230(); + if (\array_key_exists('image230', get_object_vars($data)) && null !== ($data->image230 ?? null)) { + $dataArray['image_230'] = $data->image230; } - if ($data->isInitialized('image34') && null !== $data->getImage34()) { - $dataArray['image_34'] = $data->getImage34(); + if (\array_key_exists('image34', get_object_vars($data)) && null !== ($data->image34 ?? null)) { + $dataArray['image_34'] = $data->image34; } - if ($data->isInitialized('image44') && null !== $data->getImage44()) { - $dataArray['image_44'] = $data->getImage44(); + if (\array_key_exists('image44', get_object_vars($data)) && null !== ($data->image44 ?? null)) { + $dataArray['image_44'] = $data->image44; } - if ($data->isInitialized('image68') && null !== $data->getImage68()) { - $dataArray['image_68'] = $data->getImage68(); + if (\array_key_exists('image68', get_object_vars($data)) && null !== ($data->image68 ?? null)) { + $dataArray['image_68'] = $data->image68; } - if ($data->isInitialized('image88') && null !== $data->getImage88()) { - $dataArray['image_88'] = $data->getImage88(); + if (\array_key_exists('image88', get_object_vars($data)) && null !== ($data->image88 ?? null)) { + $dataArray['image_88'] = $data->image88; } - if ($data->isInitialized('imageDefault') && null !== $data->getImageDefault()) { - $dataArray['image_default'] = $data->getImageDefault(); + if (\array_key_exists('imageDefault', get_object_vars($data)) && null !== ($data->imageDefault ?? null)) { + $dataArray['image_default'] = $data->imageDefault; } return $dataArray; diff --git a/generated/Normalizer/ObjsMessageAttachmentsItemActionsItemNormalizer.php b/generated/Normalizer/ObjsMessageAttachmentsItemActionsItemNormalizer.php index 97fa9d32..8fedea86 100644 --- a/generated/Normalizer/ObjsMessageAttachmentsItemActionsItemNormalizer.php +++ b/generated/Normalizer/ObjsMessageAttachmentsItemActionsItemNormalizer.php @@ -53,34 +53,34 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('style', $data) && null !== $data['style']) { - $object->setStyle($data['style']); - } elseif (\array_key_exists('style', $data) && null === $data['style']) { - $object->setStyle(null); + $object->style = $data['style']; + } elseif (\array_key_exists('style', $data)) { + $object->style = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('value', $data) && null !== $data['value']) { - $object->setValue($data['value']); - } elseif (\array_key_exists('value', $data) && null === $data['value']) { - $object->setValue(null); + $object->value = $data['value']; + } elseif (\array_key_exists('value', $data)) { + $object->value = null; } return $object; @@ -89,23 +89,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('id') && null !== $data->getId()) { - $dataArray['id'] = $data->getId(); + if (\array_key_exists('id', get_object_vars($data)) && null !== ($data->id ?? null)) { + $dataArray['id'] = $data->id; } - if ($data->isInitialized('name') && null !== $data->getName()) { - $dataArray['name'] = $data->getName(); + if (\array_key_exists('name', get_object_vars($data)) && null !== ($data->name ?? null)) { + $dataArray['name'] = $data->name; } - if ($data->isInitialized('style') && null !== $data->getStyle()) { - $dataArray['style'] = $data->getStyle(); + if (\array_key_exists('style', get_object_vars($data)) && null !== ($data->style ?? null)) { + $dataArray['style'] = $data->style; } - if ($data->isInitialized('text') && null !== $data->getText()) { - $dataArray['text'] = $data->getText(); + if (\array_key_exists('text', get_object_vars($data)) && null !== ($data->text ?? null)) { + $dataArray['text'] = $data->text; } - if ($data->isInitialized('type') && null !== $data->getType()) { - $dataArray['type'] = $data->getType(); + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { + $dataArray['type'] = $data->type; } - if ($data->isInitialized('value') && null !== $data->getValue()) { - $dataArray['value'] = $data->getValue(); + if (\array_key_exists('value', get_object_vars($data)) && null !== ($data->value ?? null)) { + $dataArray['value'] = $data->value; } return $dataArray; diff --git a/generated/Normalizer/ObjsMessageAttachmentsItemFieldsItemNormalizer.php b/generated/Normalizer/ObjsMessageAttachmentsItemFieldsItemNormalizer.php index f52719ef..f4134f28 100644 --- a/generated/Normalizer/ObjsMessageAttachmentsItemFieldsItemNormalizer.php +++ b/generated/Normalizer/ObjsMessageAttachmentsItemFieldsItemNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['short'] = (bool) $data['short']; } if (\array_key_exists('short', $data) && null !== $data['short']) { - $object->setShort($data['short']); - } elseif (\array_key_exists('short', $data) && null === $data['short']) { - $object->setShort(null); + $object->short = $data['short']; + } elseif (\array_key_exists('short', $data)) { + $object->short = null; } if (\array_key_exists('title', $data) && null !== $data['title']) { - $object->setTitle($data['title']); - } elseif (\array_key_exists('title', $data) && null === $data['title']) { - $object->setTitle(null); + $object->title = $data['title']; + } elseif (\array_key_exists('title', $data)) { + $object->title = null; } if (\array_key_exists('value', $data) && null !== $data['value']) { - $object->setValue($data['value']); - } elseif (\array_key_exists('value', $data) && null === $data['value']) { - $object->setValue(null); + $object->value = $data['value']; + } elseif (\array_key_exists('value', $data)) { + $object->value = null; } return $object; @@ -77,14 +77,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('short') && null !== $data->getShort()) { - $dataArray['short'] = $data->getShort(); + if (\array_key_exists('short', get_object_vars($data)) && null !== ($data->short ?? null)) { + $dataArray['short'] = $data->short; } - if ($data->isInitialized('title') && null !== $data->getTitle()) { - $dataArray['title'] = $data->getTitle(); + if (\array_key_exists('title', get_object_vars($data)) && null !== ($data->title ?? null)) { + $dataArray['title'] = $data->title; } - if ($data->isInitialized('value') && null !== $data->getValue()) { - $dataArray['value'] = $data->getValue(); + if (\array_key_exists('value', get_object_vars($data)) && null !== ($data->value ?? null)) { + $dataArray['value'] = $data->value; } return $dataArray; diff --git a/generated/Normalizer/ObjsMessageAttachmentsItemNormalizer.php b/generated/Normalizer/ObjsMessageAttachmentsItemNormalizer.php index a9c16377..4525e195 100644 --- a/generated/Normalizer/ObjsMessageAttachmentsItemNormalizer.php +++ b/generated/Normalizer/ObjsMessageAttachmentsItemNormalizer.php @@ -57,52 +57,52 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['actions'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsMessageAttachmentsItemActionsItem::class, 'json', $context); } - $object->setActions($values); + $object->actions = $values; unset($data['actions']); - } elseif (\array_key_exists('actions', $data) && null === $data['actions']) { - $object->setActions(null); + } elseif (\array_key_exists('actions', $data)) { + $object->actions = null; unset($data['actions']); } if (\array_key_exists('author_icon', $data) && null !== $data['author_icon']) { - $object->setAuthorIcon($data['author_icon']); + $object->authorIcon = $data['author_icon']; unset($data['author_icon']); - } elseif (\array_key_exists('author_icon', $data) && null === $data['author_icon']) { - $object->setAuthorIcon(null); + } elseif (\array_key_exists('author_icon', $data)) { + $object->authorIcon = null; unset($data['author_icon']); } if (\array_key_exists('author_link', $data) && null !== $data['author_link']) { - $object->setAuthorLink($data['author_link']); + $object->authorLink = $data['author_link']; unset($data['author_link']); - } elseif (\array_key_exists('author_link', $data) && null === $data['author_link']) { - $object->setAuthorLink(null); + } elseif (\array_key_exists('author_link', $data)) { + $object->authorLink = null; unset($data['author_link']); } if (\array_key_exists('author_name', $data) && null !== $data['author_name']) { - $object->setAuthorName($data['author_name']); + $object->authorName = $data['author_name']; unset($data['author_name']); - } elseif (\array_key_exists('author_name', $data) && null === $data['author_name']) { - $object->setAuthorName(null); + } elseif (\array_key_exists('author_name', $data)) { + $object->authorName = null; unset($data['author_name']); } if (\array_key_exists('callback_id', $data) && null !== $data['callback_id']) { - $object->setCallbackId($data['callback_id']); + $object->callbackId = $data['callback_id']; unset($data['callback_id']); - } elseif (\array_key_exists('callback_id', $data) && null === $data['callback_id']) { - $object->setCallbackId(null); + } elseif (\array_key_exists('callback_id', $data)) { + $object->callbackId = null; unset($data['callback_id']); } if (\array_key_exists('color', $data) && null !== $data['color']) { - $object->setColor($data['color']); + $object->color = $data['color']; unset($data['color']); - } elseif (\array_key_exists('color', $data) && null === $data['color']) { - $object->setColor(null); + } elseif (\array_key_exists('color', $data)) { + $object->color = null; unset($data['color']); } if (\array_key_exists('fallback', $data) && null !== $data['fallback']) { - $object->setFallback($data['fallback']); + $object->fallback = $data['fallback']; unset($data['fallback']); - } elseif (\array_key_exists('fallback', $data) && null === $data['fallback']) { - $object->setFallback(null); + } elseif (\array_key_exists('fallback', $data)) { + $object->fallback = null; unset($data['fallback']); } if (\array_key_exists('fields', $data) && null !== $data['fields']) { @@ -110,94 +110,94 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['fields'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, \JoliCode\Slack\Api\Model\ObjsMessageAttachmentsItemFieldsItem::class, 'json', $context); } - $object->setFields($values_1); + $object->fields = $values_1; unset($data['fields']); - } elseif (\array_key_exists('fields', $data) && null === $data['fields']) { - $object->setFields(null); + } elseif (\array_key_exists('fields', $data)) { + $object->fields = null; unset($data['fields']); } if (\array_key_exists('footer', $data) && null !== $data['footer']) { - $object->setFooter($data['footer']); + $object->footer = $data['footer']; unset($data['footer']); - } elseif (\array_key_exists('footer', $data) && null === $data['footer']) { - $object->setFooter(null); + } elseif (\array_key_exists('footer', $data)) { + $object->footer = null; unset($data['footer']); } if (\array_key_exists('footer_icon', $data) && null !== $data['footer_icon']) { - $object->setFooterIcon($data['footer_icon']); + $object->footerIcon = $data['footer_icon']; unset($data['footer_icon']); - } elseif (\array_key_exists('footer_icon', $data) && null === $data['footer_icon']) { - $object->setFooterIcon(null); + } elseif (\array_key_exists('footer_icon', $data)) { + $object->footerIcon = null; unset($data['footer_icon']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); + $object->id = $data['id']; unset($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + } elseif (\array_key_exists('id', $data)) { + $object->id = null; unset($data['id']); } if (\array_key_exists('image_bytes', $data) && null !== $data['image_bytes']) { - $object->setImageBytes($data['image_bytes']); + $object->imageBytes = $data['image_bytes']; unset($data['image_bytes']); - } elseif (\array_key_exists('image_bytes', $data) && null === $data['image_bytes']) { - $object->setImageBytes(null); + } elseif (\array_key_exists('image_bytes', $data)) { + $object->imageBytes = null; unset($data['image_bytes']); } if (\array_key_exists('image_height', $data) && null !== $data['image_height']) { - $object->setImageHeight($data['image_height']); + $object->imageHeight = $data['image_height']; unset($data['image_height']); - } elseif (\array_key_exists('image_height', $data) && null === $data['image_height']) { - $object->setImageHeight(null); + } elseif (\array_key_exists('image_height', $data)) { + $object->imageHeight = null; unset($data['image_height']); } if (\array_key_exists('image_url', $data) && null !== $data['image_url']) { - $object->setImageUrl($data['image_url']); + $object->imageUrl = $data['image_url']; unset($data['image_url']); - } elseif (\array_key_exists('image_url', $data) && null === $data['image_url']) { - $object->setImageUrl(null); + } elseif (\array_key_exists('image_url', $data)) { + $object->imageUrl = null; unset($data['image_url']); } if (\array_key_exists('image_width', $data) && null !== $data['image_width']) { - $object->setImageWidth($data['image_width']); + $object->imageWidth = $data['image_width']; unset($data['image_width']); - } elseif (\array_key_exists('image_width', $data) && null === $data['image_width']) { - $object->setImageWidth(null); + } elseif (\array_key_exists('image_width', $data)) { + $object->imageWidth = null; unset($data['image_width']); } if (\array_key_exists('pretext', $data) && null !== $data['pretext']) { - $object->setPretext($data['pretext']); + $object->pretext = $data['pretext']; unset($data['pretext']); - } elseif (\array_key_exists('pretext', $data) && null === $data['pretext']) { - $object->setPretext(null); + } elseif (\array_key_exists('pretext', $data)) { + $object->pretext = null; unset($data['pretext']); } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); + $object->text = $data['text']; unset($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + } elseif (\array_key_exists('text', $data)) { + $object->text = null; unset($data['text']); } if (\array_key_exists('thumb_url', $data) && null !== $data['thumb_url']) { - $object->setThumbUrl($data['thumb_url']); + $object->thumbUrl = $data['thumb_url']; unset($data['thumb_url']); - } elseif (\array_key_exists('thumb_url', $data) && null === $data['thumb_url']) { - $object->setThumbUrl(null); + } elseif (\array_key_exists('thumb_url', $data)) { + $object->thumbUrl = null; unset($data['thumb_url']); } if (\array_key_exists('title', $data) && null !== $data['title']) { - $object->setTitle($data['title']); + $object->title = $data['title']; unset($data['title']); - } elseif (\array_key_exists('title', $data) && null === $data['title']) { - $object->setTitle(null); + } elseif (\array_key_exists('title', $data)) { + $object->title = null; unset($data['title']); } if (\array_key_exists('title_link', $data) && null !== $data['title_link']) { - $object->setTitleLink($data['title_link']); + $object->titleLink = $data['title_link']; unset($data['title_link']); - } elseif (\array_key_exists('title_link', $data) && null === $data['title_link']) { - $object->setTitleLink(null); + } elseif (\array_key_exists('title_link', $data)) { + $object->titleLink = null; unset($data['title_link']); } if (\array_key_exists('ts', $data) && null !== $data['ts']) { @@ -207,10 +207,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a } elseif (\is_string($data['ts'])) { $value_2 = $data['ts']; } - $object->setTs($value_2); + $object->ts = $value_2; unset($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; unset($data['ts']); } foreach ($data as $key => $value_3) { @@ -225,78 +225,80 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('actions') && null !== $data->getActions()) { + if (\array_key_exists('actions', get_object_vars($data)) && null !== ($data->actions ?? null)) { $values = []; - foreach ($data->getActions() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->actions as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['actions'] = $values; } - if ($data->isInitialized('authorIcon') && null !== $data->getAuthorIcon()) { - $dataArray['author_icon'] = $data->getAuthorIcon(); + if (\array_key_exists('authorIcon', get_object_vars($data)) && null !== ($data->authorIcon ?? null)) { + $dataArray['author_icon'] = $data->authorIcon; } - if ($data->isInitialized('authorLink') && null !== $data->getAuthorLink()) { - $dataArray['author_link'] = $data->getAuthorLink(); + if (\array_key_exists('authorLink', get_object_vars($data)) && null !== ($data->authorLink ?? null)) { + $dataArray['author_link'] = $data->authorLink; } - if ($data->isInitialized('authorName') && null !== $data->getAuthorName()) { - $dataArray['author_name'] = $data->getAuthorName(); + if (\array_key_exists('authorName', get_object_vars($data)) && null !== ($data->authorName ?? null)) { + $dataArray['author_name'] = $data->authorName; } - if ($data->isInitialized('callbackId') && null !== $data->getCallbackId()) { - $dataArray['callback_id'] = $data->getCallbackId(); + if (\array_key_exists('callbackId', get_object_vars($data)) && null !== ($data->callbackId ?? null)) { + $dataArray['callback_id'] = $data->callbackId; } - if ($data->isInitialized('color') && null !== $data->getColor()) { - $dataArray['color'] = $data->getColor(); + if (\array_key_exists('color', get_object_vars($data)) && null !== ($data->color ?? null)) { + $dataArray['color'] = $data->color; } - if ($data->isInitialized('fallback') && null !== $data->getFallback()) { - $dataArray['fallback'] = $data->getFallback(); + if (\array_key_exists('fallback', get_object_vars($data)) && null !== ($data->fallback ?? null)) { + $dataArray['fallback'] = $data->fallback; } - if ($data->isInitialized('fields') && null !== $data->getFields()) { + if (\array_key_exists('fields', get_object_vars($data)) && null !== ($data->fields ?? null)) { $values_1 = []; - foreach ($data->getFields() as $value_1) { - $values_1[] = null === $value_1 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_1, 'json', $context)); + foreach ($data->fields as $value_1) { + $normalized_1 = null === $value_1 ? null : $this->normalizer->normalize($value_1, 'json', $context); + $values_1[] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } $dataArray['fields'] = $values_1; } - if ($data->isInitialized('footer') && null !== $data->getFooter()) { - $dataArray['footer'] = $data->getFooter(); + if (\array_key_exists('footer', get_object_vars($data)) && null !== ($data->footer ?? null)) { + $dataArray['footer'] = $data->footer; } - if ($data->isInitialized('footerIcon') && null !== $data->getFooterIcon()) { - $dataArray['footer_icon'] = $data->getFooterIcon(); + if (\array_key_exists('footerIcon', get_object_vars($data)) && null !== ($data->footerIcon ?? null)) { + $dataArray['footer_icon'] = $data->footerIcon; } - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('imageBytes') && null !== $data->getImageBytes()) { - $dataArray['image_bytes'] = $data->getImageBytes(); + $dataArray['id'] = $data->id; + if (\array_key_exists('imageBytes', get_object_vars($data)) && null !== ($data->imageBytes ?? null)) { + $dataArray['image_bytes'] = $data->imageBytes; } - if ($data->isInitialized('imageHeight') && null !== $data->getImageHeight()) { - $dataArray['image_height'] = $data->getImageHeight(); + if (\array_key_exists('imageHeight', get_object_vars($data)) && null !== ($data->imageHeight ?? null)) { + $dataArray['image_height'] = $data->imageHeight; } - if ($data->isInitialized('imageUrl') && null !== $data->getImageUrl()) { - $dataArray['image_url'] = $data->getImageUrl(); + if (\array_key_exists('imageUrl', get_object_vars($data)) && null !== ($data->imageUrl ?? null)) { + $dataArray['image_url'] = $data->imageUrl; } - if ($data->isInitialized('imageWidth') && null !== $data->getImageWidth()) { - $dataArray['image_width'] = $data->getImageWidth(); + if (\array_key_exists('imageWidth', get_object_vars($data)) && null !== ($data->imageWidth ?? null)) { + $dataArray['image_width'] = $data->imageWidth; } - if ($data->isInitialized('pretext') && null !== $data->getPretext()) { - $dataArray['pretext'] = $data->getPretext(); + if (\array_key_exists('pretext', get_object_vars($data)) && null !== ($data->pretext ?? null)) { + $dataArray['pretext'] = $data->pretext; } - if ($data->isInitialized('text') && null !== $data->getText()) { - $dataArray['text'] = $data->getText(); + if (\array_key_exists('text', get_object_vars($data)) && null !== ($data->text ?? null)) { + $dataArray['text'] = $data->text; } - if ($data->isInitialized('thumbUrl') && null !== $data->getThumbUrl()) { - $dataArray['thumb_url'] = $data->getThumbUrl(); + if (\array_key_exists('thumbUrl', get_object_vars($data)) && null !== ($data->thumbUrl ?? null)) { + $dataArray['thumb_url'] = $data->thumbUrl; } - if ($data->isInitialized('title') && null !== $data->getTitle()) { - $dataArray['title'] = $data->getTitle(); + if (\array_key_exists('title', get_object_vars($data)) && null !== ($data->title ?? null)) { + $dataArray['title'] = $data->title; } - if ($data->isInitialized('titleLink') && null !== $data->getTitleLink()) { - $dataArray['title_link'] = $data->getTitleLink(); + if (\array_key_exists('titleLink', get_object_vars($data)) && null !== ($data->titleLink ?? null)) { + $dataArray['title_link'] = $data->titleLink; } - if ($data->isInitialized('ts') && null !== $data->getTs()) { - $value_2 = $data->getTs(); - if (\is_float($data->getTs())) { - $value_2 = $data->getTs(); - } elseif (\is_string($data->getTs())) { - $value_2 = $data->getTs(); + if (\array_key_exists('ts', get_object_vars($data)) && null !== ($data->ts ?? null)) { + $value_2 = $data->ts; + if (\is_float($data->ts)) { + $value_2 = $data->ts; + } elseif (\is_string($data->ts)) { + $value_2 = $data->ts; } $dataArray['ts'] = $value_2; } diff --git a/generated/Normalizer/ObjsMessageIconsNormalizer.php b/generated/Normalizer/ObjsMessageIconsNormalizer.php index 5ee38252..895ae40e 100644 --- a/generated/Normalizer/ObjsMessageIconsNormalizer.php +++ b/generated/Normalizer/ObjsMessageIconsNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('emoji', $data) && null !== $data['emoji']) { - $object->setEmoji($data['emoji']); - } elseif (\array_key_exists('emoji', $data) && null === $data['emoji']) { - $object->setEmoji(null); + $object->emoji = $data['emoji']; + } elseif (\array_key_exists('emoji', $data)) { + $object->emoji = null; } if (\array_key_exists('image_64', $data) && null !== $data['image_64']) { - $object->setImage64($data['image_64']); - } elseif (\array_key_exists('image_64', $data) && null === $data['image_64']) { - $object->setImage64(null); + $object->image64 = $data['image_64']; + } elseif (\array_key_exists('image_64', $data)) { + $object->image64 = null; } return $object; @@ -69,11 +69,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('emoji') && null !== $data->getEmoji()) { - $dataArray['emoji'] = $data->getEmoji(); + if (\array_key_exists('emoji', get_object_vars($data)) && null !== ($data->emoji ?? null)) { + $dataArray['emoji'] = $data->emoji; } - if ($data->isInitialized('image64') && null !== $data->getImage64()) { - $dataArray['image_64'] = $data->getImage64(); + if (\array_key_exists('image64', get_object_vars($data)) && null !== ($data->image64 ?? null)) { + $dataArray['image_64'] = $data->image64; } return $dataArray; diff --git a/generated/Normalizer/ObjsMessageNormalizer.php b/generated/Normalizer/ObjsMessageNormalizer.php index 8287cd80..88744d11 100644 --- a/generated/Normalizer/ObjsMessageNormalizer.php +++ b/generated/Normalizer/ObjsMessageNormalizer.php @@ -75,234 +75,234 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['attachments'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsMessageAttachmentsItem::class, 'json', $context); } - $object->setAttachments($values); - } elseif (\array_key_exists('attachments', $data) && null === $data['attachments']) { - $object->setAttachments(null); + $object->attachments = $values; + } elseif (\array_key_exists('attachments', $data)) { + $object->attachments = null; } if (\array_key_exists('blocks', $data) && null !== $data['blocks']) { $values_1 = []; foreach ($data['blocks'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, \JoliCode\Slack\Api\Model\BlocksItem::class, 'json', $context); } - $object->setBlocks($values_1); - } elseif (\array_key_exists('blocks', $data) && null === $data['blocks']) { - $object->setBlocks(null); + $object->blocks = $values_1; + } elseif (\array_key_exists('blocks', $data)) { + $object->blocks = null; } if (\array_key_exists('bot_id', $data) && null !== $data['bot_id']) { - $object->setBotId($data['bot_id']); - } elseif (\array_key_exists('bot_id', $data) && null === $data['bot_id']) { - $object->setBotId(null); + $object->botId = $data['bot_id']; + } elseif (\array_key_exists('bot_id', $data)) { + $object->botId = null; } if (\array_key_exists('bot_profile', $data) && null !== $data['bot_profile']) { - $object->setBotProfile($this->denormalizer->denormalize($data['bot_profile'], \JoliCode\Slack\Api\Model\ObjsBotProfile::class, 'json', $context)); - } elseif (\array_key_exists('bot_profile', $data) && null === $data['bot_profile']) { - $object->setBotProfile(null); + $object->botProfile = $this->denormalizer->denormalize($data['bot_profile'], \JoliCode\Slack\Api\Model\ObjsBotProfile::class, 'json', $context); + } elseif (\array_key_exists('bot_profile', $data)) { + $object->botProfile = null; } if (\array_key_exists('client_msg_id', $data) && null !== $data['client_msg_id']) { - $object->setClientMsgId($data['client_msg_id']); - } elseif (\array_key_exists('client_msg_id', $data) && null === $data['client_msg_id']) { - $object->setClientMsgId(null); + $object->clientMsgId = $data['client_msg_id']; + } elseif (\array_key_exists('client_msg_id', $data)) { + $object->clientMsgId = null; } if (\array_key_exists('comment', $data) && null !== $data['comment']) { - $object->setComment($this->denormalizer->denormalize($data['comment'], \JoliCode\Slack\Api\Model\ObjsComment::class, 'json', $context)); - } elseif (\array_key_exists('comment', $data) && null === $data['comment']) { - $object->setComment(null); + $object->comment = $this->denormalizer->denormalize($data['comment'], \JoliCode\Slack\Api\Model\ObjsComment::class, 'json', $context); + } elseif (\array_key_exists('comment', $data)) { + $object->comment = null; } if (\array_key_exists('display_as_bot', $data) && null !== $data['display_as_bot']) { - $object->setDisplayAsBot($data['display_as_bot']); - } elseif (\array_key_exists('display_as_bot', $data) && null === $data['display_as_bot']) { - $object->setDisplayAsBot(null); + $object->displayAsBot = $data['display_as_bot']; + } elseif (\array_key_exists('display_as_bot', $data)) { + $object->displayAsBot = null; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('files', $data) && null !== $data['files']) { $values_2 = []; foreach ($data['files'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); } - $object->setFiles($values_2); - } elseif (\array_key_exists('files', $data) && null === $data['files']) { - $object->setFiles(null); + $object->files = $values_2; + } elseif (\array_key_exists('files', $data)) { + $object->files = null; } if (\array_key_exists('icons', $data) && null !== $data['icons']) { - $object->setIcons($this->denormalizer->denormalize($data['icons'], \JoliCode\Slack\Api\Model\ObjsMessageIcons::class, 'json', $context)); - } elseif (\array_key_exists('icons', $data) && null === $data['icons']) { - $object->setIcons(null); + $object->icons = $this->denormalizer->denormalize($data['icons'], \JoliCode\Slack\Api\Model\ObjsMessageIcons::class, 'json', $context); + } elseif (\array_key_exists('icons', $data)) { + $object->icons = null; } if (\array_key_exists('inviter', $data) && null !== $data['inviter']) { - $object->setInviter($data['inviter']); - } elseif (\array_key_exists('inviter', $data) && null === $data['inviter']) { - $object->setInviter(null); + $object->inviter = $data['inviter']; + } elseif (\array_key_exists('inviter', $data)) { + $object->inviter = null; } if (\array_key_exists('is_delayed_message', $data) && null !== $data['is_delayed_message']) { - $object->setIsDelayedMessage($data['is_delayed_message']); - } elseif (\array_key_exists('is_delayed_message', $data) && null === $data['is_delayed_message']) { - $object->setIsDelayedMessage(null); + $object->isDelayedMessage = $data['is_delayed_message']; + } elseif (\array_key_exists('is_delayed_message', $data)) { + $object->isDelayedMessage = null; } if (\array_key_exists('is_intro', $data) && null !== $data['is_intro']) { - $object->setIsIntro($data['is_intro']); - } elseif (\array_key_exists('is_intro', $data) && null === $data['is_intro']) { - $object->setIsIntro(null); + $object->isIntro = $data['is_intro']; + } elseif (\array_key_exists('is_intro', $data)) { + $object->isIntro = null; } if (\array_key_exists('is_starred', $data) && null !== $data['is_starred']) { - $object->setIsStarred($data['is_starred']); - } elseif (\array_key_exists('is_starred', $data) && null === $data['is_starred']) { - $object->setIsStarred(null); + $object->isStarred = $data['is_starred']; + } elseif (\array_key_exists('is_starred', $data)) { + $object->isStarred = null; } if (\array_key_exists('last_read', $data) && null !== $data['last_read']) { - $object->setLastRead($data['last_read']); - } elseif (\array_key_exists('last_read', $data) && null === $data['last_read']) { - $object->setLastRead(null); + $object->lastRead = $data['last_read']; + } elseif (\array_key_exists('last_read', $data)) { + $object->lastRead = null; } if (\array_key_exists('latest_reply', $data) && null !== $data['latest_reply']) { - $object->setLatestReply($data['latest_reply']); - } elseif (\array_key_exists('latest_reply', $data) && null === $data['latest_reply']) { - $object->setLatestReply(null); + $object->latestReply = $data['latest_reply']; + } elseif (\array_key_exists('latest_reply', $data)) { + $object->latestReply = null; } if (\array_key_exists('metadata', $data) && null !== $data['metadata']) { - $object->setMetadata($this->denormalizer->denormalize($data['metadata'], \JoliCode\Slack\Api\Model\ObjsMetadata::class, 'json', $context)); - } elseif (\array_key_exists('metadata', $data) && null === $data['metadata']) { - $object->setMetadata(null); + $object->metadata = $this->denormalizer->denormalize($data['metadata'], \JoliCode\Slack\Api\Model\ObjsMetadata::class, 'json', $context); + } elseif (\array_key_exists('metadata', $data)) { + $object->metadata = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('old_name', $data) && null !== $data['old_name']) { - $object->setOldName($data['old_name']); - } elseif (\array_key_exists('old_name', $data) && null === $data['old_name']) { - $object->setOldName(null); + $object->oldName = $data['old_name']; + } elseif (\array_key_exists('old_name', $data)) { + $object->oldName = null; } if (\array_key_exists('parent_user_id', $data) && null !== $data['parent_user_id']) { - $object->setParentUserId($data['parent_user_id']); - } elseif (\array_key_exists('parent_user_id', $data) && null === $data['parent_user_id']) { - $object->setParentUserId(null); + $object->parentUserId = $data['parent_user_id']; + } elseif (\array_key_exists('parent_user_id', $data)) { + $object->parentUserId = null; } if (\array_key_exists('permalink', $data) && null !== $data['permalink']) { - $object->setPermalink($data['permalink']); - } elseif (\array_key_exists('permalink', $data) && null === $data['permalink']) { - $object->setPermalink(null); + $object->permalink = $data['permalink']; + } elseif (\array_key_exists('permalink', $data)) { + $object->permalink = null; } if (\array_key_exists('pinned_to', $data) && null !== $data['pinned_to']) { $values_3 = []; foreach ($data['pinned_to'] as $value_3) { $values_3[] = $value_3; } - $object->setPinnedTo($values_3); - } elseif (\array_key_exists('pinned_to', $data) && null === $data['pinned_to']) { - $object->setPinnedTo(null); + $object->pinnedTo = $values_3; + } elseif (\array_key_exists('pinned_to', $data)) { + $object->pinnedTo = null; } if (\array_key_exists('purpose', $data) && null !== $data['purpose']) { - $object->setPurpose($data['purpose']); - } elseif (\array_key_exists('purpose', $data) && null === $data['purpose']) { - $object->setPurpose(null); + $object->purpose = $data['purpose']; + } elseif (\array_key_exists('purpose', $data)) { + $object->purpose = null; } if (\array_key_exists('reactions', $data) && null !== $data['reactions']) { $values_4 = []; foreach ($data['reactions'] as $value_4) { $values_4[] = $this->denormalizer->denormalize($value_4, \JoliCode\Slack\Api\Model\ObjsReaction::class, 'json', $context); } - $object->setReactions($values_4); - } elseif (\array_key_exists('reactions', $data) && null === $data['reactions']) { - $object->setReactions(null); + $object->reactions = $values_4; + } elseif (\array_key_exists('reactions', $data)) { + $object->reactions = null; } if (\array_key_exists('reply_count', $data) && null !== $data['reply_count']) { - $object->setReplyCount($data['reply_count']); - } elseif (\array_key_exists('reply_count', $data) && null === $data['reply_count']) { - $object->setReplyCount(null); + $object->replyCount = $data['reply_count']; + } elseif (\array_key_exists('reply_count', $data)) { + $object->replyCount = null; } if (\array_key_exists('reply_users', $data) && null !== $data['reply_users']) { $values_5 = []; foreach ($data['reply_users'] as $value_5) { $values_5[] = $value_5; } - $object->setReplyUsers($values_5); - } elseif (\array_key_exists('reply_users', $data) && null === $data['reply_users']) { - $object->setReplyUsers(null); + $object->replyUsers = $values_5; + } elseif (\array_key_exists('reply_users', $data)) { + $object->replyUsers = null; } if (\array_key_exists('reply_users_count', $data) && null !== $data['reply_users_count']) { - $object->setReplyUsersCount($data['reply_users_count']); - } elseif (\array_key_exists('reply_users_count', $data) && null === $data['reply_users_count']) { - $object->setReplyUsersCount(null); + $object->replyUsersCount = $data['reply_users_count']; + } elseif (\array_key_exists('reply_users_count', $data)) { + $object->replyUsersCount = null; } if (\array_key_exists('source_team', $data) && null !== $data['source_team']) { - $object->setSourceTeam($data['source_team']); - } elseif (\array_key_exists('source_team', $data) && null === $data['source_team']) { - $object->setSourceTeam(null); + $object->sourceTeam = $data['source_team']; + } elseif (\array_key_exists('source_team', $data)) { + $object->sourceTeam = null; } if (\array_key_exists('subscribed', $data) && null !== $data['subscribed']) { - $object->setSubscribed($data['subscribed']); - } elseif (\array_key_exists('subscribed', $data) && null === $data['subscribed']) { - $object->setSubscribed(null); + $object->subscribed = $data['subscribed']; + } elseif (\array_key_exists('subscribed', $data)) { + $object->subscribed = null; } if (\array_key_exists('subtype', $data) && null !== $data['subtype']) { - $object->setSubtype($data['subtype']); - } elseif (\array_key_exists('subtype', $data) && null === $data['subtype']) { - $object->setSubtype(null); + $object->subtype = $data['subtype']; + } elseif (\array_key_exists('subtype', $data)) { + $object->subtype = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('thread_ts', $data) && null !== $data['thread_ts']) { - $object->setThreadTs($data['thread_ts']); - } elseif (\array_key_exists('thread_ts', $data) && null === $data['thread_ts']) { - $object->setThreadTs(null); + $object->threadTs = $data['thread_ts']; + } elseif (\array_key_exists('thread_ts', $data)) { + $object->threadTs = null; } if (\array_key_exists('topic', $data) && null !== $data['topic']) { - $object->setTopic($data['topic']); - } elseif (\array_key_exists('topic', $data) && null === $data['topic']) { - $object->setTopic(null); + $object->topic = $data['topic']; + } elseif (\array_key_exists('topic', $data)) { + $object->topic = null; } if (\array_key_exists('ts', $data) && null !== $data['ts']) { - $object->setTs($data['ts']); - } elseif (\array_key_exists('ts', $data) && null === $data['ts']) { - $object->setTs(null); + $object->ts = $data['ts']; + } elseif (\array_key_exists('ts', $data)) { + $object->ts = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } if (\array_key_exists('unread_count', $data) && null !== $data['unread_count']) { - $object->setUnreadCount($data['unread_count']); - } elseif (\array_key_exists('unread_count', $data) && null === $data['unread_count']) { - $object->setUnreadCount(null); + $object->unreadCount = $data['unread_count']; + } elseif (\array_key_exists('unread_count', $data)) { + $object->unreadCount = null; } if (\array_key_exists('upload', $data) && null !== $data['upload']) { - $object->setUpload($data['upload']); - } elseif (\array_key_exists('upload', $data) && null === $data['upload']) { - $object->setUpload(null); + $object->upload = $data['upload']; + } elseif (\array_key_exists('upload', $data)) { + $object->upload = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } if (\array_key_exists('user_profile', $data) && null !== $data['user_profile']) { - $object->setUserProfile($this->denormalizer->denormalize($data['user_profile'], \JoliCode\Slack\Api\Model\ObjsUserProfileShort::class, 'json', $context)); - } elseif (\array_key_exists('user_profile', $data) && null === $data['user_profile']) { - $object->setUserProfile(null); + $object->userProfile = $this->denormalizer->denormalize($data['user_profile'], \JoliCode\Slack\Api\Model\ObjsUserProfileShort::class, 'json', $context); + } elseif (\array_key_exists('user_profile', $data)) { + $object->userProfile = null; } if (\array_key_exists('user_team', $data) && null !== $data['user_team']) { - $object->setUserTeam($data['user_team']); - } elseif (\array_key_exists('user_team', $data) && null === $data['user_team']) { - $object->setUserTeam(null); + $object->userTeam = $data['user_team']; + } elseif (\array_key_exists('user_team', $data)) { + $object->userTeam = null; } if (\array_key_exists('username', $data) && null !== $data['username']) { - $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { - $object->setUsername(null); + $object->username = $data['username']; + } elseif (\array_key_exists('username', $data)) { + $object->username = null; } return $object; @@ -311,149 +311,159 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('attachments') && null !== $data->getAttachments()) { + if (\array_key_exists('attachments', get_object_vars($data)) && null !== ($data->attachments ?? null)) { $values = []; - foreach ($data->getAttachments() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->attachments as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['attachments'] = $values; } - if ($data->isInitialized('blocks') && null !== $data->getBlocks()) { + if (\array_key_exists('blocks', get_object_vars($data)) && null !== ($data->blocks ?? null)) { $values_1 = []; - foreach ($data->getBlocks() as $value_1) { - $values_1[] = null === $value_1 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_1, 'json', $context)); + foreach ($data->blocks as $value_1) { + $normalized_1 = null === $value_1 ? null : $this->normalizer->normalize($value_1, 'json', $context); + $values_1[] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } $dataArray['blocks'] = $values_1; } - if ($data->isInitialized('botId') && null !== $data->getBotId()) { - $dataArray['bot_id'] = $data->getBotId(); + if (\array_key_exists('botId', get_object_vars($data)) && null !== ($data->botId ?? null)) { + $dataArray['bot_id'] = $data->botId; } - if ($data->isInitialized('botProfile') && null !== $data->getBotProfile()) { - $dataArray['bot_profile'] = null === $data->getBotProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getBotProfile(), 'json', $context)); + if (\array_key_exists('botProfile', get_object_vars($data)) && null !== ($data->botProfile ?? null)) { + $normalized_2 = $this->normalizer->normalize($data->botProfile, 'json', $context); + $dataArray['bot_profile'] = is_iterable($normalized_2) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_2) : $normalized_2; } - if ($data->isInitialized('clientMsgId') && null !== $data->getClientMsgId()) { - $dataArray['client_msg_id'] = $data->getClientMsgId(); + if (\array_key_exists('clientMsgId', get_object_vars($data)) && null !== ($data->clientMsgId ?? null)) { + $dataArray['client_msg_id'] = $data->clientMsgId; } - if ($data->isInitialized('comment') && null !== $data->getComment()) { - $dataArray['comment'] = null === $data->getComment() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getComment(), 'json', $context)); + if (\array_key_exists('comment', get_object_vars($data)) && null !== ($data->comment ?? null)) { + $normalized_3 = $this->normalizer->normalize($data->comment, 'json', $context); + $dataArray['comment'] = is_iterable($normalized_3) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_3) : $normalized_3; } - if ($data->isInitialized('displayAsBot') && null !== $data->getDisplayAsBot()) { - $dataArray['display_as_bot'] = $data->getDisplayAsBot(); + if (\array_key_exists('displayAsBot', get_object_vars($data)) && null !== ($data->displayAsBot ?? null)) { + $dataArray['display_as_bot'] = $data->displayAsBot; } - if ($data->isInitialized('file') && null !== $data->getFile()) { - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); + if (\array_key_exists('file', get_object_vars($data)) && null !== ($data->file ?? null)) { + $normalized_4 = $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized_4) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_4) : $normalized_4; } - if ($data->isInitialized('files') && null !== $data->getFiles()) { + if (\array_key_exists('files', get_object_vars($data)) && null !== ($data->files ?? null)) { $values_2 = []; - foreach ($data->getFiles() as $value_2) { - $values_2[] = null === $value_2 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_2, 'json', $context)); + foreach ($data->files as $value_2) { + $normalized_5 = null === $value_2 ? null : $this->normalizer->normalize($value_2, 'json', $context); + $values_2[] = is_iterable($normalized_5) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_5) : $normalized_5; } $dataArray['files'] = $values_2; } - if ($data->isInitialized('icons') && null !== $data->getIcons()) { - $dataArray['icons'] = null === $data->getIcons() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getIcons(), 'json', $context)); + if (\array_key_exists('icons', get_object_vars($data)) && null !== ($data->icons ?? null)) { + $normalized_6 = $this->normalizer->normalize($data->icons, 'json', $context); + $dataArray['icons'] = is_iterable($normalized_6) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_6) : $normalized_6; } - if ($data->isInitialized('inviter') && null !== $data->getInviter()) { - $dataArray['inviter'] = $data->getInviter(); + if (\array_key_exists('inviter', get_object_vars($data)) && null !== ($data->inviter ?? null)) { + $dataArray['inviter'] = $data->inviter; } - if ($data->isInitialized('isDelayedMessage') && null !== $data->getIsDelayedMessage()) { - $dataArray['is_delayed_message'] = $data->getIsDelayedMessage(); + if (\array_key_exists('isDelayedMessage', get_object_vars($data)) && null !== ($data->isDelayedMessage ?? null)) { + $dataArray['is_delayed_message'] = $data->isDelayedMessage; } - if ($data->isInitialized('isIntro') && null !== $data->getIsIntro()) { - $dataArray['is_intro'] = $data->getIsIntro(); + if (\array_key_exists('isIntro', get_object_vars($data)) && null !== ($data->isIntro ?? null)) { + $dataArray['is_intro'] = $data->isIntro; } - if ($data->isInitialized('isStarred') && null !== $data->getIsStarred()) { - $dataArray['is_starred'] = $data->getIsStarred(); + if (\array_key_exists('isStarred', get_object_vars($data)) && null !== ($data->isStarred ?? null)) { + $dataArray['is_starred'] = $data->isStarred; } - if ($data->isInitialized('lastRead') && null !== $data->getLastRead()) { - $dataArray['last_read'] = $data->getLastRead(); + if (\array_key_exists('lastRead', get_object_vars($data)) && null !== ($data->lastRead ?? null)) { + $dataArray['last_read'] = $data->lastRead; } - if ($data->isInitialized('latestReply') && null !== $data->getLatestReply()) { - $dataArray['latest_reply'] = $data->getLatestReply(); + if (\array_key_exists('latestReply', get_object_vars($data)) && null !== ($data->latestReply ?? null)) { + $dataArray['latest_reply'] = $data->latestReply; } - if ($data->isInitialized('metadata') && null !== $data->getMetadata()) { - $dataArray['metadata'] = null === $data->getMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMetadata(), 'json', $context)); + if (\array_key_exists('metadata', get_object_vars($data)) && null !== ($data->metadata ?? null)) { + $normalized_7 = $this->normalizer->normalize($data->metadata, 'json', $context); + $dataArray['metadata'] = is_iterable($normalized_7) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_7) : $normalized_7; } - if ($data->isInitialized('name') && null !== $data->getName()) { - $dataArray['name'] = $data->getName(); + if (\array_key_exists('name', get_object_vars($data)) && null !== ($data->name ?? null)) { + $dataArray['name'] = $data->name; } - if ($data->isInitialized('oldName') && null !== $data->getOldName()) { - $dataArray['old_name'] = $data->getOldName(); + if (\array_key_exists('oldName', get_object_vars($data)) && null !== ($data->oldName ?? null)) { + $dataArray['old_name'] = $data->oldName; } - if ($data->isInitialized('parentUserId') && null !== $data->getParentUserId()) { - $dataArray['parent_user_id'] = $data->getParentUserId(); + if (\array_key_exists('parentUserId', get_object_vars($data)) && null !== ($data->parentUserId ?? null)) { + $dataArray['parent_user_id'] = $data->parentUserId; } - if ($data->isInitialized('permalink') && null !== $data->getPermalink()) { - $dataArray['permalink'] = $data->getPermalink(); + if (\array_key_exists('permalink', get_object_vars($data)) && null !== ($data->permalink ?? null)) { + $dataArray['permalink'] = $data->permalink; } - if ($data->isInitialized('pinnedTo') && null !== $data->getPinnedTo()) { + if (\array_key_exists('pinnedTo', get_object_vars($data)) && null !== ($data->pinnedTo ?? null)) { $values_3 = []; - foreach ($data->getPinnedTo() as $value_3) { + foreach ($data->pinnedTo as $value_3) { $values_3[] = $value_3; } $dataArray['pinned_to'] = $values_3; } - if ($data->isInitialized('purpose') && null !== $data->getPurpose()) { - $dataArray['purpose'] = $data->getPurpose(); + if (\array_key_exists('purpose', get_object_vars($data)) && null !== ($data->purpose ?? null)) { + $dataArray['purpose'] = $data->purpose; } - if ($data->isInitialized('reactions') && null !== $data->getReactions()) { + if (\array_key_exists('reactions', get_object_vars($data)) && null !== ($data->reactions ?? null)) { $values_4 = []; - foreach ($data->getReactions() as $value_4) { - $values_4[] = null === $value_4 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_4, 'json', $context)); + foreach ($data->reactions as $value_4) { + $normalized_8 = null === $value_4 ? null : $this->normalizer->normalize($value_4, 'json', $context); + $values_4[] = is_iterable($normalized_8) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_8) : $normalized_8; } $dataArray['reactions'] = $values_4; } - if ($data->isInitialized('replyCount') && null !== $data->getReplyCount()) { - $dataArray['reply_count'] = $data->getReplyCount(); + if (\array_key_exists('replyCount', get_object_vars($data)) && null !== ($data->replyCount ?? null)) { + $dataArray['reply_count'] = $data->replyCount; } - if ($data->isInitialized('replyUsers') && null !== $data->getReplyUsers()) { + if (\array_key_exists('replyUsers', get_object_vars($data)) && null !== ($data->replyUsers ?? null)) { $values_5 = []; - foreach ($data->getReplyUsers() as $value_5) { + foreach ($data->replyUsers as $value_5) { $values_5[] = $value_5; } $dataArray['reply_users'] = $values_5; } - if ($data->isInitialized('replyUsersCount') && null !== $data->getReplyUsersCount()) { - $dataArray['reply_users_count'] = $data->getReplyUsersCount(); + if (\array_key_exists('replyUsersCount', get_object_vars($data)) && null !== ($data->replyUsersCount ?? null)) { + $dataArray['reply_users_count'] = $data->replyUsersCount; } - if ($data->isInitialized('sourceTeam') && null !== $data->getSourceTeam()) { - $dataArray['source_team'] = $data->getSourceTeam(); + if (\array_key_exists('sourceTeam', get_object_vars($data)) && null !== ($data->sourceTeam ?? null)) { + $dataArray['source_team'] = $data->sourceTeam; } - if ($data->isInitialized('subscribed') && null !== $data->getSubscribed()) { - $dataArray['subscribed'] = $data->getSubscribed(); + if (\array_key_exists('subscribed', get_object_vars($data)) && null !== ($data->subscribed ?? null)) { + $dataArray['subscribed'] = $data->subscribed; } - if ($data->isInitialized('subtype') && null !== $data->getSubtype()) { - $dataArray['subtype'] = $data->getSubtype(); + if (\array_key_exists('subtype', get_object_vars($data)) && null !== ($data->subtype ?? null)) { + $dataArray['subtype'] = $data->subtype; } - if ($data->isInitialized('team') && null !== $data->getTeam()) { - $dataArray['team'] = $data->getTeam(); + if (\array_key_exists('team', get_object_vars($data)) && null !== ($data->team ?? null)) { + $dataArray['team'] = $data->team; } - $dataArray['text'] = $data->getText(); - if ($data->isInitialized('threadTs') && null !== $data->getThreadTs()) { - $dataArray['thread_ts'] = $data->getThreadTs(); + $dataArray['text'] = $data->text; + if (\array_key_exists('threadTs', get_object_vars($data)) && null !== ($data->threadTs ?? null)) { + $dataArray['thread_ts'] = $data->threadTs; } - if ($data->isInitialized('topic') && null !== $data->getTopic()) { - $dataArray['topic'] = $data->getTopic(); + if (\array_key_exists('topic', get_object_vars($data)) && null !== ($data->topic ?? null)) { + $dataArray['topic'] = $data->topic; } - $dataArray['ts'] = $data->getTs(); - $dataArray['type'] = $data->getType(); - if ($data->isInitialized('unreadCount') && null !== $data->getUnreadCount()) { - $dataArray['unread_count'] = $data->getUnreadCount(); + $dataArray['ts'] = $data->ts; + $dataArray['type'] = $data->type; + if (\array_key_exists('unreadCount', get_object_vars($data)) && null !== ($data->unreadCount ?? null)) { + $dataArray['unread_count'] = $data->unreadCount; } - if ($data->isInitialized('upload') && null !== $data->getUpload()) { - $dataArray['upload'] = $data->getUpload(); + if (\array_key_exists('upload', get_object_vars($data)) && null !== ($data->upload ?? null)) { + $dataArray['upload'] = $data->upload; } - if ($data->isInitialized('user') && null !== $data->getUser()) { - $dataArray['user'] = $data->getUser(); + if (\array_key_exists('user', get_object_vars($data)) && null !== ($data->user ?? null)) { + $dataArray['user'] = $data->user; } - if ($data->isInitialized('userProfile') && null !== $data->getUserProfile()) { - $dataArray['user_profile'] = null === $data->getUserProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUserProfile(), 'json', $context)); + if (\array_key_exists('userProfile', get_object_vars($data)) && null !== ($data->userProfile ?? null)) { + $normalized_9 = $this->normalizer->normalize($data->userProfile, 'json', $context); + $dataArray['user_profile'] = is_iterable($normalized_9) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_9) : $normalized_9; } - if ($data->isInitialized('userTeam') && null !== $data->getUserTeam()) { - $dataArray['user_team'] = $data->getUserTeam(); + if (\array_key_exists('userTeam', get_object_vars($data)) && null !== ($data->userTeam ?? null)) { + $dataArray['user_team'] = $data->userTeam; } - if ($data->isInitialized('username') && null !== $data->getUsername()) { - $dataArray['username'] = $data->getUsername(); + if (\array_key_exists('username', get_object_vars($data)) && null !== ($data->username ?? null)) { + $dataArray['username'] = $data->username; } return $dataArray; diff --git a/generated/Normalizer/ObjsMetadataNormalizer.php b/generated/Normalizer/ObjsMetadataNormalizer.php index 06ad12f2..9152c45f 100644 --- a/generated/Normalizer/ObjsMetadataNormalizer.php +++ b/generated/Normalizer/ObjsMetadataNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('event_payload', $data) && null !== $data['event_payload']) { - $object->setEventPayload($data['event_payload']); - } elseif (\array_key_exists('event_payload', $data) && null === $data['event_payload']) { - $object->setEventPayload(null); + $object->eventPayload = $data['event_payload']; + } elseif (\array_key_exists('event_payload', $data)) { + $object->eventPayload = null; } if (\array_key_exists('event_type', $data) && null !== $data['event_type']) { - $object->setEventType($data['event_type']); - } elseif (\array_key_exists('event_type', $data) && null === $data['event_type']) { - $object->setEventType(null); + $object->eventType = $data['event_type']; + } elseif (\array_key_exists('event_type', $data)) { + $object->eventType = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['event_payload'] = $data->getEventPayload(); - $dataArray['event_type'] = $data->getEventType(); + $dataArray['event_payload'] = $data->eventPayload; + $dataArray['event_type'] = $data->eventType; return $dataArray; } diff --git a/generated/Normalizer/ObjsPagingNormalizer.php b/generated/Normalizer/ObjsPagingNormalizer.php index 1ef6b1e4..a3e2333a 100644 --- a/generated/Normalizer/ObjsPagingNormalizer.php +++ b/generated/Normalizer/ObjsPagingNormalizer.php @@ -53,34 +53,34 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('count', $data) && null !== $data['count']) { - $object->setCount($data['count']); - } elseif (\array_key_exists('count', $data) && null === $data['count']) { - $object->setCount(null); + $object->count = $data['count']; + } elseif (\array_key_exists('count', $data)) { + $object->count = null; } if (\array_key_exists('page', $data) && null !== $data['page']) { - $object->setPage($data['page']); - } elseif (\array_key_exists('page', $data) && null === $data['page']) { - $object->setPage(null); + $object->page = $data['page']; + } elseif (\array_key_exists('page', $data)) { + $object->page = null; } if (\array_key_exists('pages', $data) && null !== $data['pages']) { - $object->setPages($data['pages']); - } elseif (\array_key_exists('pages', $data) && null === $data['pages']) { - $object->setPages(null); + $object->pages = $data['pages']; + } elseif (\array_key_exists('pages', $data)) { + $object->pages = null; } if (\array_key_exists('per_page', $data) && null !== $data['per_page']) { - $object->setPerPage($data['per_page']); - } elseif (\array_key_exists('per_page', $data) && null === $data['per_page']) { - $object->setPerPage(null); + $object->perPage = $data['per_page']; + } elseif (\array_key_exists('per_page', $data)) { + $object->perPage = null; } if (\array_key_exists('spill', $data) && null !== $data['spill']) { - $object->setSpill($data['spill']); - } elseif (\array_key_exists('spill', $data) && null === $data['spill']) { - $object->setSpill(null); + $object->spill = $data['spill']; + } elseif (\array_key_exists('spill', $data)) { + $object->spill = null; } if (\array_key_exists('total', $data) && null !== $data['total']) { - $object->setTotal($data['total']); - } elseif (\array_key_exists('total', $data) && null === $data['total']) { - $object->setTotal(null); + $object->total = $data['total']; + } elseif (\array_key_exists('total', $data)) { + $object->total = null; } return $object; @@ -89,20 +89,20 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('count') && null !== $data->getCount()) { - $dataArray['count'] = $data->getCount(); + if (\array_key_exists('count', get_object_vars($data)) && null !== ($data->count ?? null)) { + $dataArray['count'] = $data->count; } - $dataArray['page'] = $data->getPage(); - if ($data->isInitialized('pages') && null !== $data->getPages()) { - $dataArray['pages'] = $data->getPages(); + $dataArray['page'] = $data->page; + if (\array_key_exists('pages', get_object_vars($data)) && null !== ($data->pages ?? null)) { + $dataArray['pages'] = $data->pages; } - if ($data->isInitialized('perPage') && null !== $data->getPerPage()) { - $dataArray['per_page'] = $data->getPerPage(); + if (\array_key_exists('perPage', get_object_vars($data)) && null !== ($data->perPage ?? null)) { + $dataArray['per_page'] = $data->perPage; } - if ($data->isInitialized('spill') && null !== $data->getSpill()) { - $dataArray['spill'] = $data->getSpill(); + if (\array_key_exists('spill', get_object_vars($data)) && null !== ($data->spill ?? null)) { + $dataArray['spill'] = $data->spill; } - $dataArray['total'] = $data->getTotal(); + $dataArray['total'] = $data->total; return $dataArray; } diff --git a/generated/Normalizer/ObjsPrimaryOwnerNormalizer.php b/generated/Normalizer/ObjsPrimaryOwnerNormalizer.php index 169970ea..d5cd1c4f 100644 --- a/generated/Normalizer/ObjsPrimaryOwnerNormalizer.php +++ b/generated/Normalizer/ObjsPrimaryOwnerNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('email', $data) && null !== $data['email']) { - $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { - $object->setEmail(null); + $object->email = $data['email']; + } elseif (\array_key_exists('email', $data)) { + $object->email = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['email'] = $data->getEmail(); - $dataArray['id'] = $data->getId(); + $dataArray['email'] = $data->email; + $dataArray['id'] = $data->id; return $dataArray; } diff --git a/generated/Normalizer/ObjsReactionNormalizer.php b/generated/Normalizer/ObjsReactionNormalizer.php index 01bc75cf..a0637c09 100644 --- a/generated/Normalizer/ObjsReactionNormalizer.php +++ b/generated/Normalizer/ObjsReactionNormalizer.php @@ -53,17 +53,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('count', $data) && null !== $data['count']) { - $object->setCount($data['count']); + $object->count = $data['count']; unset($data['count']); - } elseif (\array_key_exists('count', $data) && null === $data['count']) { - $object->setCount(null); + } elseif (\array_key_exists('count', $data)) { + $object->count = null; unset($data['count']); } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); + $object->name = $data['name']; unset($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + } elseif (\array_key_exists('name', $data)) { + $object->name = null; unset($data['name']); } if (\array_key_exists('users', $data) && null !== $data['users']) { @@ -71,10 +71,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['users'] as $value) { $values[] = $value; } - $object->setUsers($values); + $object->users = $values; unset($data['users']); - } elseif (\array_key_exists('users', $data) && null === $data['users']) { - $object->setUsers(null); + } elseif (\array_key_exists('users', $data)) { + $object->users = null; unset($data['users']); } foreach ($data as $key => $value_1) { @@ -89,10 +89,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['count'] = $data->getCount(); - $dataArray['name'] = $data->getName(); + $dataArray['count'] = $data->count; + $dataArray['name'] = $data->name; $values = []; - foreach ($data->getUsers() as $value) { + foreach ($data->users as $value) { $values[] = $value; } $dataArray['users'] = $values; diff --git a/generated/Normalizer/ObjsReminderNormalizer.php b/generated/Normalizer/ObjsReminderNormalizer.php index 7083f645..4bea7099 100644 --- a/generated/Normalizer/ObjsReminderNormalizer.php +++ b/generated/Normalizer/ObjsReminderNormalizer.php @@ -56,39 +56,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['recurring'] = (bool) $data['recurring']; } if (\array_key_exists('complete_ts', $data) && null !== $data['complete_ts']) { - $object->setCompleteTs($data['complete_ts']); - } elseif (\array_key_exists('complete_ts', $data) && null === $data['complete_ts']) { - $object->setCompleteTs(null); + $object->completeTs = $data['complete_ts']; + } elseif (\array_key_exists('complete_ts', $data)) { + $object->completeTs = null; } if (\array_key_exists('creator', $data) && null !== $data['creator']) { - $object->setCreator($data['creator']); - } elseif (\array_key_exists('creator', $data) && null === $data['creator']) { - $object->setCreator(null); + $object->creator = $data['creator']; + } elseif (\array_key_exists('creator', $data)) { + $object->creator = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('recurring', $data) && null !== $data['recurring']) { - $object->setRecurring($data['recurring']); - } elseif (\array_key_exists('recurring', $data) && null === $data['recurring']) { - $object->setRecurring(null); + $object->recurring = $data['recurring']; + } elseif (\array_key_exists('recurring', $data)) { + $object->recurring = null; } if (\array_key_exists('text', $data) && null !== $data['text']) { - $object->setText($data['text']); - } elseif (\array_key_exists('text', $data) && null === $data['text']) { - $object->setText(null); + $object->text = $data['text']; + } elseif (\array_key_exists('text', $data)) { + $object->text = null; } if (\array_key_exists('time', $data) && null !== $data['time']) { - $object->setTime($data['time']); - } elseif (\array_key_exists('time', $data) && null === $data['time']) { - $object->setTime(null); + $object->time = $data['time']; + } elseif (\array_key_exists('time', $data)) { + $object->time = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $data['user']; + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -97,17 +97,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('completeTs') && null !== $data->getCompleteTs()) { - $dataArray['complete_ts'] = $data->getCompleteTs(); + if (\array_key_exists('completeTs', get_object_vars($data)) && null !== ($data->completeTs ?? null)) { + $dataArray['complete_ts'] = $data->completeTs; } - $dataArray['creator'] = $data->getCreator(); - $dataArray['id'] = $data->getId(); - $dataArray['recurring'] = $data->getRecurring(); - $dataArray['text'] = $data->getText(); - if ($data->isInitialized('time') && null !== $data->getTime()) { - $dataArray['time'] = $data->getTime(); + $dataArray['creator'] = $data->creator; + $dataArray['id'] = $data->id; + $dataArray['recurring'] = $data->recurring; + $dataArray['text'] = $data->text; + if (\array_key_exists('time', get_object_vars($data)) && null !== ($data->time ?? null)) { + $dataArray['time'] = $data->time; } - $dataArray['user'] = $data->getUser(); + $dataArray['user'] = $data->user; return $dataArray; } diff --git a/generated/Normalizer/ObjsResourcesNormalizer.php b/generated/Normalizer/ObjsResourcesNormalizer.php index d5992622..12c51f8e 100644 --- a/generated/Normalizer/ObjsResourcesNormalizer.php +++ b/generated/Normalizer/ObjsResourcesNormalizer.php @@ -60,23 +60,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['excluded_ids'] as $value) { $values[] = $value; } - $object->setExcludedIds($values); - } elseif (\array_key_exists('excluded_ids', $data) && null === $data['excluded_ids']) { - $object->setExcludedIds(null); + $object->excludedIds = $values; + } elseif (\array_key_exists('excluded_ids', $data)) { + $object->excludedIds = null; } if (\array_key_exists('ids', $data) && null !== $data['ids']) { $values_1 = []; foreach ($data['ids'] as $value_1) { $values_1[] = $value_1; } - $object->setIds($values_1); - } elseif (\array_key_exists('ids', $data) && null === $data['ids']) { - $object->setIds(null); + $object->ids = $values_1; + } elseif (\array_key_exists('ids', $data)) { + $object->ids = null; } if (\array_key_exists('wildcard', $data) && null !== $data['wildcard']) { - $object->setWildcard($data['wildcard']); - } elseif (\array_key_exists('wildcard', $data) && null === $data['wildcard']) { - $object->setWildcard(null); + $object->wildcard = $data['wildcard']; + } elseif (\array_key_exists('wildcard', $data)) { + $object->wildcard = null; } return $object; @@ -85,20 +85,20 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('excludedIds') && null !== $data->getExcludedIds()) { + if (\array_key_exists('excludedIds', get_object_vars($data)) && null !== ($data->excludedIds ?? null)) { $values = []; - foreach ($data->getExcludedIds() as $value) { + foreach ($data->excludedIds as $value) { $values[] = $value; } $dataArray['excluded_ids'] = $values; } $values_1 = []; - foreach ($data->getIds() as $value_1) { + foreach ($data->ids as $value_1) { $values_1[] = $value_1; } $dataArray['ids'] = $values_1; - if ($data->isInitialized('wildcard') && null !== $data->getWildcard()) { - $dataArray['wildcard'] = $data->getWildcard(); + if (\array_key_exists('wildcard', get_object_vars($data)) && null !== ($data->wildcard ?? null)) { + $dataArray['wildcard'] = $data->wildcard; } return $dataArray; diff --git a/generated/Normalizer/ObjsResponseMetadataNormalizer.php b/generated/Normalizer/ObjsResponseMetadataNormalizer.php index 9f5ddb6c..db0d3be7 100644 --- a/generated/Normalizer/ObjsResponseMetadataNormalizer.php +++ b/generated/Normalizer/ObjsResponseMetadataNormalizer.php @@ -57,23 +57,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['messages'] as $value) { $values[] = $value; } - $object->setMessages($values); - } elseif (\array_key_exists('messages', $data) && null === $data['messages']) { - $object->setMessages(null); + $object->messages = $values; + } elseif (\array_key_exists('messages', $data)) { + $object->messages = null; } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } if (\array_key_exists('warnings', $data) && null !== $data['warnings']) { $values_1 = []; foreach ($data['warnings'] as $value_1) { $values_1[] = $value_1; } - $object->setWarnings($values_1); - } elseif (\array_key_exists('warnings', $data) && null === $data['warnings']) { - $object->setWarnings(null); + $object->warnings = $values_1; + } elseif (\array_key_exists('warnings', $data)) { + $object->warnings = null; } return $object; @@ -82,17 +82,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('messages') && null !== $data->getMessages()) { + if (\array_key_exists('messages', get_object_vars($data)) && null !== ($data->messages ?? null)) { $values = []; - foreach ($data->getMessages() as $value) { + foreach ($data->messages as $value) { $values[] = $value; } $dataArray['messages'] = $values; } - $dataArray['next_cursor'] = $data->getNextCursor(); - if ($data->isInitialized('warnings') && null !== $data->getWarnings()) { + $dataArray['next_cursor'] = $data->nextCursor; + if (\array_key_exists('warnings', get_object_vars($data)) && null !== ($data->warnings ?? null)) { $values_1 = []; - foreach ($data->getWarnings() as $value_1) { + foreach ($data->warnings as $value_1) { $values_1[] = $value_1; } $dataArray['warnings'] = $values_1; diff --git a/generated/Normalizer/ObjsSubteamNormalizer.php b/generated/Normalizer/ObjsSubteamNormalizer.php index 39aad2db..8d5f717a 100644 --- a/generated/Normalizer/ObjsSubteamNormalizer.php +++ b/generated/Normalizer/ObjsSubteamNormalizer.php @@ -65,113 +65,113 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_usergroup'] = (bool) $data['is_usergroup']; } if (\array_key_exists('auto_provision', $data) && null !== $data['auto_provision']) { - $object->setAutoProvision($data['auto_provision']); - } elseif (\array_key_exists('auto_provision', $data) && null === $data['auto_provision']) { - $object->setAutoProvision(null); + $object->autoProvision = $data['auto_provision']; + } elseif (\array_key_exists('auto_provision', $data)) { + $object->autoProvision = null; } if (\array_key_exists('auto_type', $data) && null !== $data['auto_type']) { - $object->setAutoType($data['auto_type']); - } elseif (\array_key_exists('auto_type', $data) && null === $data['auto_type']) { - $object->setAutoType(null); + $object->autoType = $data['auto_type']; + } elseif (\array_key_exists('auto_type', $data)) { + $object->autoType = null; } if (\array_key_exists('channel_count', $data) && null !== $data['channel_count']) { - $object->setChannelCount($data['channel_count']); - } elseif (\array_key_exists('channel_count', $data) && null === $data['channel_count']) { - $object->setChannelCount(null); + $object->channelCount = $data['channel_count']; + } elseif (\array_key_exists('channel_count', $data)) { + $object->channelCount = null; } if (\array_key_exists('created_by', $data) && null !== $data['created_by']) { - $object->setCreatedBy($data['created_by']); - } elseif (\array_key_exists('created_by', $data) && null === $data['created_by']) { - $object->setCreatedBy(null); + $object->createdBy = $data['created_by']; + } elseif (\array_key_exists('created_by', $data)) { + $object->createdBy = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('date_delete', $data) && null !== $data['date_delete']) { - $object->setDateDelete($data['date_delete']); - } elseif (\array_key_exists('date_delete', $data) && null === $data['date_delete']) { - $object->setDateDelete(null); + $object->dateDelete = $data['date_delete']; + } elseif (\array_key_exists('date_delete', $data)) { + $object->dateDelete = null; } if (\array_key_exists('date_update', $data) && null !== $data['date_update']) { - $object->setDateUpdate($data['date_update']); - } elseif (\array_key_exists('date_update', $data) && null === $data['date_update']) { - $object->setDateUpdate(null); + $object->dateUpdate = $data['date_update']; + } elseif (\array_key_exists('date_update', $data)) { + $object->dateUpdate = null; } if (\array_key_exists('deleted_by', $data) && null !== $data['deleted_by']) { - $object->setDeletedBy($data['deleted_by']); - } elseif (\array_key_exists('deleted_by', $data) && null === $data['deleted_by']) { - $object->setDeletedBy(null); + $object->deletedBy = $data['deleted_by']; + } elseif (\array_key_exists('deleted_by', $data)) { + $object->deletedBy = null; } if (\array_key_exists('description', $data) && null !== $data['description']) { - $object->setDescription($data['description']); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { - $object->setDescription(null); + $object->description = $data['description']; + } elseif (\array_key_exists('description', $data)) { + $object->description = null; } if (\array_key_exists('enterprise_subteam_id', $data) && null !== $data['enterprise_subteam_id']) { - $object->setEnterpriseSubteamId($data['enterprise_subteam_id']); - } elseif (\array_key_exists('enterprise_subteam_id', $data) && null === $data['enterprise_subteam_id']) { - $object->setEnterpriseSubteamId(null); + $object->enterpriseSubteamId = $data['enterprise_subteam_id']; + } elseif (\array_key_exists('enterprise_subteam_id', $data)) { + $object->enterpriseSubteamId = null; } if (\array_key_exists('handle', $data) && null !== $data['handle']) { - $object->setHandle($data['handle']); - } elseif (\array_key_exists('handle', $data) && null === $data['handle']) { - $object->setHandle(null); + $object->handle = $data['handle']; + } elseif (\array_key_exists('handle', $data)) { + $object->handle = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_external', $data) && null !== $data['is_external']) { - $object->setIsExternal($data['is_external']); - } elseif (\array_key_exists('is_external', $data) && null === $data['is_external']) { - $object->setIsExternal(null); + $object->isExternal = $data['is_external']; + } elseif (\array_key_exists('is_external', $data)) { + $object->isExternal = null; } if (\array_key_exists('is_subteam', $data) && null !== $data['is_subteam']) { - $object->setIsSubteam($data['is_subteam']); - } elseif (\array_key_exists('is_subteam', $data) && null === $data['is_subteam']) { - $object->setIsSubteam(null); + $object->isSubteam = $data['is_subteam']; + } elseif (\array_key_exists('is_subteam', $data)) { + $object->isSubteam = null; } if (\array_key_exists('is_usergroup', $data) && null !== $data['is_usergroup']) { - $object->setIsUsergroup($data['is_usergroup']); - } elseif (\array_key_exists('is_usergroup', $data) && null === $data['is_usergroup']) { - $object->setIsUsergroup(null); + $object->isUsergroup = $data['is_usergroup']; + } elseif (\array_key_exists('is_usergroup', $data)) { + $object->isUsergroup = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('prefs', $data) && null !== $data['prefs']) { - $object->setPrefs($this->denormalizer->denormalize($data['prefs'], \JoliCode\Slack\Api\Model\ObjsSubteamPrefs::class, 'json', $context)); - } elseif (\array_key_exists('prefs', $data) && null === $data['prefs']) { - $object->setPrefs(null); + $object->prefs = $this->denormalizer->denormalize($data['prefs'], \JoliCode\Slack\Api\Model\ObjsSubteamPrefs::class, 'json', $context); + } elseif (\array_key_exists('prefs', $data)) { + $object->prefs = null; } if (\array_key_exists('team_id', $data) && null !== $data['team_id']) { - $object->setTeamId($data['team_id']); - } elseif (\array_key_exists('team_id', $data) && null === $data['team_id']) { - $object->setTeamId(null); + $object->teamId = $data['team_id']; + } elseif (\array_key_exists('team_id', $data)) { + $object->teamId = null; } if (\array_key_exists('updated_by', $data) && null !== $data['updated_by']) { - $object->setUpdatedBy($data['updated_by']); - } elseif (\array_key_exists('updated_by', $data) && null === $data['updated_by']) { - $object->setUpdatedBy(null); + $object->updatedBy = $data['updated_by']; + } elseif (\array_key_exists('updated_by', $data)) { + $object->updatedBy = null; } if (\array_key_exists('user_count', $data) && null !== $data['user_count']) { - $object->setUserCount($data['user_count']); - } elseif (\array_key_exists('user_count', $data) && null === $data['user_count']) { - $object->setUserCount(null); + $object->userCount = $data['user_count']; + } elseif (\array_key_exists('user_count', $data)) { + $object->userCount = null; } if (\array_key_exists('users', $data) && null !== $data['users']) { $values = []; foreach ($data['users'] as $value) { $values[] = $value; } - $object->setUsers($values); - } elseif (\array_key_exists('users', $data) && null === $data['users']) { - $object->setUsers(null); + $object->users = $values; + } elseif (\array_key_exists('users', $data)) { + $object->users = null; } return $object; @@ -180,33 +180,34 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['auto_provision'] = $data->getAutoProvision(); - $dataArray['auto_type'] = $data->getAutoType(); - if ($data->isInitialized('channelCount') && null !== $data->getChannelCount()) { - $dataArray['channel_count'] = $data->getChannelCount(); - } - $dataArray['created_by'] = $data->getCreatedBy(); - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['date_delete'] = $data->getDateDelete(); - $dataArray['date_update'] = $data->getDateUpdate(); - $dataArray['deleted_by'] = $data->getDeletedBy(); - $dataArray['description'] = $data->getDescription(); - $dataArray['enterprise_subteam_id'] = $data->getEnterpriseSubteamId(); - $dataArray['handle'] = $data->getHandle(); - $dataArray['id'] = $data->getId(); - $dataArray['is_external'] = $data->getIsExternal(); - $dataArray['is_subteam'] = $data->getIsSubteam(); - $dataArray['is_usergroup'] = $data->getIsUsergroup(); - $dataArray['name'] = $data->getName(); - $dataArray['prefs'] = null === $data->getPrefs() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPrefs(), 'json', $context)); - $dataArray['team_id'] = $data->getTeamId(); - $dataArray['updated_by'] = $data->getUpdatedBy(); - if ($data->isInitialized('userCount') && null !== $data->getUserCount()) { - $dataArray['user_count'] = $data->getUserCount(); - } - if ($data->isInitialized('users') && null !== $data->getUsers()) { + $dataArray['auto_provision'] = $data->autoProvision; + $dataArray['auto_type'] = $data->autoType; + if (\array_key_exists('channelCount', get_object_vars($data)) && null !== ($data->channelCount ?? null)) { + $dataArray['channel_count'] = $data->channelCount; + } + $dataArray['created_by'] = $data->createdBy; + $dataArray['date_create'] = $data->dateCreate; + $dataArray['date_delete'] = $data->dateDelete; + $dataArray['date_update'] = $data->dateUpdate; + $dataArray['deleted_by'] = $data->deletedBy; + $dataArray['description'] = $data->description; + $dataArray['enterprise_subteam_id'] = $data->enterpriseSubteamId; + $dataArray['handle'] = $data->handle; + $dataArray['id'] = $data->id; + $dataArray['is_external'] = $data->isExternal; + $dataArray['is_subteam'] = $data->isSubteam; + $dataArray['is_usergroup'] = $data->isUsergroup; + $dataArray['name'] = $data->name; + $normalized = null === $data->prefs ? null : $this->normalizer->normalize($data->prefs, 'json', $context); + $dataArray['prefs'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['team_id'] = $data->teamId; + $dataArray['updated_by'] = $data->updatedBy; + if (\array_key_exists('userCount', get_object_vars($data)) && null !== ($data->userCount ?? null)) { + $dataArray['user_count'] = $data->userCount; + } + if (\array_key_exists('users', get_object_vars($data)) && null !== ($data->users ?? null)) { $values = []; - foreach ($data->getUsers() as $value) { + foreach ($data->users as $value) { $values[] = $value; } $dataArray['users'] = $values; diff --git a/generated/Normalizer/ObjsSubteamPrefsNormalizer.php b/generated/Normalizer/ObjsSubteamPrefsNormalizer.php index fde09ac8..a20e8344 100644 --- a/generated/Normalizer/ObjsSubteamPrefsNormalizer.php +++ b/generated/Normalizer/ObjsSubteamPrefsNormalizer.php @@ -57,18 +57,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['channels'] as $value) { $values[] = $value; } - $object->setChannels($values); - } elseif (\array_key_exists('channels', $data) && null === $data['channels']) { - $object->setChannels(null); + $object->channels = $values; + } elseif (\array_key_exists('channels', $data)) { + $object->channels = null; } if (\array_key_exists('groups', $data) && null !== $data['groups']) { $values_1 = []; foreach ($data['groups'] as $value_1) { $values_1[] = $value_1; } - $object->setGroups($values_1); - } elseif (\array_key_exists('groups', $data) && null === $data['groups']) { - $object->setGroups(null); + $object->groups = $values_1; + } elseif (\array_key_exists('groups', $data)) { + $object->groups = null; } return $object; @@ -78,12 +78,12 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getChannels() as $value) { + foreach ($data->channels as $value) { $values[] = $value; } $dataArray['channels'] = $values; $values_1 = []; - foreach ($data->getGroups() as $value_1) { + foreach ($data->groups as $value_1) { $values_1[] = $value_1; } $dataArray['groups'] = $values_1; diff --git a/generated/Normalizer/ObjsTeamNormalizer.php b/generated/Normalizer/ObjsTeamNormalizer.php index a32bcae1..aaf924f3 100644 --- a/generated/Normalizer/ObjsTeamNormalizer.php +++ b/generated/Normalizer/ObjsTeamNormalizer.php @@ -74,153 +74,153 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['over_storage_limit'] = (bool) $data['over_storage_limit']; } if (\array_key_exists('archived', $data) && null !== $data['archived']) { - $object->setArchived($data['archived']); - } elseif (\array_key_exists('archived', $data) && null === $data['archived']) { - $object->setArchived(null); + $object->archived = $data['archived']; + } elseif (\array_key_exists('archived', $data)) { + $object->archived = null; } if (\array_key_exists('avatar_base_url', $data) && null !== $data['avatar_base_url']) { - $object->setAvatarBaseUrl($data['avatar_base_url']); - } elseif (\array_key_exists('avatar_base_url', $data) && null === $data['avatar_base_url']) { - $object->setAvatarBaseUrl(null); + $object->avatarBaseUrl = $data['avatar_base_url']; + } elseif (\array_key_exists('avatar_base_url', $data)) { + $object->avatarBaseUrl = null; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('deleted', $data) && null !== $data['deleted']) { - $object->setDeleted($data['deleted']); - } elseif (\array_key_exists('deleted', $data) && null === $data['deleted']) { - $object->setDeleted(null); + $object->deleted = $data['deleted']; + } elseif (\array_key_exists('deleted', $data)) { + $object->deleted = null; } if (\array_key_exists('description', $data) && null !== $data['description']) { $value = $data['description']; if (\is_string($data['description'])) { $value = $data['description']; } - $object->setDescription($value); - } elseif (\array_key_exists('description', $data) && null === $data['description']) { - $object->setDescription(null); + $object->description = $value; + } elseif (\array_key_exists('description', $data)) { + $object->description = null; } if (\array_key_exists('discoverable', $data) && null !== $data['discoverable']) { - $object->setDiscoverable($data['discoverable']); - } elseif (\array_key_exists('discoverable', $data) && null === $data['discoverable']) { - $object->setDiscoverable(null); + $object->discoverable = $data['discoverable']; + } elseif (\array_key_exists('discoverable', $data)) { + $object->discoverable = null; } if (\array_key_exists('domain', $data) && null !== $data['domain']) { - $object->setDomain($data['domain']); - } elseif (\array_key_exists('domain', $data) && null === $data['domain']) { - $object->setDomain(null); + $object->domain = $data['domain']; + } elseif (\array_key_exists('domain', $data)) { + $object->domain = null; } if (\array_key_exists('email_domain', $data) && null !== $data['email_domain']) { - $object->setEmailDomain($data['email_domain']); - } elseif (\array_key_exists('email_domain', $data) && null === $data['email_domain']) { - $object->setEmailDomain(null); + $object->emailDomain = $data['email_domain']; + } elseif (\array_key_exists('email_domain', $data)) { + $object->emailDomain = null; } if (\array_key_exists('enterprise_id', $data) && null !== $data['enterprise_id']) { - $object->setEnterpriseId($data['enterprise_id']); - } elseif (\array_key_exists('enterprise_id', $data) && null === $data['enterprise_id']) { - $object->setEnterpriseId(null); + $object->enterpriseId = $data['enterprise_id']; + } elseif (\array_key_exists('enterprise_id', $data)) { + $object->enterpriseId = null; } if (\array_key_exists('enterprise_name', $data) && null !== $data['enterprise_name']) { - $object->setEnterpriseName($data['enterprise_name']); - } elseif (\array_key_exists('enterprise_name', $data) && null === $data['enterprise_name']) { - $object->setEnterpriseName(null); + $object->enterpriseName = $data['enterprise_name']; + } elseif (\array_key_exists('enterprise_name', $data)) { + $object->enterpriseName = null; } if (\array_key_exists('external_org_migrations', $data) && null !== $data['external_org_migrations']) { - $object->setExternalOrgMigrations($this->denormalizer->denormalize($data['external_org_migrations'], \JoliCode\Slack\Api\Model\ObjsExternalOrgMigrations::class, 'json', $context)); - } elseif (\array_key_exists('external_org_migrations', $data) && null === $data['external_org_migrations']) { - $object->setExternalOrgMigrations(null); + $object->externalOrgMigrations = $this->denormalizer->denormalize($data['external_org_migrations'], \JoliCode\Slack\Api\Model\ObjsExternalOrgMigrations::class, 'json', $context); + } elseif (\array_key_exists('external_org_migrations', $data)) { + $object->externalOrgMigrations = null; } if (\array_key_exists('has_compliance_export', $data) && null !== $data['has_compliance_export']) { - $object->setHasComplianceExport($data['has_compliance_export']); - } elseif (\array_key_exists('has_compliance_export', $data) && null === $data['has_compliance_export']) { - $object->setHasComplianceExport(null); + $object->hasComplianceExport = $data['has_compliance_export']; + } elseif (\array_key_exists('has_compliance_export', $data)) { + $object->hasComplianceExport = null; } if (\array_key_exists('icon', $data) && null !== $data['icon']) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], \JoliCode\Slack\Api\Model\ObjsIcon::class, 'json', $context)); - } elseif (\array_key_exists('icon', $data) && null === $data['icon']) { - $object->setIcon(null); + $object->icon = $this->denormalizer->denormalize($data['icon'], \JoliCode\Slack\Api\Model\ObjsIcon::class, 'json', $context); + } elseif (\array_key_exists('icon', $data)) { + $object->icon = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_assigned', $data) && null !== $data['is_assigned']) { - $object->setIsAssigned($data['is_assigned']); - } elseif (\array_key_exists('is_assigned', $data) && null === $data['is_assigned']) { - $object->setIsAssigned(null); + $object->isAssigned = $data['is_assigned']; + } elseif (\array_key_exists('is_assigned', $data)) { + $object->isAssigned = null; } if (\array_key_exists('is_enterprise', $data) && null !== $data['is_enterprise']) { - $object->setIsEnterprise($data['is_enterprise']); - } elseif (\array_key_exists('is_enterprise', $data) && null === $data['is_enterprise']) { - $object->setIsEnterprise(null); + $object->isEnterprise = $data['is_enterprise']; + } elseif (\array_key_exists('is_enterprise', $data)) { + $object->isEnterprise = null; } if (\array_key_exists('is_over_storage_limit', $data) && null !== $data['is_over_storage_limit']) { - $object->setIsOverStorageLimit($data['is_over_storage_limit']); - } elseif (\array_key_exists('is_over_storage_limit', $data) && null === $data['is_over_storage_limit']) { - $object->setIsOverStorageLimit(null); + $object->isOverStorageLimit = $data['is_over_storage_limit']; + } elseif (\array_key_exists('is_over_storage_limit', $data)) { + $object->isOverStorageLimit = null; } if (\array_key_exists('limit_ts', $data) && null !== $data['limit_ts']) { - $object->setLimitTs($data['limit_ts']); - } elseif (\array_key_exists('limit_ts', $data) && null === $data['limit_ts']) { - $object->setLimitTs(null); + $object->limitTs = $data['limit_ts']; + } elseif (\array_key_exists('limit_ts', $data)) { + $object->limitTs = null; } if (\array_key_exists('locale', $data) && null !== $data['locale']) { - $object->setLocale($data['locale']); - } elseif (\array_key_exists('locale', $data) && null === $data['locale']) { - $object->setLocale(null); + $object->locale = $data['locale']; + } elseif (\array_key_exists('locale', $data)) { + $object->locale = null; } if (\array_key_exists('messages_count', $data) && null !== $data['messages_count']) { - $object->setMessagesCount($data['messages_count']); - } elseif (\array_key_exists('messages_count', $data) && null === $data['messages_count']) { - $object->setMessagesCount(null); + $object->messagesCount = $data['messages_count']; + } elseif (\array_key_exists('messages_count', $data)) { + $object->messagesCount = null; } if (\array_key_exists('msg_edit_window_mins', $data) && null !== $data['msg_edit_window_mins']) { - $object->setMsgEditWindowMins($data['msg_edit_window_mins']); - } elseif (\array_key_exists('msg_edit_window_mins', $data) && null === $data['msg_edit_window_mins']) { - $object->setMsgEditWindowMins(null); + $object->msgEditWindowMins = $data['msg_edit_window_mins']; + } elseif (\array_key_exists('msg_edit_window_mins', $data)) { + $object->msgEditWindowMins = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('over_integrations_limit', $data) && null !== $data['over_integrations_limit']) { - $object->setOverIntegrationsLimit($data['over_integrations_limit']); - } elseif (\array_key_exists('over_integrations_limit', $data) && null === $data['over_integrations_limit']) { - $object->setOverIntegrationsLimit(null); + $object->overIntegrationsLimit = $data['over_integrations_limit']; + } elseif (\array_key_exists('over_integrations_limit', $data)) { + $object->overIntegrationsLimit = null; } if (\array_key_exists('over_storage_limit', $data) && null !== $data['over_storage_limit']) { - $object->setOverStorageLimit($data['over_storage_limit']); - } elseif (\array_key_exists('over_storage_limit', $data) && null === $data['over_storage_limit']) { - $object->setOverStorageLimit(null); + $object->overStorageLimit = $data['over_storage_limit']; + } elseif (\array_key_exists('over_storage_limit', $data)) { + $object->overStorageLimit = null; } if (\array_key_exists('pay_prod_cur', $data) && null !== $data['pay_prod_cur']) { - $object->setPayProdCur($data['pay_prod_cur']); - } elseif (\array_key_exists('pay_prod_cur', $data) && null === $data['pay_prod_cur']) { - $object->setPayProdCur(null); + $object->payProdCur = $data['pay_prod_cur']; + } elseif (\array_key_exists('pay_prod_cur', $data)) { + $object->payProdCur = null; } if (\array_key_exists('plan', $data) && null !== $data['plan']) { - $object->setPlan($data['plan']); - } elseif (\array_key_exists('plan', $data) && null === $data['plan']) { - $object->setPlan(null); + $object->plan = $data['plan']; + } elseif (\array_key_exists('plan', $data)) { + $object->plan = null; } if (\array_key_exists('primary_owner', $data) && null !== $data['primary_owner']) { - $object->setPrimaryOwner($this->denormalizer->denormalize($data['primary_owner'], \JoliCode\Slack\Api\Model\ObjsPrimaryOwner::class, 'json', $context)); - } elseif (\array_key_exists('primary_owner', $data) && null === $data['primary_owner']) { - $object->setPrimaryOwner(null); + $object->primaryOwner = $this->denormalizer->denormalize($data['primary_owner'], \JoliCode\Slack\Api\Model\ObjsPrimaryOwner::class, 'json', $context); + } elseif (\array_key_exists('primary_owner', $data)) { + $object->primaryOwner = null; } if (\array_key_exists('sso_provider', $data) && null !== $data['sso_provider']) { - $object->setSsoProvider($this->denormalizer->denormalize($data['sso_provider'], \JoliCode\Slack\Api\Model\ObjsTeamSsoProvider::class, 'json', $context)); - } elseif (\array_key_exists('sso_provider', $data) && null === $data['sso_provider']) { - $object->setSsoProvider(null); + $object->ssoProvider = $this->denormalizer->denormalize($data['sso_provider'], \JoliCode\Slack\Api\Model\ObjsTeamSsoProvider::class, 'json', $context); + } elseif (\array_key_exists('sso_provider', $data)) { + $object->ssoProvider = null; } return $object; @@ -229,86 +229,90 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('archived') && null !== $data->getArchived()) { - $dataArray['archived'] = $data->getArchived(); + if (\array_key_exists('archived', get_object_vars($data)) && null !== ($data->archived ?? null)) { + $dataArray['archived'] = $data->archived; } - if ($data->isInitialized('avatarBaseUrl') && null !== $data->getAvatarBaseUrl()) { - $dataArray['avatar_base_url'] = $data->getAvatarBaseUrl(); + if (\array_key_exists('avatarBaseUrl', get_object_vars($data)) && null !== ($data->avatarBaseUrl ?? null)) { + $dataArray['avatar_base_url'] = $data->avatarBaseUrl; } - if ($data->isInitialized('created') && null !== $data->getCreated()) { - $dataArray['created'] = $data->getCreated(); + if (\array_key_exists('created', get_object_vars($data)) && null !== ($data->created ?? null)) { + $dataArray['created'] = $data->created; } - if ($data->isInitialized('dateCreate') && null !== $data->getDateCreate()) { - $dataArray['date_create'] = $data->getDateCreate(); + if (\array_key_exists('dateCreate', get_object_vars($data)) && null !== ($data->dateCreate ?? null)) { + $dataArray['date_create'] = $data->dateCreate; } - if ($data->isInitialized('deleted') && null !== $data->getDeleted()) { - $dataArray['deleted'] = $data->getDeleted(); + if (\array_key_exists('deleted', get_object_vars($data)) && null !== ($data->deleted ?? null)) { + $dataArray['deleted'] = $data->deleted; } - if ($data->isInitialized('description') && null !== $data->getDescription()) { - $value = $data->getDescription(); - if (\is_string($data->getDescription())) { - $value = $data->getDescription(); + if (\array_key_exists('description', get_object_vars($data)) && null !== ($data->description ?? null)) { + $value = $data->description; + if (\is_string($data->description)) { + $value = $data->description; } $dataArray['description'] = $value; } - if ($data->isInitialized('discoverable') && null !== $data->getDiscoverable()) { - $dataArray['discoverable'] = $data->getDiscoverable(); + if (\array_key_exists('discoverable', get_object_vars($data)) && null !== ($data->discoverable ?? null)) { + $dataArray['discoverable'] = $data->discoverable; } - $dataArray['domain'] = $data->getDomain(); - $dataArray['email_domain'] = $data->getEmailDomain(); - if ($data->isInitialized('enterpriseId') && null !== $data->getEnterpriseId()) { - $dataArray['enterprise_id'] = $data->getEnterpriseId(); + $dataArray['domain'] = $data->domain; + $dataArray['email_domain'] = $data->emailDomain; + if (\array_key_exists('enterpriseId', get_object_vars($data)) && null !== ($data->enterpriseId ?? null)) { + $dataArray['enterprise_id'] = $data->enterpriseId; } - if ($data->isInitialized('enterpriseName') && null !== $data->getEnterpriseName()) { - $dataArray['enterprise_name'] = $data->getEnterpriseName(); + if (\array_key_exists('enterpriseName', get_object_vars($data)) && null !== ($data->enterpriseName ?? null)) { + $dataArray['enterprise_name'] = $data->enterpriseName; } - if ($data->isInitialized('externalOrgMigrations') && null !== $data->getExternalOrgMigrations()) { - $dataArray['external_org_migrations'] = null === $data->getExternalOrgMigrations() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getExternalOrgMigrations(), 'json', $context)); + if (\array_key_exists('externalOrgMigrations', get_object_vars($data)) && null !== ($data->externalOrgMigrations ?? null)) { + $normalized = $this->normalizer->normalize($data->externalOrgMigrations, 'json', $context); + $dataArray['external_org_migrations'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('hasComplianceExport') && null !== $data->getHasComplianceExport()) { - $dataArray['has_compliance_export'] = $data->getHasComplianceExport(); + if (\array_key_exists('hasComplianceExport', get_object_vars($data)) && null !== ($data->hasComplianceExport ?? null)) { + $dataArray['has_compliance_export'] = $data->hasComplianceExport; } - $dataArray['icon'] = null === $data->getIcon() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getIcon(), 'json', $context)); - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('isAssigned') && null !== $data->getIsAssigned()) { - $dataArray['is_assigned'] = $data->getIsAssigned(); + $normalized_1 = null === $data->icon ? null : $this->normalizer->normalize($data->icon, 'json', $context); + $dataArray['icon'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + $dataArray['id'] = $data->id; + if (\array_key_exists('isAssigned', get_object_vars($data)) && null !== ($data->isAssigned ?? null)) { + $dataArray['is_assigned'] = $data->isAssigned; } - if ($data->isInitialized('isEnterprise') && null !== $data->getIsEnterprise()) { - $dataArray['is_enterprise'] = $data->getIsEnterprise(); + if (\array_key_exists('isEnterprise', get_object_vars($data)) && null !== ($data->isEnterprise ?? null)) { + $dataArray['is_enterprise'] = $data->isEnterprise; } - if ($data->isInitialized('isOverStorageLimit') && null !== $data->getIsOverStorageLimit()) { - $dataArray['is_over_storage_limit'] = $data->getIsOverStorageLimit(); + if (\array_key_exists('isOverStorageLimit', get_object_vars($data)) && null !== ($data->isOverStorageLimit ?? null)) { + $dataArray['is_over_storage_limit'] = $data->isOverStorageLimit; } - if ($data->isInitialized('limitTs') && null !== $data->getLimitTs()) { - $dataArray['limit_ts'] = $data->getLimitTs(); + if (\array_key_exists('limitTs', get_object_vars($data)) && null !== ($data->limitTs ?? null)) { + $dataArray['limit_ts'] = $data->limitTs; } - if ($data->isInitialized('locale') && null !== $data->getLocale()) { - $dataArray['locale'] = $data->getLocale(); + if (\array_key_exists('locale', get_object_vars($data)) && null !== ($data->locale ?? null)) { + $dataArray['locale'] = $data->locale; } - if ($data->isInitialized('messagesCount') && null !== $data->getMessagesCount()) { - $dataArray['messages_count'] = $data->getMessagesCount(); + if (\array_key_exists('messagesCount', get_object_vars($data)) && null !== ($data->messagesCount ?? null)) { + $dataArray['messages_count'] = $data->messagesCount; } - if ($data->isInitialized('msgEditWindowMins') && null !== $data->getMsgEditWindowMins()) { - $dataArray['msg_edit_window_mins'] = $data->getMsgEditWindowMins(); + if (\array_key_exists('msgEditWindowMins', get_object_vars($data)) && null !== ($data->msgEditWindowMins ?? null)) { + $dataArray['msg_edit_window_mins'] = $data->msgEditWindowMins; } - $dataArray['name'] = $data->getName(); - if ($data->isInitialized('overIntegrationsLimit') && null !== $data->getOverIntegrationsLimit()) { - $dataArray['over_integrations_limit'] = $data->getOverIntegrationsLimit(); + $dataArray['name'] = $data->name; + if (\array_key_exists('overIntegrationsLimit', get_object_vars($data)) && null !== ($data->overIntegrationsLimit ?? null)) { + $dataArray['over_integrations_limit'] = $data->overIntegrationsLimit; } - if ($data->isInitialized('overStorageLimit') && null !== $data->getOverStorageLimit()) { - $dataArray['over_storage_limit'] = $data->getOverStorageLimit(); + if (\array_key_exists('overStorageLimit', get_object_vars($data)) && null !== ($data->overStorageLimit ?? null)) { + $dataArray['over_storage_limit'] = $data->overStorageLimit; } - if ($data->isInitialized('payProdCur') && null !== $data->getPayProdCur()) { - $dataArray['pay_prod_cur'] = $data->getPayProdCur(); + if (\array_key_exists('payProdCur', get_object_vars($data)) && null !== ($data->payProdCur ?? null)) { + $dataArray['pay_prod_cur'] = $data->payProdCur; } - if ($data->isInitialized('plan') && null !== $data->getPlan()) { - $dataArray['plan'] = $data->getPlan(); + if (\array_key_exists('plan', get_object_vars($data)) && null !== ($data->plan ?? null)) { + $dataArray['plan'] = $data->plan; } - if ($data->isInitialized('primaryOwner') && null !== $data->getPrimaryOwner()) { - $dataArray['primary_owner'] = null === $data->getPrimaryOwner() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPrimaryOwner(), 'json', $context)); + if (\array_key_exists('primaryOwner', get_object_vars($data)) && null !== ($data->primaryOwner ?? null)) { + $normalized_2 = $this->normalizer->normalize($data->primaryOwner, 'json', $context); + $dataArray['primary_owner'] = is_iterable($normalized_2) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_2) : $normalized_2; } - if ($data->isInitialized('ssoProvider') && null !== $data->getSsoProvider()) { - $dataArray['sso_provider'] = null === $data->getSsoProvider() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getSsoProvider(), 'json', $context)); + if (\array_key_exists('ssoProvider', get_object_vars($data)) && null !== ($data->ssoProvider ?? null)) { + $normalized_3 = $this->normalizer->normalize($data->ssoProvider, 'json', $context); + $dataArray['sso_provider'] = is_iterable($normalized_3) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_3) : $normalized_3; } return $dataArray; diff --git a/generated/Normalizer/ObjsTeamProfileFieldNormalizer.php b/generated/Normalizer/ObjsTeamProfileFieldNormalizer.php index 410c2dd8..6c7fc79e 100644 --- a/generated/Normalizer/ObjsTeamProfileFieldNormalizer.php +++ b/generated/Normalizer/ObjsTeamProfileFieldNormalizer.php @@ -63,53 +63,53 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\is_string($data['field_name'])) { $value = $data['field_name']; } - $object->setFieldName($value); - } elseif (\array_key_exists('field_name', $data) && null === $data['field_name']) { - $object->setFieldName(null); + $object->fieldName = $value; + } elseif (\array_key_exists('field_name', $data)) { + $object->fieldName = null; } if (\array_key_exists('hint', $data) && null !== $data['hint']) { - $object->setHint($data['hint']); - } elseif (\array_key_exists('hint', $data) && null === $data['hint']) { - $object->setHint(null); + $object->hint = $data['hint']; + } elseif (\array_key_exists('hint', $data)) { + $object->hint = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_hidden', $data) && null !== $data['is_hidden']) { - $object->setIsHidden($data['is_hidden']); - } elseif (\array_key_exists('is_hidden', $data) && null === $data['is_hidden']) { - $object->setIsHidden(null); + $object->isHidden = $data['is_hidden']; + } elseif (\array_key_exists('is_hidden', $data)) { + $object->isHidden = null; } if (\array_key_exists('label', $data) && null !== $data['label']) { - $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { - $object->setLabel(null); + $object->label = $data['label']; + } elseif (\array_key_exists('label', $data)) { + $object->label = null; } if (\array_key_exists('options', $data) && null !== $data['options']) { - $object->setOptions($this->denormalizer->denormalize($data['options'], \JoliCode\Slack\Api\Model\ObjsTeamProfileFieldOption::class, 'json', $context)); - } elseif (\array_key_exists('options', $data) && null === $data['options']) { - $object->setOptions(null); + $object->options = $this->denormalizer->denormalize($data['options'], \JoliCode\Slack\Api\Model\ObjsTeamProfileFieldOption::class, 'json', $context); + } elseif (\array_key_exists('options', $data)) { + $object->options = null; } if (\array_key_exists('ordering', $data) && null !== $data['ordering']) { - $object->setOrdering($data['ordering']); - } elseif (\array_key_exists('ordering', $data) && null === $data['ordering']) { - $object->setOrdering(null); + $object->ordering = $data['ordering']; + } elseif (\array_key_exists('ordering', $data)) { + $object->ordering = null; } if (\array_key_exists('possible_values', $data) && null !== $data['possible_values']) { $values = []; foreach ($data['possible_values'] as $value_1) { $values[] = $value_1; } - $object->setPossibleValues($values); - } elseif (\array_key_exists('possible_values', $data) && null === $data['possible_values']) { - $object->setPossibleValues(null); + $object->possibleValues = $values; + } elseif (\array_key_exists('possible_values', $data)) { + $object->possibleValues = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -118,31 +118,32 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('fieldName') && null !== $data->getFieldName()) { - $value = $data->getFieldName(); - if (\is_string($data->getFieldName())) { - $value = $data->getFieldName(); + if (\array_key_exists('fieldName', get_object_vars($data)) && null !== ($data->fieldName ?? null)) { + $value = $data->fieldName; + if (\is_string($data->fieldName)) { + $value = $data->fieldName; } $dataArray['field_name'] = $value; } - $dataArray['hint'] = $data->getHint(); - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('isHidden') && null !== $data->getIsHidden()) { - $dataArray['is_hidden'] = $data->getIsHidden(); + $dataArray['hint'] = $data->hint; + $dataArray['id'] = $data->id; + if (\array_key_exists('isHidden', get_object_vars($data)) && null !== ($data->isHidden ?? null)) { + $dataArray['is_hidden'] = $data->isHidden; } - $dataArray['label'] = $data->getLabel(); - if ($data->isInitialized('options') && null !== $data->getOptions()) { - $dataArray['options'] = null === $data->getOptions() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getOptions(), 'json', $context)); + $dataArray['label'] = $data->label; + if (\array_key_exists('options', get_object_vars($data)) && null !== ($data->options ?? null)) { + $normalized = $this->normalizer->normalize($data->options, 'json', $context); + $dataArray['options'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - $dataArray['ordering'] = $data->getOrdering(); - if ($data->isInitialized('possibleValues') && null !== $data->getPossibleValues()) { + $dataArray['ordering'] = $data->ordering; + if (\array_key_exists('possibleValues', get_object_vars($data)) && null !== ($data->possibleValues ?? null)) { $values = []; - foreach ($data->getPossibleValues() as $value_1) { + foreach ($data->possibleValues as $value_1) { $values[] = $value_1; } $dataArray['possible_values'] = $values; } - $dataArray['type'] = $data->getType(); + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/ObjsTeamProfileFieldOptionNormalizer.php b/generated/Normalizer/ObjsTeamProfileFieldOptionNormalizer.php index 6abafef1..b70d4a48 100644 --- a/generated/Normalizer/ObjsTeamProfileFieldOptionNormalizer.php +++ b/generated/Normalizer/ObjsTeamProfileFieldOptionNormalizer.php @@ -57,36 +57,36 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\is_bool($data['is_custom'])) { $value = $data['is_custom']; } - $object->setIsCustom($value); - } elseif (\array_key_exists('is_custom', $data) && null === $data['is_custom']) { - $object->setIsCustom(null); + $object->isCustom = $value; + } elseif (\array_key_exists('is_custom', $data)) { + $object->isCustom = null; } if (\array_key_exists('is_multiple_entry', $data) && null !== $data['is_multiple_entry']) { $value_1 = $data['is_multiple_entry']; if (\is_bool($data['is_multiple_entry'])) { $value_1 = $data['is_multiple_entry']; } - $object->setIsMultipleEntry($value_1); - } elseif (\array_key_exists('is_multiple_entry', $data) && null === $data['is_multiple_entry']) { - $object->setIsMultipleEntry(null); + $object->isMultipleEntry = $value_1; + } elseif (\array_key_exists('is_multiple_entry', $data)) { + $object->isMultipleEntry = null; } if (\array_key_exists('is_protected', $data) && null !== $data['is_protected']) { $value_2 = $data['is_protected']; if (\is_bool($data['is_protected'])) { $value_2 = $data['is_protected']; } - $object->setIsProtected($value_2); - } elseif (\array_key_exists('is_protected', $data) && null === $data['is_protected']) { - $object->setIsProtected(null); + $object->isProtected = $value_2; + } elseif (\array_key_exists('is_protected', $data)) { + $object->isProtected = null; } if (\array_key_exists('is_scim', $data) && null !== $data['is_scim']) { $value_3 = $data['is_scim']; if (\is_bool($data['is_scim'])) { $value_3 = $data['is_scim']; } - $object->setIsScim($value_3); - } elseif (\array_key_exists('is_scim', $data) && null === $data['is_scim']) { - $object->setIsScim(null); + $object->isScim = $value_3; + } elseif (\array_key_exists('is_scim', $data)) { + $object->isScim = null; } return $object; @@ -95,31 +95,31 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('isCustom') && null !== $data->getIsCustom()) { - $value = $data->getIsCustom(); - if (\is_bool($data->getIsCustom())) { - $value = $data->getIsCustom(); + if (\array_key_exists('isCustom', get_object_vars($data)) && null !== ($data->isCustom ?? null)) { + $value = $data->isCustom; + if (\is_bool($data->isCustom)) { + $value = $data->isCustom; } $dataArray['is_custom'] = $value; } - if ($data->isInitialized('isMultipleEntry') && null !== $data->getIsMultipleEntry()) { - $value_1 = $data->getIsMultipleEntry(); - if (\is_bool($data->getIsMultipleEntry())) { - $value_1 = $data->getIsMultipleEntry(); + if (\array_key_exists('isMultipleEntry', get_object_vars($data)) && null !== ($data->isMultipleEntry ?? null)) { + $value_1 = $data->isMultipleEntry; + if (\is_bool($data->isMultipleEntry)) { + $value_1 = $data->isMultipleEntry; } $dataArray['is_multiple_entry'] = $value_1; } - if ($data->isInitialized('isProtected') && null !== $data->getIsProtected()) { - $value_2 = $data->getIsProtected(); - if (\is_bool($data->getIsProtected())) { - $value_2 = $data->getIsProtected(); + if (\array_key_exists('isProtected', get_object_vars($data)) && null !== ($data->isProtected ?? null)) { + $value_2 = $data->isProtected; + if (\is_bool($data->isProtected)) { + $value_2 = $data->isProtected; } $dataArray['is_protected'] = $value_2; } - if ($data->isInitialized('isScim') && null !== $data->getIsScim()) { - $value_3 = $data->getIsScim(); - if (\is_bool($data->getIsScim())) { - $value_3 = $data->getIsScim(); + if (\array_key_exists('isScim', get_object_vars($data)) && null !== ($data->isScim ?? null)) { + $value_3 = $data->isScim; + if (\is_bool($data->isScim)) { + $value_3 = $data->isScim; } $dataArray['is_scim'] = $value_3; } diff --git a/generated/Normalizer/ObjsTeamSsoProviderNormalizer.php b/generated/Normalizer/ObjsTeamSsoProviderNormalizer.php index 23ed0fbd..5a4ef5ea 100644 --- a/generated/Normalizer/ObjsTeamSsoProviderNormalizer.php +++ b/generated/Normalizer/ObjsTeamSsoProviderNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('label', $data) && null !== $data['label']) { - $object->setLabel($data['label']); - } elseif (\array_key_exists('label', $data) && null === $data['label']) { - $object->setLabel(null); + $object->label = $data['label']; + } elseif (\array_key_exists('label', $data)) { + $object->label = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,14 +74,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('label') && null !== $data->getLabel()) { - $dataArray['label'] = $data->getLabel(); + if (\array_key_exists('label', get_object_vars($data)) && null !== ($data->label ?? null)) { + $dataArray['label'] = $data->label; } - if ($data->isInitialized('name') && null !== $data->getName()) { - $dataArray['name'] = $data->getName(); + if (\array_key_exists('name', get_object_vars($data)) && null !== ($data->name ?? null)) { + $dataArray['name'] = $data->name; } - if ($data->isInitialized('type') && null !== $data->getType()) { - $dataArray['type'] = $data->getType(); + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { + $dataArray['type'] = $data->type; } return $dataArray; diff --git a/generated/Normalizer/ObjsUserNormalizer.php b/generated/Normalizer/ObjsUserNormalizer.php index de15797f..e7d2b939 100644 --- a/generated/Normalizer/ObjsUserNormalizer.php +++ b/generated/Normalizer/ObjsUserNormalizer.php @@ -98,158 +98,158 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_ultra_restricted'] = (bool) $data['is_ultra_restricted']; } if (\array_key_exists('color', $data) && null !== $data['color']) { - $object->setColor($data['color']); - } elseif (\array_key_exists('color', $data) && null === $data['color']) { - $object->setColor(null); + $object->color = $data['color']; + } elseif (\array_key_exists('color', $data)) { + $object->color = null; } if (\array_key_exists('deleted', $data) && null !== $data['deleted']) { - $object->setDeleted($data['deleted']); - } elseif (\array_key_exists('deleted', $data) && null === $data['deleted']) { - $object->setDeleted(null); + $object->deleted = $data['deleted']; + } elseif (\array_key_exists('deleted', $data)) { + $object->deleted = null; } if (\array_key_exists('enterprise_user', $data) && null !== $data['enterprise_user']) { - $object->setEnterpriseUser($this->denormalizer->denormalize($data['enterprise_user'], \JoliCode\Slack\Api\Model\ObjsEnterpriseUser::class, 'json', $context)); - } elseif (\array_key_exists('enterprise_user', $data) && null === $data['enterprise_user']) { - $object->setEnterpriseUser(null); + $object->enterpriseUser = $this->denormalizer->denormalize($data['enterprise_user'], \JoliCode\Slack\Api\Model\ObjsEnterpriseUser::class, 'json', $context); + } elseif (\array_key_exists('enterprise_user', $data)) { + $object->enterpriseUser = null; } if (\array_key_exists('has_2fa', $data) && null !== $data['has_2fa']) { - $object->setHas2fa($data['has_2fa']); - } elseif (\array_key_exists('has_2fa', $data) && null === $data['has_2fa']) { - $object->setHas2fa(null); + $object->has2fa = $data['has_2fa']; + } elseif (\array_key_exists('has_2fa', $data)) { + $object->has2fa = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('is_admin', $data) && null !== $data['is_admin']) { - $object->setIsAdmin($data['is_admin']); - } elseif (\array_key_exists('is_admin', $data) && null === $data['is_admin']) { - $object->setIsAdmin(null); + $object->isAdmin = $data['is_admin']; + } elseif (\array_key_exists('is_admin', $data)) { + $object->isAdmin = null; } if (\array_key_exists('is_app_user', $data) && null !== $data['is_app_user']) { - $object->setIsAppUser($data['is_app_user']); - } elseif (\array_key_exists('is_app_user', $data) && null === $data['is_app_user']) { - $object->setIsAppUser(null); + $object->isAppUser = $data['is_app_user']; + } elseif (\array_key_exists('is_app_user', $data)) { + $object->isAppUser = null; } if (\array_key_exists('is_bot', $data) && null !== $data['is_bot']) { - $object->setIsBot($data['is_bot']); - } elseif (\array_key_exists('is_bot', $data) && null === $data['is_bot']) { - $object->setIsBot(null); + $object->isBot = $data['is_bot']; + } elseif (\array_key_exists('is_bot', $data)) { + $object->isBot = null; } if (\array_key_exists('is_external', $data) && null !== $data['is_external']) { - $object->setIsExternal($data['is_external']); - } elseif (\array_key_exists('is_external', $data) && null === $data['is_external']) { - $object->setIsExternal(null); + $object->isExternal = $data['is_external']; + } elseif (\array_key_exists('is_external', $data)) { + $object->isExternal = null; } if (\array_key_exists('is_forgotten', $data) && null !== $data['is_forgotten']) { - $object->setIsForgotten($data['is_forgotten']); - } elseif (\array_key_exists('is_forgotten', $data) && null === $data['is_forgotten']) { - $object->setIsForgotten(null); + $object->isForgotten = $data['is_forgotten']; + } elseif (\array_key_exists('is_forgotten', $data)) { + $object->isForgotten = null; } if (\array_key_exists('is_invited_user', $data) && null !== $data['is_invited_user']) { - $object->setIsInvitedUser($data['is_invited_user']); - } elseif (\array_key_exists('is_invited_user', $data) && null === $data['is_invited_user']) { - $object->setIsInvitedUser(null); + $object->isInvitedUser = $data['is_invited_user']; + } elseif (\array_key_exists('is_invited_user', $data)) { + $object->isInvitedUser = null; } if (\array_key_exists('is_owner', $data) && null !== $data['is_owner']) { - $object->setIsOwner($data['is_owner']); - } elseif (\array_key_exists('is_owner', $data) && null === $data['is_owner']) { - $object->setIsOwner(null); + $object->isOwner = $data['is_owner']; + } elseif (\array_key_exists('is_owner', $data)) { + $object->isOwner = null; } if (\array_key_exists('is_primary_owner', $data) && null !== $data['is_primary_owner']) { - $object->setIsPrimaryOwner($data['is_primary_owner']); - } elseif (\array_key_exists('is_primary_owner', $data) && null === $data['is_primary_owner']) { - $object->setIsPrimaryOwner(null); + $object->isPrimaryOwner = $data['is_primary_owner']; + } elseif (\array_key_exists('is_primary_owner', $data)) { + $object->isPrimaryOwner = null; } if (\array_key_exists('is_restricted', $data) && null !== $data['is_restricted']) { - $object->setIsRestricted($data['is_restricted']); - } elseif (\array_key_exists('is_restricted', $data) && null === $data['is_restricted']) { - $object->setIsRestricted(null); + $object->isRestricted = $data['is_restricted']; + } elseif (\array_key_exists('is_restricted', $data)) { + $object->isRestricted = null; } if (\array_key_exists('is_stranger', $data) && null !== $data['is_stranger']) { - $object->setIsStranger($data['is_stranger']); - } elseif (\array_key_exists('is_stranger', $data) && null === $data['is_stranger']) { - $object->setIsStranger(null); + $object->isStranger = $data['is_stranger']; + } elseif (\array_key_exists('is_stranger', $data)) { + $object->isStranger = null; } if (\array_key_exists('is_ultra_restricted', $data) && null !== $data['is_ultra_restricted']) { - $object->setIsUltraRestricted($data['is_ultra_restricted']); - } elseif (\array_key_exists('is_ultra_restricted', $data) && null === $data['is_ultra_restricted']) { - $object->setIsUltraRestricted(null); + $object->isUltraRestricted = $data['is_ultra_restricted']; + } elseif (\array_key_exists('is_ultra_restricted', $data)) { + $object->isUltraRestricted = null; } if (\array_key_exists('locale', $data) && null !== $data['locale']) { - $object->setLocale($data['locale']); - } elseif (\array_key_exists('locale', $data) && null === $data['locale']) { - $object->setLocale(null); + $object->locale = $data['locale']; + } elseif (\array_key_exists('locale', $data)) { + $object->locale = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('presence', $data) && null !== $data['presence']) { - $object->setPresence($data['presence']); - } elseif (\array_key_exists('presence', $data) && null === $data['presence']) { - $object->setPresence(null); + $object->presence = $data['presence']; + } elseif (\array_key_exists('presence', $data)) { + $object->presence = null; } if (\array_key_exists('profile', $data) && null !== $data['profile']) { - $object->setProfile($this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\ObjsUserProfile::class, 'json', $context)); - } elseif (\array_key_exists('profile', $data) && null === $data['profile']) { - $object->setProfile(null); + $object->profile = $this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\ObjsUserProfile::class, 'json', $context); + } elseif (\array_key_exists('profile', $data)) { + $object->profile = null; } if (\array_key_exists('real_name', $data) && null !== $data['real_name']) { - $object->setRealName($data['real_name']); - } elseif (\array_key_exists('real_name', $data) && null === $data['real_name']) { - $object->setRealName(null); + $object->realName = $data['real_name']; + } elseif (\array_key_exists('real_name', $data)) { + $object->realName = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('team_id', $data) && null !== $data['team_id']) { - $object->setTeamId($data['team_id']); - } elseif (\array_key_exists('team_id', $data) && null === $data['team_id']) { - $object->setTeamId(null); + $object->teamId = $data['team_id']; + } elseif (\array_key_exists('team_id', $data)) { + $object->teamId = null; } if (\array_key_exists('team_profile', $data) && null !== $data['team_profile']) { - $object->setTeamProfile($this->denormalizer->denormalize($data['team_profile'], \JoliCode\Slack\Api\Model\ObjsUserTeamProfile::class, 'json', $context)); - } elseif (\array_key_exists('team_profile', $data) && null === $data['team_profile']) { - $object->setTeamProfile(null); + $object->teamProfile = $this->denormalizer->denormalize($data['team_profile'], \JoliCode\Slack\Api\Model\ObjsUserTeamProfile::class, 'json', $context); + } elseif (\array_key_exists('team_profile', $data)) { + $object->teamProfile = null; } if (\array_key_exists('teams', $data) && null !== $data['teams']) { $values = []; foreach ($data['teams'] as $value) { $values[] = $value; } - $object->setTeams($values); - } elseif (\array_key_exists('teams', $data) && null === $data['teams']) { - $object->setTeams(null); + $object->teams = $values; + } elseif (\array_key_exists('teams', $data)) { + $object->teams = null; } if (\array_key_exists('two_factor_type', $data) && null !== $data['two_factor_type']) { - $object->setTwoFactorType($data['two_factor_type']); - } elseif (\array_key_exists('two_factor_type', $data) && null === $data['two_factor_type']) { - $object->setTwoFactorType(null); + $object->twoFactorType = $data['two_factor_type']; + } elseif (\array_key_exists('two_factor_type', $data)) { + $object->twoFactorType = null; } if (\array_key_exists('tz', $data) && null !== $data['tz']) { - $object->setTz($data['tz']); - } elseif (\array_key_exists('tz', $data) && null === $data['tz']) { - $object->setTz(null); + $object->tz = $data['tz']; + } elseif (\array_key_exists('tz', $data)) { + $object->tz = null; } if (\array_key_exists('tz_label', $data) && null !== $data['tz_label']) { - $object->setTzLabel($data['tz_label']); - } elseif (\array_key_exists('tz_label', $data) && null === $data['tz_label']) { - $object->setTzLabel(null); + $object->tzLabel = $data['tz_label']; + } elseif (\array_key_exists('tz_label', $data)) { + $object->tzLabel = null; } if (\array_key_exists('tz_offset', $data) && null !== $data['tz_offset']) { - $object->setTzOffset($data['tz_offset']); - } elseif (\array_key_exists('tz_offset', $data) && null === $data['tz_offset']) { - $object->setTzOffset(null); + $object->tzOffset = $data['tz_offset']; + } elseif (\array_key_exists('tz_offset', $data)) { + $object->tzOffset = null; } if (\array_key_exists('updated', $data) && null !== $data['updated']) { - $object->setUpdated($data['updated']); - } elseif (\array_key_exists('updated', $data) && null === $data['updated']) { - $object->setUpdated(null); + $object->updated = $data['updated']; + } elseif (\array_key_exists('updated', $data)) { + $object->updated = null; } return $object; @@ -258,88 +258,91 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('color') && null !== $data->getColor()) { - $dataArray['color'] = $data->getColor(); + if (\array_key_exists('color', get_object_vars($data)) && null !== ($data->color ?? null)) { + $dataArray['color'] = $data->color; } - if ($data->isInitialized('deleted') && null !== $data->getDeleted()) { - $dataArray['deleted'] = $data->getDeleted(); + if (\array_key_exists('deleted', get_object_vars($data)) && null !== ($data->deleted ?? null)) { + $dataArray['deleted'] = $data->deleted; } - if ($data->isInitialized('enterpriseUser') && null !== $data->getEnterpriseUser()) { - $dataArray['enterprise_user'] = null === $data->getEnterpriseUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getEnterpriseUser(), 'json', $context)); + if (\array_key_exists('enterpriseUser', get_object_vars($data)) && null !== ($data->enterpriseUser ?? null)) { + $normalized = $this->normalizer->normalize($data->enterpriseUser, 'json', $context); + $dataArray['enterprise_user'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('has2fa') && null !== $data->getHas2fa()) { - $dataArray['has_2fa'] = $data->getHas2fa(); + if (\array_key_exists('has2fa', get_object_vars($data)) && null !== ($data->has2fa ?? null)) { + $dataArray['has_2fa'] = $data->has2fa; } - $dataArray['id'] = $data->getId(); - if ($data->isInitialized('isAdmin') && null !== $data->getIsAdmin()) { - $dataArray['is_admin'] = $data->getIsAdmin(); + $dataArray['id'] = $data->id; + if (\array_key_exists('isAdmin', get_object_vars($data)) && null !== ($data->isAdmin ?? null)) { + $dataArray['is_admin'] = $data->isAdmin; } - $dataArray['is_app_user'] = $data->getIsAppUser(); - $dataArray['is_bot'] = $data->getIsBot(); - if ($data->isInitialized('isExternal') && null !== $data->getIsExternal()) { - $dataArray['is_external'] = $data->getIsExternal(); + $dataArray['is_app_user'] = $data->isAppUser; + $dataArray['is_bot'] = $data->isBot; + if (\array_key_exists('isExternal', get_object_vars($data)) && null !== ($data->isExternal ?? null)) { + $dataArray['is_external'] = $data->isExternal; } - if ($data->isInitialized('isForgotten') && null !== $data->getIsForgotten()) { - $dataArray['is_forgotten'] = $data->getIsForgotten(); + if (\array_key_exists('isForgotten', get_object_vars($data)) && null !== ($data->isForgotten ?? null)) { + $dataArray['is_forgotten'] = $data->isForgotten; } - if ($data->isInitialized('isInvitedUser') && null !== $data->getIsInvitedUser()) { - $dataArray['is_invited_user'] = $data->getIsInvitedUser(); + if (\array_key_exists('isInvitedUser', get_object_vars($data)) && null !== ($data->isInvitedUser ?? null)) { + $dataArray['is_invited_user'] = $data->isInvitedUser; } - if ($data->isInitialized('isOwner') && null !== $data->getIsOwner()) { - $dataArray['is_owner'] = $data->getIsOwner(); + if (\array_key_exists('isOwner', get_object_vars($data)) && null !== ($data->isOwner ?? null)) { + $dataArray['is_owner'] = $data->isOwner; } - if ($data->isInitialized('isPrimaryOwner') && null !== $data->getIsPrimaryOwner()) { - $dataArray['is_primary_owner'] = $data->getIsPrimaryOwner(); + if (\array_key_exists('isPrimaryOwner', get_object_vars($data)) && null !== ($data->isPrimaryOwner ?? null)) { + $dataArray['is_primary_owner'] = $data->isPrimaryOwner; } - if ($data->isInitialized('isRestricted') && null !== $data->getIsRestricted()) { - $dataArray['is_restricted'] = $data->getIsRestricted(); + if (\array_key_exists('isRestricted', get_object_vars($data)) && null !== ($data->isRestricted ?? null)) { + $dataArray['is_restricted'] = $data->isRestricted; } - if ($data->isInitialized('isStranger') && null !== $data->getIsStranger()) { - $dataArray['is_stranger'] = $data->getIsStranger(); + if (\array_key_exists('isStranger', get_object_vars($data)) && null !== ($data->isStranger ?? null)) { + $dataArray['is_stranger'] = $data->isStranger; } - if ($data->isInitialized('isUltraRestricted') && null !== $data->getIsUltraRestricted()) { - $dataArray['is_ultra_restricted'] = $data->getIsUltraRestricted(); + if (\array_key_exists('isUltraRestricted', get_object_vars($data)) && null !== ($data->isUltraRestricted ?? null)) { + $dataArray['is_ultra_restricted'] = $data->isUltraRestricted; } - if ($data->isInitialized('locale') && null !== $data->getLocale()) { - $dataArray['locale'] = $data->getLocale(); + if (\array_key_exists('locale', get_object_vars($data)) && null !== ($data->locale ?? null)) { + $dataArray['locale'] = $data->locale; } - $dataArray['name'] = $data->getName(); - if ($data->isInitialized('presence') && null !== $data->getPresence()) { - $dataArray['presence'] = $data->getPresence(); + $dataArray['name'] = $data->name; + if (\array_key_exists('presence', get_object_vars($data)) && null !== ($data->presence ?? null)) { + $dataArray['presence'] = $data->presence; } - $dataArray['profile'] = null === $data->getProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getProfile(), 'json', $context)); - if ($data->isInitialized('realName') && null !== $data->getRealName()) { - $dataArray['real_name'] = $data->getRealName(); + $normalized_1 = null === $data->profile ? null : $this->normalizer->normalize($data->profile, 'json', $context); + $dataArray['profile'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + if (\array_key_exists('realName', get_object_vars($data)) && null !== ($data->realName ?? null)) { + $dataArray['real_name'] = $data->realName; } - if ($data->isInitialized('team') && null !== $data->getTeam()) { - $dataArray['team'] = $data->getTeam(); + if (\array_key_exists('team', get_object_vars($data)) && null !== ($data->team ?? null)) { + $dataArray['team'] = $data->team; } - if ($data->isInitialized('teamId') && null !== $data->getTeamId()) { - $dataArray['team_id'] = $data->getTeamId(); + if (\array_key_exists('teamId', get_object_vars($data)) && null !== ($data->teamId ?? null)) { + $dataArray['team_id'] = $data->teamId; } - if ($data->isInitialized('teamProfile') && null !== $data->getTeamProfile()) { - $dataArray['team_profile'] = null === $data->getTeamProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeamProfile(), 'json', $context)); + if (\array_key_exists('teamProfile', get_object_vars($data)) && null !== ($data->teamProfile ?? null)) { + $normalized_2 = $this->normalizer->normalize($data->teamProfile, 'json', $context); + $dataArray['team_profile'] = is_iterable($normalized_2) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_2) : $normalized_2; } - if ($data->isInitialized('teams') && null !== $data->getTeams()) { + if (\array_key_exists('teams', get_object_vars($data)) && null !== ($data->teams ?? null)) { $values = []; - foreach ($data->getTeams() as $value) { + foreach ($data->teams as $value) { $values[] = $value; } $dataArray['teams'] = $values; } - if ($data->isInitialized('twoFactorType') && null !== $data->getTwoFactorType()) { - $dataArray['two_factor_type'] = $data->getTwoFactorType(); + if (\array_key_exists('twoFactorType', get_object_vars($data)) && null !== ($data->twoFactorType ?? null)) { + $dataArray['two_factor_type'] = $data->twoFactorType; } - if ($data->isInitialized('tz') && null !== $data->getTz()) { - $dataArray['tz'] = $data->getTz(); + if (\array_key_exists('tz', get_object_vars($data)) && null !== ($data->tz ?? null)) { + $dataArray['tz'] = $data->tz; } - if ($data->isInitialized('tzLabel') && null !== $data->getTzLabel()) { - $dataArray['tz_label'] = $data->getTzLabel(); + if (\array_key_exists('tzLabel', get_object_vars($data)) && null !== ($data->tzLabel ?? null)) { + $dataArray['tz_label'] = $data->tzLabel; } - if ($data->isInitialized('tzOffset') && null !== $data->getTzOffset()) { - $dataArray['tz_offset'] = $data->getTzOffset(); + if (\array_key_exists('tzOffset', get_object_vars($data)) && null !== ($data->tzOffset ?? null)) { + $dataArray['tz_offset'] = $data->tzOffset; } - $dataArray['updated'] = $data->getUpdated(); + $dataArray['updated'] = $data->updated; return $dataArray; } diff --git a/generated/Normalizer/ObjsUserProfileNormalizer.php b/generated/Normalizer/ObjsUserProfileNormalizer.php index 272490af..65d555a4 100644 --- a/generated/Normalizer/ObjsUserProfileNormalizer.php +++ b/generated/Normalizer/ObjsUserProfileNormalizer.php @@ -62,304 +62,304 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_custom_image'] = (bool) $data['is_custom_image']; } if (\array_key_exists('always_active', $data) && null !== $data['always_active']) { - $object->setAlwaysActive($data['always_active']); - } elseif (\array_key_exists('always_active', $data) && null === $data['always_active']) { - $object->setAlwaysActive(null); + $object->alwaysActive = $data['always_active']; + } elseif (\array_key_exists('always_active', $data)) { + $object->alwaysActive = null; } if (\array_key_exists('api_app_id', $data) && null !== $data['api_app_id']) { - $object->setApiAppId($data['api_app_id']); - } elseif (\array_key_exists('api_app_id', $data) && null === $data['api_app_id']) { - $object->setApiAppId(null); + $object->apiAppId = $data['api_app_id']; + } elseif (\array_key_exists('api_app_id', $data)) { + $object->apiAppId = null; } if (\array_key_exists('avatar_hash', $data) && null !== $data['avatar_hash']) { - $object->setAvatarHash($data['avatar_hash']); - } elseif (\array_key_exists('avatar_hash', $data) && null === $data['avatar_hash']) { - $object->setAvatarHash(null); + $object->avatarHash = $data['avatar_hash']; + } elseif (\array_key_exists('avatar_hash', $data)) { + $object->avatarHash = null; } if (\array_key_exists('bot_id', $data) && null !== $data['bot_id']) { - $object->setBotId($data['bot_id']); - } elseif (\array_key_exists('bot_id', $data) && null === $data['bot_id']) { - $object->setBotId(null); + $object->botId = $data['bot_id']; + } elseif (\array_key_exists('bot_id', $data)) { + $object->botId = null; } if (\array_key_exists('display_name', $data) && null !== $data['display_name']) { - $object->setDisplayName($data['display_name']); - } elseif (\array_key_exists('display_name', $data) && null === $data['display_name']) { - $object->setDisplayName(null); + $object->displayName = $data['display_name']; + } elseif (\array_key_exists('display_name', $data)) { + $object->displayName = null; } if (\array_key_exists('display_name_normalized', $data) && null !== $data['display_name_normalized']) { - $object->setDisplayNameNormalized($data['display_name_normalized']); - } elseif (\array_key_exists('display_name_normalized', $data) && null === $data['display_name_normalized']) { - $object->setDisplayNameNormalized(null); + $object->displayNameNormalized = $data['display_name_normalized']; + } elseif (\array_key_exists('display_name_normalized', $data)) { + $object->displayNameNormalized = null; } if (\array_key_exists('email', $data) && null !== $data['email']) { $value = $data['email']; if (\is_string($data['email'])) { $value = $data['email']; } - $object->setEmail($value); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { - $object->setEmail(null); + $object->email = $value; + } elseif (\array_key_exists('email', $data)) { + $object->email = null; } if (\array_key_exists('fields', $data) && null !== $data['fields']) { $values = []; foreach ($data['fields'] as $value_1) { $values[] = $value_1; } - $object->setFields($values); - } elseif (\array_key_exists('fields', $data) && null === $data['fields']) { - $object->setFields(null); + $object->fields = $values; + } elseif (\array_key_exists('fields', $data)) { + $object->fields = null; } if (\array_key_exists('first_name', $data) && null !== $data['first_name']) { $value_2 = $data['first_name']; if (\is_string($data['first_name'])) { $value_2 = $data['first_name']; } - $object->setFirstName($value_2); - } elseif (\array_key_exists('first_name', $data) && null === $data['first_name']) { - $object->setFirstName(null); + $object->firstName = $value_2; + } elseif (\array_key_exists('first_name', $data)) { + $object->firstName = null; } if (\array_key_exists('guest_expiration_ts', $data) && null !== $data['guest_expiration_ts']) { $value_3 = $data['guest_expiration_ts']; if (\is_int($data['guest_expiration_ts'])) { $value_3 = $data['guest_expiration_ts']; } - $object->setGuestExpirationTs($value_3); - } elseif (\array_key_exists('guest_expiration_ts', $data) && null === $data['guest_expiration_ts']) { - $object->setGuestExpirationTs(null); + $object->guestExpirationTs = $value_3; + } elseif (\array_key_exists('guest_expiration_ts', $data)) { + $object->guestExpirationTs = null; } if (\array_key_exists('guest_invited_by', $data) && null !== $data['guest_invited_by']) { $value_4 = $data['guest_invited_by']; if (\is_string($data['guest_invited_by'])) { $value_4 = $data['guest_invited_by']; } - $object->setGuestInvitedBy($value_4); - } elseif (\array_key_exists('guest_invited_by', $data) && null === $data['guest_invited_by']) { - $object->setGuestInvitedBy(null); + $object->guestInvitedBy = $value_4; + } elseif (\array_key_exists('guest_invited_by', $data)) { + $object->guestInvitedBy = null; } if (\array_key_exists('image_1024', $data) && null !== $data['image_1024']) { $value_5 = $data['image_1024']; if (\is_string($data['image_1024'])) { $value_5 = $data['image_1024']; } - $object->setImage1024($value_5); - } elseif (\array_key_exists('image_1024', $data) && null === $data['image_1024']) { - $object->setImage1024(null); + $object->image1024 = $value_5; + } elseif (\array_key_exists('image_1024', $data)) { + $object->image1024 = null; } if (\array_key_exists('image_192', $data) && null !== $data['image_192']) { $value_6 = $data['image_192']; if (\is_string($data['image_192'])) { $value_6 = $data['image_192']; } - $object->setImage192($value_6); - } elseif (\array_key_exists('image_192', $data) && null === $data['image_192']) { - $object->setImage192(null); + $object->image192 = $value_6; + } elseif (\array_key_exists('image_192', $data)) { + $object->image192 = null; } if (\array_key_exists('image_24', $data) && null !== $data['image_24']) { $value_7 = $data['image_24']; if (\is_string($data['image_24'])) { $value_7 = $data['image_24']; } - $object->setImage24($value_7); - } elseif (\array_key_exists('image_24', $data) && null === $data['image_24']) { - $object->setImage24(null); + $object->image24 = $value_7; + } elseif (\array_key_exists('image_24', $data)) { + $object->image24 = null; } if (\array_key_exists('image_32', $data) && null !== $data['image_32']) { $value_8 = $data['image_32']; if (\is_string($data['image_32'])) { $value_8 = $data['image_32']; } - $object->setImage32($value_8); - } elseif (\array_key_exists('image_32', $data) && null === $data['image_32']) { - $object->setImage32(null); + $object->image32 = $value_8; + } elseif (\array_key_exists('image_32', $data)) { + $object->image32 = null; } if (\array_key_exists('image_48', $data) && null !== $data['image_48']) { $value_9 = $data['image_48']; if (\is_string($data['image_48'])) { $value_9 = $data['image_48']; } - $object->setImage48($value_9); - } elseif (\array_key_exists('image_48', $data) && null === $data['image_48']) { - $object->setImage48(null); + $object->image48 = $value_9; + } elseif (\array_key_exists('image_48', $data)) { + $object->image48 = null; } if (\array_key_exists('image_512', $data) && null !== $data['image_512']) { $value_10 = $data['image_512']; if (\is_string($data['image_512'])) { $value_10 = $data['image_512']; } - $object->setImage512($value_10); - } elseif (\array_key_exists('image_512', $data) && null === $data['image_512']) { - $object->setImage512(null); + $object->image512 = $value_10; + } elseif (\array_key_exists('image_512', $data)) { + $object->image512 = null; } if (\array_key_exists('image_72', $data) && null !== $data['image_72']) { $value_11 = $data['image_72']; if (\is_string($data['image_72'])) { $value_11 = $data['image_72']; } - $object->setImage72($value_11); - } elseif (\array_key_exists('image_72', $data) && null === $data['image_72']) { - $object->setImage72(null); + $object->image72 = $value_11; + } elseif (\array_key_exists('image_72', $data)) { + $object->image72 = null; } if (\array_key_exists('image_original', $data) && null !== $data['image_original']) { $value_12 = $data['image_original']; if (\is_string($data['image_original'])) { $value_12 = $data['image_original']; } - $object->setImageOriginal($value_12); - } elseif (\array_key_exists('image_original', $data) && null === $data['image_original']) { - $object->setImageOriginal(null); + $object->imageOriginal = $value_12; + } elseif (\array_key_exists('image_original', $data)) { + $object->imageOriginal = null; } if (\array_key_exists('is_app_user', $data) && null !== $data['is_app_user']) { - $object->setIsAppUser($data['is_app_user']); - } elseif (\array_key_exists('is_app_user', $data) && null === $data['is_app_user']) { - $object->setIsAppUser(null); + $object->isAppUser = $data['is_app_user']; + } elseif (\array_key_exists('is_app_user', $data)) { + $object->isAppUser = null; } if (\array_key_exists('is_custom_image', $data) && null !== $data['is_custom_image']) { - $object->setIsCustomImage($data['is_custom_image']); - } elseif (\array_key_exists('is_custom_image', $data) && null === $data['is_custom_image']) { - $object->setIsCustomImage(null); + $object->isCustomImage = $data['is_custom_image']; + } elseif (\array_key_exists('is_custom_image', $data)) { + $object->isCustomImage = null; } if (\array_key_exists('is_restricted', $data) && null !== $data['is_restricted']) { $value_13 = $data['is_restricted']; if (\is_bool($data['is_restricted'])) { $value_13 = $data['is_restricted']; } - $object->setIsRestricted($value_13); - } elseif (\array_key_exists('is_restricted', $data) && null === $data['is_restricted']) { - $object->setIsRestricted(null); + $object->isRestricted = $value_13; + } elseif (\array_key_exists('is_restricted', $data)) { + $object->isRestricted = null; } if (\array_key_exists('is_ultra_restricted', $data) && null !== $data['is_ultra_restricted']) { $value_14 = $data['is_ultra_restricted']; if (\is_bool($data['is_ultra_restricted'])) { $value_14 = $data['is_ultra_restricted']; } - $object->setIsUltraRestricted($value_14); - } elseif (\array_key_exists('is_ultra_restricted', $data) && null === $data['is_ultra_restricted']) { - $object->setIsUltraRestricted(null); + $object->isUltraRestricted = $value_14; + } elseif (\array_key_exists('is_ultra_restricted', $data)) { + $object->isUltraRestricted = null; } if (\array_key_exists('last_avatar_image_hash', $data) && null !== $data['last_avatar_image_hash']) { - $object->setLastAvatarImageHash($data['last_avatar_image_hash']); - } elseif (\array_key_exists('last_avatar_image_hash', $data) && null === $data['last_avatar_image_hash']) { - $object->setLastAvatarImageHash(null); + $object->lastAvatarImageHash = $data['last_avatar_image_hash']; + } elseif (\array_key_exists('last_avatar_image_hash', $data)) { + $object->lastAvatarImageHash = null; } if (\array_key_exists('last_name', $data) && null !== $data['last_name']) { $value_15 = $data['last_name']; if (\is_string($data['last_name'])) { $value_15 = $data['last_name']; } - $object->setLastName($value_15); - } elseif (\array_key_exists('last_name', $data) && null === $data['last_name']) { - $object->setLastName(null); + $object->lastName = $value_15; + } elseif (\array_key_exists('last_name', $data)) { + $object->lastName = null; } if (\array_key_exists('memberships_count', $data) && null !== $data['memberships_count']) { - $object->setMembershipsCount($data['memberships_count']); - } elseif (\array_key_exists('memberships_count', $data) && null === $data['memberships_count']) { - $object->setMembershipsCount(null); + $object->membershipsCount = $data['memberships_count']; + } elseif (\array_key_exists('memberships_count', $data)) { + $object->membershipsCount = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { $value_16 = $data['name']; if (\is_string($data['name'])) { $value_16 = $data['name']; } - $object->setName($value_16); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $value_16; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('phone', $data) && null !== $data['phone']) { - $object->setPhone($data['phone']); - } elseif (\array_key_exists('phone', $data) && null === $data['phone']) { - $object->setPhone(null); + $object->phone = $data['phone']; + } elseif (\array_key_exists('phone', $data)) { + $object->phone = null; } if (\array_key_exists('pronouns', $data) && null !== $data['pronouns']) { - $object->setPronouns($data['pronouns']); - } elseif (\array_key_exists('pronouns', $data) && null === $data['pronouns']) { - $object->setPronouns(null); + $object->pronouns = $data['pronouns']; + } elseif (\array_key_exists('pronouns', $data)) { + $object->pronouns = null; } if (\array_key_exists('real_name', $data) && null !== $data['real_name']) { - $object->setRealName($data['real_name']); - } elseif (\array_key_exists('real_name', $data) && null === $data['real_name']) { - $object->setRealName(null); + $object->realName = $data['real_name']; + } elseif (\array_key_exists('real_name', $data)) { + $object->realName = null; } if (\array_key_exists('real_name_normalized', $data) && null !== $data['real_name_normalized']) { - $object->setRealNameNormalized($data['real_name_normalized']); - } elseif (\array_key_exists('real_name_normalized', $data) && null === $data['real_name_normalized']) { - $object->setRealNameNormalized(null); + $object->realNameNormalized = $data['real_name_normalized']; + } elseif (\array_key_exists('real_name_normalized', $data)) { + $object->realNameNormalized = null; } if (\array_key_exists('skype', $data) && null !== $data['skype']) { - $object->setSkype($data['skype']); - } elseif (\array_key_exists('skype', $data) && null === $data['skype']) { - $object->setSkype(null); + $object->skype = $data['skype']; + } elseif (\array_key_exists('skype', $data)) { + $object->skype = null; } if (\array_key_exists('status_default_emoji', $data) && null !== $data['status_default_emoji']) { - $object->setStatusDefaultEmoji($data['status_default_emoji']); - } elseif (\array_key_exists('status_default_emoji', $data) && null === $data['status_default_emoji']) { - $object->setStatusDefaultEmoji(null); + $object->statusDefaultEmoji = $data['status_default_emoji']; + } elseif (\array_key_exists('status_default_emoji', $data)) { + $object->statusDefaultEmoji = null; } if (\array_key_exists('status_default_text', $data) && null !== $data['status_default_text']) { - $object->setStatusDefaultText($data['status_default_text']); - } elseif (\array_key_exists('status_default_text', $data) && null === $data['status_default_text']) { - $object->setStatusDefaultText(null); + $object->statusDefaultText = $data['status_default_text']; + } elseif (\array_key_exists('status_default_text', $data)) { + $object->statusDefaultText = null; } if (\array_key_exists('status_default_text_canonical', $data) && null !== $data['status_default_text_canonical']) { $value_17 = $data['status_default_text_canonical']; if (\is_string($data['status_default_text_canonical'])) { $value_17 = $data['status_default_text_canonical']; } - $object->setStatusDefaultTextCanonical($value_17); - } elseif (\array_key_exists('status_default_text_canonical', $data) && null === $data['status_default_text_canonical']) { - $object->setStatusDefaultTextCanonical(null); + $object->statusDefaultTextCanonical = $value_17; + } elseif (\array_key_exists('status_default_text_canonical', $data)) { + $object->statusDefaultTextCanonical = null; } if (\array_key_exists('status_emoji', $data) && null !== $data['status_emoji']) { - $object->setStatusEmoji($data['status_emoji']); - } elseif (\array_key_exists('status_emoji', $data) && null === $data['status_emoji']) { - $object->setStatusEmoji(null); + $object->statusEmoji = $data['status_emoji']; + } elseif (\array_key_exists('status_emoji', $data)) { + $object->statusEmoji = null; } if (\array_key_exists('status_expiration', $data) && null !== $data['status_expiration']) { - $object->setStatusExpiration($data['status_expiration']); - } elseif (\array_key_exists('status_expiration', $data) && null === $data['status_expiration']) { - $object->setStatusExpiration(null); + $object->statusExpiration = $data['status_expiration']; + } elseif (\array_key_exists('status_expiration', $data)) { + $object->statusExpiration = null; } if (\array_key_exists('status_text', $data) && null !== $data['status_text']) { - $object->setStatusText($data['status_text']); - } elseif (\array_key_exists('status_text', $data) && null === $data['status_text']) { - $object->setStatusText(null); + $object->statusText = $data['status_text']; + } elseif (\array_key_exists('status_text', $data)) { + $object->statusText = null; } if (\array_key_exists('status_text_canonical', $data) && null !== $data['status_text_canonical']) { $value_18 = $data['status_text_canonical']; if (\is_string($data['status_text_canonical'])) { $value_18 = $data['status_text_canonical']; } - $object->setStatusTextCanonical($value_18); - } elseif (\array_key_exists('status_text_canonical', $data) && null === $data['status_text_canonical']) { - $object->setStatusTextCanonical(null); + $object->statusTextCanonical = $value_18; + } elseif (\array_key_exists('status_text_canonical', $data)) { + $object->statusTextCanonical = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('title', $data) && null !== $data['title']) { - $object->setTitle($data['title']); - } elseif (\array_key_exists('title', $data) && null === $data['title']) { - $object->setTitle(null); + $object->title = $data['title']; + } elseif (\array_key_exists('title', $data)) { + $object->title = null; } if (\array_key_exists('updated', $data) && null !== $data['updated']) { - $object->setUpdated($data['updated']); - } elseif (\array_key_exists('updated', $data) && null === $data['updated']) { - $object->setUpdated(null); + $object->updated = $data['updated']; + } elseif (\array_key_exists('updated', $data)) { + $object->updated = null; } if (\array_key_exists('user_id', $data) && null !== $data['user_id']) { - $object->setUserId($data['user_id']); - } elseif (\array_key_exists('user_id', $data) && null === $data['user_id']) { - $object->setUserId(null); + $object->userId = $data['user_id']; + } elseif (\array_key_exists('user_id', $data)) { + $object->userId = null; } if (\array_key_exists('username', $data) && null !== $data['username']) { $value_19 = $data['username']; if (\is_string($data['username'])) { $value_19 = $data['username']; } - $object->setUsername($value_19); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { - $object->setUsername(null); + $object->username = $value_19; + } elseif (\array_key_exists('username', $data)) { + $object->username = null; } return $object; @@ -368,193 +368,193 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('alwaysActive') && null !== $data->getAlwaysActive()) { - $dataArray['always_active'] = $data->getAlwaysActive(); + if (\array_key_exists('alwaysActive', get_object_vars($data)) && null !== ($data->alwaysActive ?? null)) { + $dataArray['always_active'] = $data->alwaysActive; } - if ($data->isInitialized('apiAppId') && null !== $data->getApiAppId()) { - $dataArray['api_app_id'] = $data->getApiAppId(); + if (\array_key_exists('apiAppId', get_object_vars($data)) && null !== ($data->apiAppId ?? null)) { + $dataArray['api_app_id'] = $data->apiAppId; } - $dataArray['avatar_hash'] = $data->getAvatarHash(); - if ($data->isInitialized('botId') && null !== $data->getBotId()) { - $dataArray['bot_id'] = $data->getBotId(); + $dataArray['avatar_hash'] = $data->avatarHash; + if (\array_key_exists('botId', get_object_vars($data)) && null !== ($data->botId ?? null)) { + $dataArray['bot_id'] = $data->botId; } - $dataArray['display_name'] = $data->getDisplayName(); - $dataArray['display_name_normalized'] = $data->getDisplayNameNormalized(); - if ($data->isInitialized('email') && null !== $data->getEmail()) { - $value = $data->getEmail(); - if (\is_string($data->getEmail())) { - $value = $data->getEmail(); + $dataArray['display_name'] = $data->displayName; + $dataArray['display_name_normalized'] = $data->displayNameNormalized; + if (\array_key_exists('email', get_object_vars($data)) && null !== ($data->email ?? null)) { + $value = $data->email; + if (\is_string($data->email)) { + $value = $data->email; } $dataArray['email'] = $value; } $values = []; - foreach ($data->getFields() as $value_1) { + foreach ($data->fields as $value_1) { $values[] = $value_1; } $dataArray['fields'] = $values; - if ($data->isInitialized('firstName') && null !== $data->getFirstName()) { - $value_2 = $data->getFirstName(); - if (\is_string($data->getFirstName())) { - $value_2 = $data->getFirstName(); + if (\array_key_exists('firstName', get_object_vars($data)) && null !== ($data->firstName ?? null)) { + $value_2 = $data->firstName; + if (\is_string($data->firstName)) { + $value_2 = $data->firstName; } $dataArray['first_name'] = $value_2; } - if ($data->isInitialized('guestExpirationTs') && null !== $data->getGuestExpirationTs()) { - $value_3 = $data->getGuestExpirationTs(); - if (\is_int($data->getGuestExpirationTs())) { - $value_3 = $data->getGuestExpirationTs(); + if (\array_key_exists('guestExpirationTs', get_object_vars($data)) && null !== ($data->guestExpirationTs ?? null)) { + $value_3 = $data->guestExpirationTs; + if (\is_int($data->guestExpirationTs)) { + $value_3 = $data->guestExpirationTs; } $dataArray['guest_expiration_ts'] = $value_3; } - if ($data->isInitialized('guestInvitedBy') && null !== $data->getGuestInvitedBy()) { - $value_4 = $data->getGuestInvitedBy(); - if (\is_string($data->getGuestInvitedBy())) { - $value_4 = $data->getGuestInvitedBy(); + if (\array_key_exists('guestInvitedBy', get_object_vars($data)) && null !== ($data->guestInvitedBy ?? null)) { + $value_4 = $data->guestInvitedBy; + if (\is_string($data->guestInvitedBy)) { + $value_4 = $data->guestInvitedBy; } $dataArray['guest_invited_by'] = $value_4; } - if ($data->isInitialized('image1024') && null !== $data->getImage1024()) { - $value_5 = $data->getImage1024(); - if (\is_string($data->getImage1024())) { - $value_5 = $data->getImage1024(); + if (\array_key_exists('image1024', get_object_vars($data)) && null !== ($data->image1024 ?? null)) { + $value_5 = $data->image1024; + if (\is_string($data->image1024)) { + $value_5 = $data->image1024; } $dataArray['image_1024'] = $value_5; } - if ($data->isInitialized('image192') && null !== $data->getImage192()) { - $value_6 = $data->getImage192(); - if (\is_string($data->getImage192())) { - $value_6 = $data->getImage192(); + if (\array_key_exists('image192', get_object_vars($data)) && null !== ($data->image192 ?? null)) { + $value_6 = $data->image192; + if (\is_string($data->image192)) { + $value_6 = $data->image192; } $dataArray['image_192'] = $value_6; } - if ($data->isInitialized('image24') && null !== $data->getImage24()) { - $value_7 = $data->getImage24(); - if (\is_string($data->getImage24())) { - $value_7 = $data->getImage24(); + if (\array_key_exists('image24', get_object_vars($data)) && null !== ($data->image24 ?? null)) { + $value_7 = $data->image24; + if (\is_string($data->image24)) { + $value_7 = $data->image24; } $dataArray['image_24'] = $value_7; } - if ($data->isInitialized('image32') && null !== $data->getImage32()) { - $value_8 = $data->getImage32(); - if (\is_string($data->getImage32())) { - $value_8 = $data->getImage32(); + if (\array_key_exists('image32', get_object_vars($data)) && null !== ($data->image32 ?? null)) { + $value_8 = $data->image32; + if (\is_string($data->image32)) { + $value_8 = $data->image32; } $dataArray['image_32'] = $value_8; } - if ($data->isInitialized('image48') && null !== $data->getImage48()) { - $value_9 = $data->getImage48(); - if (\is_string($data->getImage48())) { - $value_9 = $data->getImage48(); + if (\array_key_exists('image48', get_object_vars($data)) && null !== ($data->image48 ?? null)) { + $value_9 = $data->image48; + if (\is_string($data->image48)) { + $value_9 = $data->image48; } $dataArray['image_48'] = $value_9; } - if ($data->isInitialized('image512') && null !== $data->getImage512()) { - $value_10 = $data->getImage512(); - if (\is_string($data->getImage512())) { - $value_10 = $data->getImage512(); + if (\array_key_exists('image512', get_object_vars($data)) && null !== ($data->image512 ?? null)) { + $value_10 = $data->image512; + if (\is_string($data->image512)) { + $value_10 = $data->image512; } $dataArray['image_512'] = $value_10; } - if ($data->isInitialized('image72') && null !== $data->getImage72()) { - $value_11 = $data->getImage72(); - if (\is_string($data->getImage72())) { - $value_11 = $data->getImage72(); + if (\array_key_exists('image72', get_object_vars($data)) && null !== ($data->image72 ?? null)) { + $value_11 = $data->image72; + if (\is_string($data->image72)) { + $value_11 = $data->image72; } $dataArray['image_72'] = $value_11; } - if ($data->isInitialized('imageOriginal') && null !== $data->getImageOriginal()) { - $value_12 = $data->getImageOriginal(); - if (\is_string($data->getImageOriginal())) { - $value_12 = $data->getImageOriginal(); + if (\array_key_exists('imageOriginal', get_object_vars($data)) && null !== ($data->imageOriginal ?? null)) { + $value_12 = $data->imageOriginal; + if (\is_string($data->imageOriginal)) { + $value_12 = $data->imageOriginal; } $dataArray['image_original'] = $value_12; } - if ($data->isInitialized('isAppUser') && null !== $data->getIsAppUser()) { - $dataArray['is_app_user'] = $data->getIsAppUser(); + if (\array_key_exists('isAppUser', get_object_vars($data)) && null !== ($data->isAppUser ?? null)) { + $dataArray['is_app_user'] = $data->isAppUser; } - if ($data->isInitialized('isCustomImage') && null !== $data->getIsCustomImage()) { - $dataArray['is_custom_image'] = $data->getIsCustomImage(); + if (\array_key_exists('isCustomImage', get_object_vars($data)) && null !== ($data->isCustomImage ?? null)) { + $dataArray['is_custom_image'] = $data->isCustomImage; } - if ($data->isInitialized('isRestricted') && null !== $data->getIsRestricted()) { - $value_13 = $data->getIsRestricted(); - if (\is_bool($data->getIsRestricted())) { - $value_13 = $data->getIsRestricted(); + if (\array_key_exists('isRestricted', get_object_vars($data)) && null !== ($data->isRestricted ?? null)) { + $value_13 = $data->isRestricted; + if (\is_bool($data->isRestricted)) { + $value_13 = $data->isRestricted; } $dataArray['is_restricted'] = $value_13; } - if ($data->isInitialized('isUltraRestricted') && null !== $data->getIsUltraRestricted()) { - $value_14 = $data->getIsUltraRestricted(); - if (\is_bool($data->getIsUltraRestricted())) { - $value_14 = $data->getIsUltraRestricted(); + if (\array_key_exists('isUltraRestricted', get_object_vars($data)) && null !== ($data->isUltraRestricted ?? null)) { + $value_14 = $data->isUltraRestricted; + if (\is_bool($data->isUltraRestricted)) { + $value_14 = $data->isUltraRestricted; } $dataArray['is_ultra_restricted'] = $value_14; } - if ($data->isInitialized('lastAvatarImageHash') && null !== $data->getLastAvatarImageHash()) { - $dataArray['last_avatar_image_hash'] = $data->getLastAvatarImageHash(); + if (\array_key_exists('lastAvatarImageHash', get_object_vars($data)) && null !== ($data->lastAvatarImageHash ?? null)) { + $dataArray['last_avatar_image_hash'] = $data->lastAvatarImageHash; } - if ($data->isInitialized('lastName') && null !== $data->getLastName()) { - $value_15 = $data->getLastName(); - if (\is_string($data->getLastName())) { - $value_15 = $data->getLastName(); + if (\array_key_exists('lastName', get_object_vars($data)) && null !== ($data->lastName ?? null)) { + $value_15 = $data->lastName; + if (\is_string($data->lastName)) { + $value_15 = $data->lastName; } $dataArray['last_name'] = $value_15; } - if ($data->isInitialized('membershipsCount') && null !== $data->getMembershipsCount()) { - $dataArray['memberships_count'] = $data->getMembershipsCount(); + if (\array_key_exists('membershipsCount', get_object_vars($data)) && null !== ($data->membershipsCount ?? null)) { + $dataArray['memberships_count'] = $data->membershipsCount; } - if ($data->isInitialized('name') && null !== $data->getName()) { - $value_16 = $data->getName(); - if (\is_string($data->getName())) { - $value_16 = $data->getName(); + if (\array_key_exists('name', get_object_vars($data)) && null !== ($data->name ?? null)) { + $value_16 = $data->name; + if (\is_string($data->name)) { + $value_16 = $data->name; } $dataArray['name'] = $value_16; } - $dataArray['phone'] = $data->getPhone(); - if ($data->isInitialized('pronouns') && null !== $data->getPronouns()) { - $dataArray['pronouns'] = $data->getPronouns(); + $dataArray['phone'] = $data->phone; + if (\array_key_exists('pronouns', get_object_vars($data)) && null !== ($data->pronouns ?? null)) { + $dataArray['pronouns'] = $data->pronouns; } - $dataArray['real_name'] = $data->getRealName(); - $dataArray['real_name_normalized'] = $data->getRealNameNormalized(); - $dataArray['skype'] = $data->getSkype(); - if ($data->isInitialized('statusDefaultEmoji') && null !== $data->getStatusDefaultEmoji()) { - $dataArray['status_default_emoji'] = $data->getStatusDefaultEmoji(); + $dataArray['real_name'] = $data->realName; + $dataArray['real_name_normalized'] = $data->realNameNormalized; + $dataArray['skype'] = $data->skype; + if (\array_key_exists('statusDefaultEmoji', get_object_vars($data)) && null !== ($data->statusDefaultEmoji ?? null)) { + $dataArray['status_default_emoji'] = $data->statusDefaultEmoji; } - if ($data->isInitialized('statusDefaultText') && null !== $data->getStatusDefaultText()) { - $dataArray['status_default_text'] = $data->getStatusDefaultText(); + if (\array_key_exists('statusDefaultText', get_object_vars($data)) && null !== ($data->statusDefaultText ?? null)) { + $dataArray['status_default_text'] = $data->statusDefaultText; } - if ($data->isInitialized('statusDefaultTextCanonical') && null !== $data->getStatusDefaultTextCanonical()) { - $value_17 = $data->getStatusDefaultTextCanonical(); - if (\is_string($data->getStatusDefaultTextCanonical())) { - $value_17 = $data->getStatusDefaultTextCanonical(); + if (\array_key_exists('statusDefaultTextCanonical', get_object_vars($data)) && null !== ($data->statusDefaultTextCanonical ?? null)) { + $value_17 = $data->statusDefaultTextCanonical; + if (\is_string($data->statusDefaultTextCanonical)) { + $value_17 = $data->statusDefaultTextCanonical; } $dataArray['status_default_text_canonical'] = $value_17; } - $dataArray['status_emoji'] = $data->getStatusEmoji(); - if ($data->isInitialized('statusExpiration') && null !== $data->getStatusExpiration()) { - $dataArray['status_expiration'] = $data->getStatusExpiration(); + $dataArray['status_emoji'] = $data->statusEmoji; + if (\array_key_exists('statusExpiration', get_object_vars($data)) && null !== ($data->statusExpiration ?? null)) { + $dataArray['status_expiration'] = $data->statusExpiration; } - $dataArray['status_text'] = $data->getStatusText(); - if ($data->isInitialized('statusTextCanonical') && null !== $data->getStatusTextCanonical()) { - $value_18 = $data->getStatusTextCanonical(); - if (\is_string($data->getStatusTextCanonical())) { - $value_18 = $data->getStatusTextCanonical(); + $dataArray['status_text'] = $data->statusText; + if (\array_key_exists('statusTextCanonical', get_object_vars($data)) && null !== ($data->statusTextCanonical ?? null)) { + $value_18 = $data->statusTextCanonical; + if (\is_string($data->statusTextCanonical)) { + $value_18 = $data->statusTextCanonical; } $dataArray['status_text_canonical'] = $value_18; } - if ($data->isInitialized('team') && null !== $data->getTeam()) { - $dataArray['team'] = $data->getTeam(); + if (\array_key_exists('team', get_object_vars($data)) && null !== ($data->team ?? null)) { + $dataArray['team'] = $data->team; } - $dataArray['title'] = $data->getTitle(); - if ($data->isInitialized('updated') && null !== $data->getUpdated()) { - $dataArray['updated'] = $data->getUpdated(); + $dataArray['title'] = $data->title; + if (\array_key_exists('updated', get_object_vars($data)) && null !== ($data->updated ?? null)) { + $dataArray['updated'] = $data->updated; } - if ($data->isInitialized('userId') && null !== $data->getUserId()) { - $dataArray['user_id'] = $data->getUserId(); + if (\array_key_exists('userId', get_object_vars($data)) && null !== ($data->userId ?? null)) { + $dataArray['user_id'] = $data->userId; } - if ($data->isInitialized('username') && null !== $data->getUsername()) { - $value_19 = $data->getUsername(); - if (\is_string($data->getUsername())) { - $value_19 = $data->getUsername(); + if (\array_key_exists('username', get_object_vars($data)) && null !== ($data->username ?? null)) { + $value_19 = $data->username; + if (\is_string($data->username)) { + $value_19 = $data->username; } $dataArray['username'] = $value_19; } diff --git a/generated/Normalizer/ObjsUserProfileShortNormalizer.php b/generated/Normalizer/ObjsUserProfileShortNormalizer.php index 37623f47..308143cf 100644 --- a/generated/Normalizer/ObjsUserProfileShortNormalizer.php +++ b/generated/Normalizer/ObjsUserProfileShortNormalizer.php @@ -59,63 +59,63 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['is_ultra_restricted'] = (bool) $data['is_ultra_restricted']; } if (\array_key_exists('avatar_hash', $data) && null !== $data['avatar_hash']) { - $object->setAvatarHash($data['avatar_hash']); - } elseif (\array_key_exists('avatar_hash', $data) && null === $data['avatar_hash']) { - $object->setAvatarHash(null); + $object->avatarHash = $data['avatar_hash']; + } elseif (\array_key_exists('avatar_hash', $data)) { + $object->avatarHash = null; } if (\array_key_exists('display_name', $data) && null !== $data['display_name']) { - $object->setDisplayName($data['display_name']); - } elseif (\array_key_exists('display_name', $data) && null === $data['display_name']) { - $object->setDisplayName(null); + $object->displayName = $data['display_name']; + } elseif (\array_key_exists('display_name', $data)) { + $object->displayName = null; } if (\array_key_exists('display_name_normalized', $data) && null !== $data['display_name_normalized']) { - $object->setDisplayNameNormalized($data['display_name_normalized']); - } elseif (\array_key_exists('display_name_normalized', $data) && null === $data['display_name_normalized']) { - $object->setDisplayNameNormalized(null); + $object->displayNameNormalized = $data['display_name_normalized']; + } elseif (\array_key_exists('display_name_normalized', $data)) { + $object->displayNameNormalized = null; } if (\array_key_exists('first_name', $data) && null !== $data['first_name']) { $value = $data['first_name']; if (\is_string($data['first_name'])) { $value = $data['first_name']; } - $object->setFirstName($value); - } elseif (\array_key_exists('first_name', $data) && null === $data['first_name']) { - $object->setFirstName(null); + $object->firstName = $value; + } elseif (\array_key_exists('first_name', $data)) { + $object->firstName = null; } if (\array_key_exists('image_72', $data) && null !== $data['image_72']) { - $object->setImage72($data['image_72']); - } elseif (\array_key_exists('image_72', $data) && null === $data['image_72']) { - $object->setImage72(null); + $object->image72 = $data['image_72']; + } elseif (\array_key_exists('image_72', $data)) { + $object->image72 = null; } if (\array_key_exists('is_restricted', $data) && null !== $data['is_restricted']) { - $object->setIsRestricted($data['is_restricted']); - } elseif (\array_key_exists('is_restricted', $data) && null === $data['is_restricted']) { - $object->setIsRestricted(null); + $object->isRestricted = $data['is_restricted']; + } elseif (\array_key_exists('is_restricted', $data)) { + $object->isRestricted = null; } if (\array_key_exists('is_ultra_restricted', $data) && null !== $data['is_ultra_restricted']) { - $object->setIsUltraRestricted($data['is_ultra_restricted']); - } elseif (\array_key_exists('is_ultra_restricted', $data) && null === $data['is_ultra_restricted']) { - $object->setIsUltraRestricted(null); + $object->isUltraRestricted = $data['is_ultra_restricted']; + } elseif (\array_key_exists('is_ultra_restricted', $data)) { + $object->isUltraRestricted = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } if (\array_key_exists('real_name', $data) && null !== $data['real_name']) { - $object->setRealName($data['real_name']); - } elseif (\array_key_exists('real_name', $data) && null === $data['real_name']) { - $object->setRealName(null); + $object->realName = $data['real_name']; + } elseif (\array_key_exists('real_name', $data)) { + $object->realName = null; } if (\array_key_exists('real_name_normalized', $data) && null !== $data['real_name_normalized']) { - $object->setRealNameNormalized($data['real_name_normalized']); - } elseif (\array_key_exists('real_name_normalized', $data) && null === $data['real_name_normalized']) { - $object->setRealNameNormalized(null); + $object->realNameNormalized = $data['real_name_normalized']; + } elseif (\array_key_exists('real_name_normalized', $data)) { + $object->realNameNormalized = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($data['team']); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $data['team']; + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } return $object; @@ -124,25 +124,25 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['avatar_hash'] = $data->getAvatarHash(); - $dataArray['display_name'] = $data->getDisplayName(); - if ($data->isInitialized('displayNameNormalized') && null !== $data->getDisplayNameNormalized()) { - $dataArray['display_name_normalized'] = $data->getDisplayNameNormalized(); + $dataArray['avatar_hash'] = $data->avatarHash; + $dataArray['display_name'] = $data->displayName; + if (\array_key_exists('displayNameNormalized', get_object_vars($data)) && null !== ($data->displayNameNormalized ?? null)) { + $dataArray['display_name_normalized'] = $data->displayNameNormalized; } - $value = $data->getFirstName(); - if (\is_string($data->getFirstName())) { - $value = $data->getFirstName(); + $value = $data->firstName; + if (\is_string($data->firstName)) { + $value = $data->firstName; } $dataArray['first_name'] = $value; - $dataArray['image_72'] = $data->getImage72(); - $dataArray['is_restricted'] = $data->getIsRestricted(); - $dataArray['is_ultra_restricted'] = $data->getIsUltraRestricted(); - $dataArray['name'] = $data->getName(); - $dataArray['real_name'] = $data->getRealName(); - if ($data->isInitialized('realNameNormalized') && null !== $data->getRealNameNormalized()) { - $dataArray['real_name_normalized'] = $data->getRealNameNormalized(); - } - $dataArray['team'] = $data->getTeam(); + $dataArray['image_72'] = $data->image72; + $dataArray['is_restricted'] = $data->isRestricted; + $dataArray['is_ultra_restricted'] = $data->isUltraRestricted; + $dataArray['name'] = $data->name; + $dataArray['real_name'] = $data->realName; + if (\array_key_exists('realNameNormalized', get_object_vars($data)) && null !== ($data->realNameNormalized ?? null)) { + $dataArray['real_name_normalized'] = $data->realNameNormalized; + } + $dataArray['team'] = $data->team; return $dataArray; } diff --git a/generated/Normalizer/ObjsUserTeamProfileNormalizer.php b/generated/Normalizer/ObjsUserTeamProfileNormalizer.php index 9c742fd5..8906afae 100644 --- a/generated/Normalizer/ObjsUserTeamProfileNormalizer.php +++ b/generated/Normalizer/ObjsUserTeamProfileNormalizer.php @@ -57,9 +57,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['fields'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsTeamProfileField::class, 'json', $context); } - $object->setFields($values); - } elseif (\array_key_exists('fields', $data) && null === $data['fields']) { - $object->setFields(null); + $object->fields = $values; + } elseif (\array_key_exists('fields', $data)) { + $object->fields = null; } return $object; @@ -69,8 +69,9 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getFields() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->fields as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['fields'] = $values; diff --git a/generated/Normalizer/PinsAddPostResponse200Normalizer.php b/generated/Normalizer/PinsAddPostResponse200Normalizer.php index 676b8674..9d935863 100644 --- a/generated/Normalizer/PinsAddPostResponse200Normalizer.php +++ b/generated/Normalizer/PinsAddPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/PinsAddPostResponsedefaultNormalizer.php b/generated/Normalizer/PinsAddPostResponsedefaultNormalizer.php index 7c8209b0..e39d9567 100644 --- a/generated/Normalizer/PinsAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/PinsAddPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/PinsListGetResponse200Item0ItemsItem0Normalizer.php b/generated/Normalizer/PinsListGetResponse200Item0ItemsItem0Normalizer.php index d44ba99f..41a05913 100644 --- a/generated/Normalizer/PinsListGetResponse200Item0ItemsItem0Normalizer.php +++ b/generated/Normalizer/PinsListGetResponse200Item0ItemsItem0Normalizer.php @@ -53,24 +53,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('created_by', $data) && null !== $data['created_by']) { - $object->setCreatedBy($data['created_by']); - } elseif (\array_key_exists('created_by', $data) && null === $data['created_by']) { - $object->setCreatedBy(null); + $object->createdBy = $data['created_by']; + } elseif (\array_key_exists('created_by', $data)) { + $object->createdBy = null; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -79,17 +79,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('created') && null !== $data->getCreated()) { - $dataArray['created'] = $data->getCreated(); + if (\array_key_exists('created', get_object_vars($data)) && null !== ($data->created ?? null)) { + $dataArray['created'] = $data->created; } - if ($data->isInitialized('createdBy') && null !== $data->getCreatedBy()) { - $dataArray['created_by'] = $data->getCreatedBy(); + if (\array_key_exists('createdBy', get_object_vars($data)) && null !== ($data->createdBy ?? null)) { + $dataArray['created_by'] = $data->createdBy; } - if ($data->isInitialized('file') && null !== $data->getFile()) { - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); + if (\array_key_exists('file', get_object_vars($data)) && null !== ($data->file ?? null)) { + $normalized = $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('type') && null !== $data->getType()) { - $dataArray['type'] = $data->getType(); + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { + $dataArray['type'] = $data->type; } return $dataArray; diff --git a/generated/Normalizer/PinsListGetResponse200Item0ItemsItem1Normalizer.php b/generated/Normalizer/PinsListGetResponse200Item0ItemsItem1Normalizer.php index 9974ad3b..ea3dcad1 100644 --- a/generated/Normalizer/PinsListGetResponse200Item0ItemsItem1Normalizer.php +++ b/generated/Normalizer/PinsListGetResponse200Item0ItemsItem1Normalizer.php @@ -53,29 +53,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('created', $data) && null !== $data['created']) { - $object->setCreated($data['created']); - } elseif (\array_key_exists('created', $data) && null === $data['created']) { - $object->setCreated(null); + $object->created = $data['created']; + } elseif (\array_key_exists('created', $data)) { + $object->created = null; } if (\array_key_exists('created_by', $data) && null !== $data['created_by']) { - $object->setCreatedBy($data['created_by']); - } elseif (\array_key_exists('created_by', $data) && null === $data['created_by']) { - $object->setCreatedBy(null); + $object->createdBy = $data['created_by']; + } elseif (\array_key_exists('created_by', $data)) { + $object->createdBy = null; } if (\array_key_exists('message', $data) && null !== $data['message']) { - $object->setMessage($this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context)); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { - $object->setMessage(null); + $object->message = $this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context); + } elseif (\array_key_exists('message', $data)) { + $object->message = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -84,20 +84,21 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('channel') && null !== $data->getChannel()) { - $dataArray['channel'] = $data->getChannel(); + if (\array_key_exists('channel', get_object_vars($data)) && null !== ($data->channel ?? null)) { + $dataArray['channel'] = $data->channel; } - if ($data->isInitialized('created') && null !== $data->getCreated()) { - $dataArray['created'] = $data->getCreated(); + if (\array_key_exists('created', get_object_vars($data)) && null !== ($data->created ?? null)) { + $dataArray['created'] = $data->created; } - if ($data->isInitialized('createdBy') && null !== $data->getCreatedBy()) { - $dataArray['created_by'] = $data->getCreatedBy(); + if (\array_key_exists('createdBy', get_object_vars($data)) && null !== ($data->createdBy ?? null)) { + $dataArray['created_by'] = $data->createdBy; } - if ($data->isInitialized('message') && null !== $data->getMessage()) { - $dataArray['message'] = null === $data->getMessage() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMessage(), 'json', $context)); + if (\array_key_exists('message', get_object_vars($data)) && null !== ($data->message ?? null)) { + $normalized = $this->normalizer->normalize($data->message, 'json', $context); + $dataArray['message'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('type') && null !== $data->getType()) { - $dataArray['type'] = $data->getType(); + if (\array_key_exists('type', get_object_vars($data)) && null !== ($data->type ?? null)) { + $dataArray['type'] = $data->type; } return $dataArray; diff --git a/generated/Normalizer/PinsListGetResponse200Item0Normalizer.php b/generated/Normalizer/PinsListGetResponse200Item0Normalizer.php index a1176299..688a6ca7 100644 --- a/generated/Normalizer/PinsListGetResponse200Item0Normalizer.php +++ b/generated/Normalizer/PinsListGetResponse200Item0Normalizer.php @@ -70,14 +70,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a } $value = $values_1; } - $object->setItems($value); - } elseif (\array_key_exists('items', $data) && null === $data['items']) { - $object->setItems(null); + $object->items = $value; + } elseif (\array_key_exists('items', $data)) { + $object->items = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -86,22 +86,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $value = $data->getItems(); - if (\is_array($data->getItems())) { + $value = $data->items; + if (\is_array($data->items)) { $values = []; - foreach ($data->getItems() as $value_1) { - $values[] = null === $value_1 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_1, 'json', $context)); + foreach ($data->items as $value_1) { + $normalized = null === $value_1 ? null : $this->normalizer->normalize($value_1, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $value = $values; - } elseif (\is_array($data->getItems())) { + } elseif (\is_array($data->items)) { $values_1 = []; - foreach ($data->getItems() as $value_2) { - $values_1[] = null === $value_2 ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value_2, 'json', $context)); + foreach ($data->items as $value_2) { + $normalized_1 = null === $value_2 ? null : $this->normalizer->normalize($value_2, 'json', $context); + $values_1[] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } $value = $values_1; } $dataArray['items'] = $value; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/PinsListGetResponse200Item1Normalizer.php b/generated/Normalizer/PinsListGetResponse200Item1Normalizer.php index 45b65f99..db6ebabf 100644 --- a/generated/Normalizer/PinsListGetResponse200Item1Normalizer.php +++ b/generated/Normalizer/PinsListGetResponse200Item1Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('count', $data) && null !== $data['count']) { - $object->setCount($data['count']); - } elseif (\array_key_exists('count', $data) && null === $data['count']) { - $object->setCount(null); + $object->count = $data['count']; + } elseif (\array_key_exists('count', $data)) { + $object->count = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -72,8 +72,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['count'] = $data->getCount(); - $dataArray['ok'] = $data->getOk(); + $dataArray['count'] = $data->count; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/PinsListGetResponsedefaultNormalizer.php b/generated/Normalizer/PinsListGetResponsedefaultNormalizer.php index 9a7fb832..9f5aaaf1 100644 --- a/generated/Normalizer/PinsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/PinsListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/PinsRemovePostResponse200Normalizer.php b/generated/Normalizer/PinsRemovePostResponse200Normalizer.php index 7a2304fc..1c48b314 100644 --- a/generated/Normalizer/PinsRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/PinsRemovePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/PinsRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/PinsRemovePostResponsedefaultNormalizer.php index 3cd6d94c..317059d6 100644 --- a/generated/Normalizer/PinsRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/PinsRemovePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ReactionsAddPostResponse200Normalizer.php b/generated/Normalizer/ReactionsAddPostResponse200Normalizer.php index a4305aa9..3f656633 100644 --- a/generated/Normalizer/ReactionsAddPostResponse200Normalizer.php +++ b/generated/Normalizer/ReactionsAddPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ReactionsAddPostResponsedefaultNormalizer.php b/generated/Normalizer/ReactionsAddPostResponsedefaultNormalizer.php index 5220c007..47740c12 100644 --- a/generated/Normalizer/ReactionsAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ReactionsAddPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ReactionsGetGetResponsedefaultNormalizer.php b/generated/Normalizer/ReactionsGetGetResponsedefaultNormalizer.php index e1b29a87..6933c5fc 100644 --- a/generated/Normalizer/ReactionsGetGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ReactionsGetGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem0Normalizer.php b/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem0Normalizer.php index c06859fe..ee58895a 100644 --- a/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem0Normalizer.php +++ b/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem0Normalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('message', $data) && null !== $data['message']) { - $object->setMessage($this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context)); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { - $object->setMessage(null); + $object->message = $this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context); + } elseif (\array_key_exists('message', $data)) { + $object->message = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,9 +74,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['message'] = null === $data->getMessage() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMessage(), 'json', $context)); - $dataArray['type'] = $data->getType(); + $dataArray['channel'] = $data->channel; + $normalized = null === $data->message ? null : $this->normalizer->normalize($data->message, 'json', $context); + $dataArray['message'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem1Normalizer.php b/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem1Normalizer.php index ead2ec2e..fd3e3d52 100644 --- a/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem1Normalizer.php +++ b/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem1Normalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -69,8 +69,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['type'] = $data->getType(); + $normalized = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem2Normalizer.php b/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem2Normalizer.php index b94ec207..c96c764e 100644 --- a/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem2Normalizer.php +++ b/generated/Normalizer/ReactionsListGetResponse200ItemsItemItem2Normalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('comment', $data) && null !== $data['comment']) { - $object->setComment($this->denormalizer->denormalize($data['comment'], \JoliCode\Slack\Api\Model\ObjsComment::class, 'json', $context)); - } elseif (\array_key_exists('comment', $data) && null === $data['comment']) { - $object->setComment(null); + $object->comment = $this->denormalizer->denormalize($data['comment'], \JoliCode\Slack\Api\Model\ObjsComment::class, 'json', $context); + } elseif (\array_key_exists('comment', $data)) { + $object->comment = null; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,9 +74,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['comment'] = null === $data->getComment() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getComment(), 'json', $context)); - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['type'] = $data->getType(); + $normalized = null === $data->comment ? null : $this->normalizer->normalize($data->comment, 'json', $context); + $dataArray['comment'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/ReactionsListGetResponse200Normalizer.php b/generated/Normalizer/ReactionsListGetResponse200Normalizer.php index 9072abad..233bd8bc 100644 --- a/generated/Normalizer/ReactionsListGetResponse200Normalizer.php +++ b/generated/Normalizer/ReactionsListGetResponse200Normalizer.php @@ -60,24 +60,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['items'] as $value) { $values[] = $value; } - $object->setItems($values); - } elseif (\array_key_exists('items', $data) && null === $data['items']) { - $object->setItems(null); + $object->items = $values; + } elseif (\array_key_exists('items', $data)) { + $object->items = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('paging', $data) && null !== $data['paging']) { - $object->setPaging($this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context)); - } elseif (\array_key_exists('paging', $data) && null === $data['paging']) { - $object->setPaging(null); + $object->paging = $this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context); + } elseif (\array_key_exists('paging', $data)) { + $object->paging = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ObjsResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ObjsResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -87,16 +87,18 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getItems() as $value) { + foreach ($data->items as $value) { $values[] = $value; } $dataArray['items'] = $values; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('paging') && null !== $data->getPaging()) { - $dataArray['paging'] = null === $data->getPaging() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPaging(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('paging', get_object_vars($data)) && null !== ($data->paging ?? null)) { + $normalized = $this->normalizer->normalize($data->paging, 'json', $context); + $dataArray['paging'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } return $dataArray; diff --git a/generated/Normalizer/ReactionsListGetResponsedefaultNormalizer.php b/generated/Normalizer/ReactionsListGetResponsedefaultNormalizer.php index e8d8687c..f6f9b925 100644 --- a/generated/Normalizer/ReactionsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/ReactionsListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ReactionsRemovePostResponse200Normalizer.php b/generated/Normalizer/ReactionsRemovePostResponse200Normalizer.php index a5ff8a17..70c88ad7 100644 --- a/generated/Normalizer/ReactionsRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/ReactionsRemovePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ReactionsRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/ReactionsRemovePostResponsedefaultNormalizer.php index 07bfb671..3eb6a99e 100644 --- a/generated/Normalizer/ReactionsRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ReactionsRemovePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersAddPostResponse200Normalizer.php b/generated/Normalizer/RemindersAddPostResponse200Normalizer.php index 2f0cd773..e80fcb2b 100644 --- a/generated/Normalizer/RemindersAddPostResponse200Normalizer.php +++ b/generated/Normalizer/RemindersAddPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('reminder', $data) && null !== $data['reminder']) { - $object->setReminder($this->denormalizer->denormalize($data['reminder'], \JoliCode\Slack\Api\Model\ObjsReminder::class, 'json', $context)); - } elseif (\array_key_exists('reminder', $data) && null === $data['reminder']) { - $object->setReminder(null); + $object->reminder = $this->denormalizer->denormalize($data['reminder'], \JoliCode\Slack\Api\Model\ObjsReminder::class, 'json', $context); + } elseif (\array_key_exists('reminder', $data)) { + $object->reminder = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['reminder'] = null === $data->getReminder() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getReminder(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->reminder ? null : $this->normalizer->normalize($data->reminder, 'json', $context); + $dataArray['reminder'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/RemindersAddPostResponsedefaultNormalizer.php b/generated/Normalizer/RemindersAddPostResponsedefaultNormalizer.php index 8496cd67..93170358 100644 --- a/generated/Normalizer/RemindersAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/RemindersAddPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersCompletePostResponse200Normalizer.php b/generated/Normalizer/RemindersCompletePostResponse200Normalizer.php index 8364fbc7..81973ce5 100644 --- a/generated/Normalizer/RemindersCompletePostResponse200Normalizer.php +++ b/generated/Normalizer/RemindersCompletePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersCompletePostResponsedefaultNormalizer.php b/generated/Normalizer/RemindersCompletePostResponsedefaultNormalizer.php index 0eb3d398..fc9217b2 100644 --- a/generated/Normalizer/RemindersCompletePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/RemindersCompletePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersDeletePostResponse200Normalizer.php b/generated/Normalizer/RemindersDeletePostResponse200Normalizer.php index 1d4e9d45..32f5853d 100644 --- a/generated/Normalizer/RemindersDeletePostResponse200Normalizer.php +++ b/generated/Normalizer/RemindersDeletePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersDeletePostResponsedefaultNormalizer.php b/generated/Normalizer/RemindersDeletePostResponsedefaultNormalizer.php index 0d08ede7..70049c6e 100644 --- a/generated/Normalizer/RemindersDeletePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/RemindersDeletePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersInfoGetResponse200Normalizer.php b/generated/Normalizer/RemindersInfoGetResponse200Normalizer.php index b360f9ed..df15d676 100644 --- a/generated/Normalizer/RemindersInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/RemindersInfoGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('reminder', $data) && null !== $data['reminder']) { - $object->setReminder($this->denormalizer->denormalize($data['reminder'], \JoliCode\Slack\Api\Model\ObjsReminder::class, 'json', $context)); - } elseif (\array_key_exists('reminder', $data) && null === $data['reminder']) { - $object->setReminder(null); + $object->reminder = $this->denormalizer->denormalize($data['reminder'], \JoliCode\Slack\Api\Model\ObjsReminder::class, 'json', $context); + } elseif (\array_key_exists('reminder', $data)) { + $object->reminder = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['reminder'] = null === $data->getReminder() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getReminder(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->reminder ? null : $this->normalizer->normalize($data->reminder, 'json', $context); + $dataArray['reminder'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/RemindersInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/RemindersInfoGetResponsedefaultNormalizer.php index aa102635..11819505 100644 --- a/generated/Normalizer/RemindersInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/RemindersInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RemindersListGetResponse200Normalizer.php b/generated/Normalizer/RemindersListGetResponse200Normalizer.php index 7ab28e7d..272acd8c 100644 --- a/generated/Normalizer/RemindersListGetResponse200Normalizer.php +++ b/generated/Normalizer/RemindersListGetResponse200Normalizer.php @@ -56,18 +56,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('reminders', $data) && null !== $data['reminders']) { $values = []; foreach ($data['reminders'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsReminder::class, 'json', $context); } - $object->setReminders($values); - } elseif (\array_key_exists('reminders', $data) && null === $data['reminders']) { - $object->setReminders(null); + $object->reminders = $values; + } elseif (\array_key_exists('reminders', $data)) { + $object->reminders = null; } return $object; @@ -76,10 +76,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; $values = []; - foreach ($data->getReminders() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->reminders as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['reminders'] = $values; diff --git a/generated/Normalizer/RemindersListGetResponsedefaultNormalizer.php b/generated/Normalizer/RemindersListGetResponsedefaultNormalizer.php index 0a8e41d7..a1472717 100644 --- a/generated/Normalizer/RemindersListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/RemindersListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/RtmConnectGetResponse200Normalizer.php b/generated/Normalizer/RtmConnectGetResponse200Normalizer.php index f56158d6..87e6ca25 100644 --- a/generated/Normalizer/RtmConnectGetResponse200Normalizer.php +++ b/generated/Normalizer/RtmConnectGetResponse200Normalizer.php @@ -56,24 +56,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('self', $data) && null !== $data['self']) { - $object->setSelf($this->denormalizer->denormalize($data['self'], \JoliCode\Slack\Api\Model\RtmConnectGetResponse200Self::class, 'json', $context)); - } elseif (\array_key_exists('self', $data) && null === $data['self']) { - $object->setSelf(null); + $object->self = $this->denormalizer->denormalize($data['self'], \JoliCode\Slack\Api\Model\RtmConnectGetResponse200Self::class, 'json', $context); + } elseif (\array_key_exists('self', $data)) { + $object->self = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\RtmConnectGetResponse200Team::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\RtmConnectGetResponse200Team::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('url', $data) && null !== $data['url']) { - $object->setUrl($data['url']); - } elseif (\array_key_exists('url', $data) && null === $data['url']) { - $object->setUrl(null); + $object->url = $data['url']; + } elseif (\array_key_exists('url', $data)) { + $object->url = null; } return $object; @@ -82,10 +82,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['self'] = null === $data->getSelf() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getSelf(), 'json', $context)); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); - $dataArray['url'] = $data->getUrl(); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->self ? null : $this->normalizer->normalize($data->self, 'json', $context); + $dataArray['self'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + $dataArray['url'] = $data->url; return $dataArray; } diff --git a/generated/Normalizer/RtmConnectGetResponse200SelfNormalizer.php b/generated/Normalizer/RtmConnectGetResponse200SelfNormalizer.php index ea0cb5be..e821b439 100644 --- a/generated/Normalizer/RtmConnectGetResponse200SelfNormalizer.php +++ b/generated/Normalizer/RtmConnectGetResponse200SelfNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/RtmConnectGetResponse200TeamNormalizer.php b/generated/Normalizer/RtmConnectGetResponse200TeamNormalizer.php index e5358672..e155b6ea 100644 --- a/generated/Normalizer/RtmConnectGetResponse200TeamNormalizer.php +++ b/generated/Normalizer/RtmConnectGetResponse200TeamNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('domain', $data) && null !== $data['domain']) { - $object->setDomain($data['domain']); - } elseif (\array_key_exists('domain', $data) && null === $data['domain']) { - $object->setDomain(null); + $object->domain = $data['domain']; + } elseif (\array_key_exists('domain', $data)) { + $object->domain = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['domain'] = $data->getDomain(); - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); + $dataArray['domain'] = $data->domain; + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/RtmConnectGetResponsedefaultNormalizer.php b/generated/Normalizer/RtmConnectGetResponsedefaultNormalizer.php index 4e5b4897..e245b655 100644 --- a/generated/Normalizer/RtmConnectGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/RtmConnectGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/SearchMessagesGetResponse200Normalizer.php b/generated/Normalizer/SearchMessagesGetResponse200Normalizer.php index 18b746e5..eeea0439 100644 --- a/generated/Normalizer/SearchMessagesGetResponse200Normalizer.php +++ b/generated/Normalizer/SearchMessagesGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/SearchMessagesGetResponsedefaultNormalizer.php b/generated/Normalizer/SearchMessagesGetResponsedefaultNormalizer.php index 5dbc1baa..34aebe20 100644 --- a/generated/Normalizer/SearchMessagesGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/SearchMessagesGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/StarsAddPostResponse200Normalizer.php b/generated/Normalizer/StarsAddPostResponse200Normalizer.php index de3ec966..499aaec3 100644 --- a/generated/Normalizer/StarsAddPostResponse200Normalizer.php +++ b/generated/Normalizer/StarsAddPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/StarsAddPostResponsedefaultNormalizer.php b/generated/Normalizer/StarsAddPostResponsedefaultNormalizer.php index 1426c7c3..c72d76f5 100644 --- a/generated/Normalizer/StarsAddPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/StarsAddPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200ItemsItemItem0Normalizer.php b/generated/Normalizer/StarsListGetResponse200ItemsItemItem0Normalizer.php index 0ccb18c5..d7a53d3c 100644 --- a/generated/Normalizer/StarsListGetResponse200ItemsItemItem0Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200ItemsItemItem0Normalizer.php @@ -53,24 +53,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('message', $data) && null !== $data['message']) { - $object->setMessage($this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context)); - } elseif (\array_key_exists('message', $data) && null === $data['message']) { - $object->setMessage(null); + $object->message = $this->denormalizer->denormalize($data['message'], \JoliCode\Slack\Api\Model\ObjsMessage::class, 'json', $context); + } elseif (\array_key_exists('message', $data)) { + $object->message = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -79,10 +79,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['message'] = null === $data->getMessage() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getMessage(), 'json', $context)); - $dataArray['type'] = $data->getType(); + $dataArray['channel'] = $data->channel; + $dataArray['date_create'] = $data->dateCreate; + $normalized = null === $data->message ? null : $this->normalizer->normalize($data->message, 'json', $context); + $dataArray['message'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200ItemsItemItem1Normalizer.php b/generated/Normalizer/StarsListGetResponse200ItemsItemItem1Normalizer.php index e54d7e16..6d3656ac 100644 --- a/generated/Normalizer/StarsListGetResponse200ItemsItemItem1Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200ItemsItemItem1Normalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,9 +74,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['type'] = $data->getType(); + $dataArray['date_create'] = $data->dateCreate; + $normalized = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200ItemsItemItem2Normalizer.php b/generated/Normalizer/StarsListGetResponse200ItemsItemItem2Normalizer.php index 4e823dc1..abc350b5 100644 --- a/generated/Normalizer/StarsListGetResponse200ItemsItemItem2Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200ItemsItemItem2Normalizer.php @@ -53,24 +53,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('comment', $data) && null !== $data['comment']) { - $object->setComment($this->denormalizer->denormalize($data['comment'], \JoliCode\Slack\Api\Model\ObjsComment::class, 'json', $context)); - } elseif (\array_key_exists('comment', $data) && null === $data['comment']) { - $object->setComment(null); + $object->comment = $this->denormalizer->denormalize($data['comment'], \JoliCode\Slack\Api\Model\ObjsComment::class, 'json', $context); + } elseif (\array_key_exists('comment', $data)) { + $object->comment = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('file', $data) && null !== $data['file']) { - $object->setFile($this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context)); - } elseif (\array_key_exists('file', $data) && null === $data['file']) { - $object->setFile(null); + $object->file = $this->denormalizer->denormalize($data['file'], \JoliCode\Slack\Api\Model\ObjsFile::class, 'json', $context); + } elseif (\array_key_exists('file', $data)) { + $object->file = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -79,10 +79,12 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['comment'] = null === $data->getComment() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getComment(), 'json', $context)); - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['file'] = null === $data->getFile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getFile(), 'json', $context)); - $dataArray['type'] = $data->getType(); + $normalized = null === $data->comment ? null : $this->normalizer->normalize($data->comment, 'json', $context); + $dataArray['comment'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['date_create'] = $data->dateCreate; + $normalized_1 = null === $data->file ? null : $this->normalizer->normalize($data->file, 'json', $context); + $dataArray['file'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200ItemsItemItem3Normalizer.php b/generated/Normalizer/StarsListGetResponse200ItemsItemItem3Normalizer.php index 226e8ef4..afc1961c 100644 --- a/generated/Normalizer/StarsListGetResponse200ItemsItemItem3Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200ItemsItemItem3Normalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['type'] = $data->getType(); + $dataArray['channel'] = $data->channel; + $dataArray['date_create'] = $data->dateCreate; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200ItemsItemItem4Normalizer.php b/generated/Normalizer/StarsListGetResponse200ItemsItemItem4Normalizer.php index 82c4ecc8..9704d0ff 100644 --- a/generated/Normalizer/StarsListGetResponse200ItemsItemItem4Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200ItemsItemItem4Normalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['type'] = $data->getType(); + $dataArray['channel'] = $data->channel; + $dataArray['date_create'] = $data->dateCreate; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200ItemsItemItem5Normalizer.php b/generated/Normalizer/StarsListGetResponse200ItemsItemItem5Normalizer.php index b7232d49..216709de 100644 --- a/generated/Normalizer/StarsListGetResponse200ItemsItemItem5Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200ItemsItemItem5Normalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('date_create', $data) && null !== $data['date_create']) { - $object->setDateCreate($data['date_create']); - } elseif (\array_key_exists('date_create', $data) && null === $data['date_create']) { - $object->setDateCreate(null); + $object->dateCreate = $data['date_create']; + } elseif (\array_key_exists('date_create', $data)) { + $object->dateCreate = null; } if (\array_key_exists('type', $data) && null !== $data['type']) { - $object->setType($data['type']); - } elseif (\array_key_exists('type', $data) && null === $data['type']) { - $object->setType(null); + $object->type = $data['type']; + } elseif (\array_key_exists('type', $data)) { + $object->type = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['channel'] = $data->getChannel(); - $dataArray['date_create'] = $data->getDateCreate(); - $dataArray['type'] = $data->getType(); + $dataArray['channel'] = $data->channel; + $dataArray['date_create'] = $data->dateCreate; + $dataArray['type'] = $data->type; return $dataArray; } diff --git a/generated/Normalizer/StarsListGetResponse200Normalizer.php b/generated/Normalizer/StarsListGetResponse200Normalizer.php index 6419f415..9042af98 100644 --- a/generated/Normalizer/StarsListGetResponse200Normalizer.php +++ b/generated/Normalizer/StarsListGetResponse200Normalizer.php @@ -60,19 +60,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['items'] as $value) { $values[] = $value; } - $object->setItems($values); - } elseif (\array_key_exists('items', $data) && null === $data['items']) { - $object->setItems(null); + $object->items = $values; + } elseif (\array_key_exists('items', $data)) { + $object->items = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('paging', $data) && null !== $data['paging']) { - $object->setPaging($this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context)); - } elseif (\array_key_exists('paging', $data) && null === $data['paging']) { - $object->setPaging(null); + $object->paging = $this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context); + } elseif (\array_key_exists('paging', $data)) { + $object->paging = null; } return $object; @@ -82,13 +82,14 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getItems() as $value) { + foreach ($data->items as $value) { $values[] = $value; } $dataArray['items'] = $values; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('paging') && null !== $data->getPaging()) { - $dataArray['paging'] = null === $data->getPaging() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPaging(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('paging', get_object_vars($data)) && null !== ($data->paging ?? null)) { + $normalized = $this->normalizer->normalize($data->paging, 'json', $context); + $dataArray['paging'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } return $dataArray; diff --git a/generated/Normalizer/StarsListGetResponsedefaultNormalizer.php b/generated/Normalizer/StarsListGetResponsedefaultNormalizer.php index 694ceb8e..8de57ade 100644 --- a/generated/Normalizer/StarsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/StarsListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/StarsRemovePostResponse200Normalizer.php b/generated/Normalizer/StarsRemovePostResponse200Normalizer.php index 259f5dad..9aeadc85 100644 --- a/generated/Normalizer/StarsRemovePostResponse200Normalizer.php +++ b/generated/Normalizer/StarsRemovePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/StarsRemovePostResponsedefaultNormalizer.php b/generated/Normalizer/StarsRemovePostResponsedefaultNormalizer.php index fdf6e4a4..d74409d9 100644 --- a/generated/Normalizer/StarsRemovePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/StarsRemovePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/TeamAccessLogsGetResponse200LoginsItemNormalizer.php b/generated/Normalizer/TeamAccessLogsGetResponse200LoginsItemNormalizer.php index 93b0719c..3bc3cc99 100644 --- a/generated/Normalizer/TeamAccessLogsGetResponse200LoginsItemNormalizer.php +++ b/generated/Normalizer/TeamAccessLogsGetResponse200LoginsItemNormalizer.php @@ -53,70 +53,70 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('count', $data) && null !== $data['count']) { - $object->setCount($data['count']); - } elseif (\array_key_exists('count', $data) && null === $data['count']) { - $object->setCount(null); + $object->count = $data['count']; + } elseif (\array_key_exists('count', $data)) { + $object->count = null; } if (\array_key_exists('country', $data) && null !== $data['country']) { $value = $data['country']; if (\is_string($data['country'])) { $value = $data['country']; } - $object->setCountry($value); - } elseif (\array_key_exists('country', $data) && null === $data['country']) { - $object->setCountry(null); + $object->country = $value; + } elseif (\array_key_exists('country', $data)) { + $object->country = null; } if (\array_key_exists('date_first', $data) && null !== $data['date_first']) { - $object->setDateFirst($data['date_first']); - } elseif (\array_key_exists('date_first', $data) && null === $data['date_first']) { - $object->setDateFirst(null); + $object->dateFirst = $data['date_first']; + } elseif (\array_key_exists('date_first', $data)) { + $object->dateFirst = null; } if (\array_key_exists('date_last', $data) && null !== $data['date_last']) { - $object->setDateLast($data['date_last']); - } elseif (\array_key_exists('date_last', $data) && null === $data['date_last']) { - $object->setDateLast(null); + $object->dateLast = $data['date_last']; + } elseif (\array_key_exists('date_last', $data)) { + $object->dateLast = null; } if (\array_key_exists('ip', $data) && null !== $data['ip']) { $value_1 = $data['ip']; if (\is_string($data['ip'])) { $value_1 = $data['ip']; } - $object->setIp($value_1); - } elseif (\array_key_exists('ip', $data) && null === $data['ip']) { - $object->setIp(null); + $object->ip = $value_1; + } elseif (\array_key_exists('ip', $data)) { + $object->ip = null; } if (\array_key_exists('isp', $data) && null !== $data['isp']) { $value_2 = $data['isp']; if (\is_string($data['isp'])) { $value_2 = $data['isp']; } - $object->setIsp($value_2); - } elseif (\array_key_exists('isp', $data) && null === $data['isp']) { - $object->setIsp(null); + $object->isp = $value_2; + } elseif (\array_key_exists('isp', $data)) { + $object->isp = null; } if (\array_key_exists('region', $data) && null !== $data['region']) { $value_3 = $data['region']; if (\is_string($data['region'])) { $value_3 = $data['region']; } - $object->setRegion($value_3); - } elseif (\array_key_exists('region', $data) && null === $data['region']) { - $object->setRegion(null); + $object->region = $value_3; + } elseif (\array_key_exists('region', $data)) { + $object->region = null; } if (\array_key_exists('user_agent', $data) && null !== $data['user_agent']) { - $object->setUserAgent($data['user_agent']); - } elseif (\array_key_exists('user_agent', $data) && null === $data['user_agent']) { - $object->setUserAgent(null); + $object->userAgent = $data['user_agent']; + } elseif (\array_key_exists('user_agent', $data)) { + $object->userAgent = null; } if (\array_key_exists('user_id', $data) && null !== $data['user_id']) { - $object->setUserId($data['user_id']); - } elseif (\array_key_exists('user_id', $data) && null === $data['user_id']) { - $object->setUserId(null); + $object->userId = $data['user_id']; + } elseif (\array_key_exists('user_id', $data)) { + $object->userId = null; } if (\array_key_exists('username', $data) && null !== $data['username']) { - $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { - $object->setUsername(null); + $object->username = $data['username']; + } elseif (\array_key_exists('username', $data)) { + $object->username = null; } return $object; @@ -125,32 +125,32 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['count'] = $data->getCount(); - $value = $data->getCountry(); - if (\is_string($data->getCountry())) { - $value = $data->getCountry(); + $dataArray['count'] = $data->count; + $value = $data->country; + if (\is_string($data->country)) { + $value = $data->country; } $dataArray['country'] = $value; - $dataArray['date_first'] = $data->getDateFirst(); - $dataArray['date_last'] = $data->getDateLast(); - $value_1 = $data->getIp(); - if (\is_string($data->getIp())) { - $value_1 = $data->getIp(); + $dataArray['date_first'] = $data->dateFirst; + $dataArray['date_last'] = $data->dateLast; + $value_1 = $data->ip; + if (\is_string($data->ip)) { + $value_1 = $data->ip; } $dataArray['ip'] = $value_1; - $value_2 = $data->getIsp(); - if (\is_string($data->getIsp())) { - $value_2 = $data->getIsp(); + $value_2 = $data->isp; + if (\is_string($data->isp)) { + $value_2 = $data->isp; } $dataArray['isp'] = $value_2; - $value_3 = $data->getRegion(); - if (\is_string($data->getRegion())) { - $value_3 = $data->getRegion(); + $value_3 = $data->region; + if (\is_string($data->region)) { + $value_3 = $data->region; } $dataArray['region'] = $value_3; - $dataArray['user_agent'] = $data->getUserAgent(); - $dataArray['user_id'] = $data->getUserId(); - $dataArray['username'] = $data->getUsername(); + $dataArray['user_agent'] = $data->userAgent; + $dataArray['user_id'] = $data->userId; + $dataArray['username'] = $data->username; return $dataArray; } diff --git a/generated/Normalizer/TeamAccessLogsGetResponse200Normalizer.php b/generated/Normalizer/TeamAccessLogsGetResponse200Normalizer.php index 5500badf..707cc470 100644 --- a/generated/Normalizer/TeamAccessLogsGetResponse200Normalizer.php +++ b/generated/Normalizer/TeamAccessLogsGetResponse200Normalizer.php @@ -60,19 +60,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['logins'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\TeamAccessLogsGetResponse200LoginsItem::class, 'json', $context); } - $object->setLogins($values); - } elseif (\array_key_exists('logins', $data) && null === $data['logins']) { - $object->setLogins(null); + $object->logins = $values; + } elseif (\array_key_exists('logins', $data)) { + $object->logins = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('paging', $data) && null !== $data['paging']) { - $object->setPaging($this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context)); - } elseif (\array_key_exists('paging', $data) && null === $data['paging']) { - $object->setPaging(null); + $object->paging = $this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context); + } elseif (\array_key_exists('paging', $data)) { + $object->paging = null; } return $object; @@ -82,12 +82,14 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getLogins() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->logins as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['logins'] = $values; - $dataArray['ok'] = $data->getOk(); - $dataArray['paging'] = null === $data->getPaging() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPaging(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized_1 = null === $data->paging ? null : $this->normalizer->normalize($data->paging, 'json', $context); + $dataArray['paging'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/TeamAccessLogsGetResponsedefaultNormalizer.php b/generated/Normalizer/TeamAccessLogsGetResponsedefaultNormalizer.php index 24778646..a29834c4 100644 --- a/generated/Normalizer/TeamAccessLogsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/TeamAccessLogsGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/TeamBillableInfoGetResponse200Normalizer.php b/generated/Normalizer/TeamBillableInfoGetResponse200Normalizer.php index 791ee0ff..0576d9ad 100644 --- a/generated/Normalizer/TeamBillableInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/TeamBillableInfoGetResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/TeamBillableInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/TeamBillableInfoGetResponsedefaultNormalizer.php index 1f298ec1..e9e58da1 100644 --- a/generated/Normalizer/TeamBillableInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/TeamBillableInfoGetResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/TeamInfoGetResponse200Normalizer.php b/generated/Normalizer/TeamInfoGetResponse200Normalizer.php index 01f42bd1..fff1f522 100644 --- a/generated/Normalizer/TeamInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/TeamInfoGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\ObjsTeam::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\ObjsTeam::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/TeamInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/TeamInfoGetResponsedefaultNormalizer.php index c106d824..47703328 100644 --- a/generated/Normalizer/TeamInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/TeamInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/TeamIntegrationLogsGetResponse200LogsItemNormalizer.php b/generated/Normalizer/TeamIntegrationLogsGetResponse200LogsItemNormalizer.php index f8615e9a..4945c239 100644 --- a/generated/Normalizer/TeamIntegrationLogsGetResponse200LogsItemNormalizer.php +++ b/generated/Normalizer/TeamIntegrationLogsGetResponse200LogsItemNormalizer.php @@ -53,59 +53,59 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('admin_app_id', $data) && null !== $data['admin_app_id']) { - $object->setAdminAppId($data['admin_app_id']); - } elseif (\array_key_exists('admin_app_id', $data) && null === $data['admin_app_id']) { - $object->setAdminAppId(null); + $object->adminAppId = $data['admin_app_id']; + } elseif (\array_key_exists('admin_app_id', $data)) { + $object->adminAppId = null; } if (\array_key_exists('app_id', $data) && null !== $data['app_id']) { - $object->setAppId($data['app_id']); - } elseif (\array_key_exists('app_id', $data) && null === $data['app_id']) { - $object->setAppId(null); + $object->appId = $data['app_id']; + } elseif (\array_key_exists('app_id', $data)) { + $object->appId = null; } if (\array_key_exists('app_type', $data) && null !== $data['app_type']) { - $object->setAppType($data['app_type']); - } elseif (\array_key_exists('app_type', $data) && null === $data['app_type']) { - $object->setAppType(null); + $object->appType = $data['app_type']; + } elseif (\array_key_exists('app_type', $data)) { + $object->appType = null; } if (\array_key_exists('change_type', $data) && null !== $data['change_type']) { - $object->setChangeType($data['change_type']); - } elseif (\array_key_exists('change_type', $data) && null === $data['change_type']) { - $object->setChangeType(null); + $object->changeType = $data['change_type']; + } elseif (\array_key_exists('change_type', $data)) { + $object->changeType = null; } if (\array_key_exists('channel', $data) && null !== $data['channel']) { - $object->setChannel($data['channel']); - } elseif (\array_key_exists('channel', $data) && null === $data['channel']) { - $object->setChannel(null); + $object->channel = $data['channel']; + } elseif (\array_key_exists('channel', $data)) { + $object->channel = null; } if (\array_key_exists('date', $data) && null !== $data['date']) { - $object->setDate($data['date']); - } elseif (\array_key_exists('date', $data) && null === $data['date']) { - $object->setDate(null); + $object->date = $data['date']; + } elseif (\array_key_exists('date', $data)) { + $object->date = null; } if (\array_key_exists('scope', $data) && null !== $data['scope']) { - $object->setScope($data['scope']); - } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { - $object->setScope(null); + $object->scope = $data['scope']; + } elseif (\array_key_exists('scope', $data)) { + $object->scope = null; } if (\array_key_exists('service_id', $data) && null !== $data['service_id']) { - $object->setServiceId($data['service_id']); - } elseif (\array_key_exists('service_id', $data) && null === $data['service_id']) { - $object->setServiceId(null); + $object->serviceId = $data['service_id']; + } elseif (\array_key_exists('service_id', $data)) { + $object->serviceId = null; } if (\array_key_exists('service_type', $data) && null !== $data['service_type']) { - $object->setServiceType($data['service_type']); - } elseif (\array_key_exists('service_type', $data) && null === $data['service_type']) { - $object->setServiceType(null); + $object->serviceType = $data['service_type']; + } elseif (\array_key_exists('service_type', $data)) { + $object->serviceType = null; } if (\array_key_exists('user_id', $data) && null !== $data['user_id']) { - $object->setUserId($data['user_id']); - } elseif (\array_key_exists('user_id', $data) && null === $data['user_id']) { - $object->setUserId(null); + $object->userId = $data['user_id']; + } elseif (\array_key_exists('user_id', $data)) { + $object->userId = null; } if (\array_key_exists('user_name', $data) && null !== $data['user_name']) { - $object->setUserName($data['user_name']); - } elseif (\array_key_exists('user_name', $data) && null === $data['user_name']) { - $object->setUserName(null); + $object->userName = $data['user_name']; + } elseif (\array_key_exists('user_name', $data)) { + $object->userName = null; } return $object; @@ -114,25 +114,25 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('adminAppId') && null !== $data->getAdminAppId()) { - $dataArray['admin_app_id'] = $data->getAdminAppId(); + if (\array_key_exists('adminAppId', get_object_vars($data)) && null !== ($data->adminAppId ?? null)) { + $dataArray['admin_app_id'] = $data->adminAppId; } - $dataArray['app_id'] = $data->getAppId(); - $dataArray['app_type'] = $data->getAppType(); - $dataArray['change_type'] = $data->getChangeType(); - if ($data->isInitialized('channel') && null !== $data->getChannel()) { - $dataArray['channel'] = $data->getChannel(); + $dataArray['app_id'] = $data->appId; + $dataArray['app_type'] = $data->appType; + $dataArray['change_type'] = $data->changeType; + if (\array_key_exists('channel', get_object_vars($data)) && null !== ($data->channel ?? null)) { + $dataArray['channel'] = $data->channel; } - $dataArray['date'] = $data->getDate(); - $dataArray['scope'] = $data->getScope(); - if ($data->isInitialized('serviceId') && null !== $data->getServiceId()) { - $dataArray['service_id'] = $data->getServiceId(); + $dataArray['date'] = $data->date; + $dataArray['scope'] = $data->scope; + if (\array_key_exists('serviceId', get_object_vars($data)) && null !== ($data->serviceId ?? null)) { + $dataArray['service_id'] = $data->serviceId; } - if ($data->isInitialized('serviceType') && null !== $data->getServiceType()) { - $dataArray['service_type'] = $data->getServiceType(); + if (\array_key_exists('serviceType', get_object_vars($data)) && null !== ($data->serviceType ?? null)) { + $dataArray['service_type'] = $data->serviceType; } - $dataArray['user_id'] = $data->getUserId(); - $dataArray['user_name'] = $data->getUserName(); + $dataArray['user_id'] = $data->userId; + $dataArray['user_name'] = $data->userName; return $dataArray; } diff --git a/generated/Normalizer/TeamIntegrationLogsGetResponse200Normalizer.php b/generated/Normalizer/TeamIntegrationLogsGetResponse200Normalizer.php index 1019a337..c1fbe6d0 100644 --- a/generated/Normalizer/TeamIntegrationLogsGetResponse200Normalizer.php +++ b/generated/Normalizer/TeamIntegrationLogsGetResponse200Normalizer.php @@ -60,19 +60,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['logs'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\TeamIntegrationLogsGetResponse200LogsItem::class, 'json', $context); } - $object->setLogs($values); - } elseif (\array_key_exists('logs', $data) && null === $data['logs']) { - $object->setLogs(null); + $object->logs = $values; + } elseif (\array_key_exists('logs', $data)) { + $object->logs = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('paging', $data) && null !== $data['paging']) { - $object->setPaging($this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context)); - } elseif (\array_key_exists('paging', $data) && null === $data['paging']) { - $object->setPaging(null); + $object->paging = $this->denormalizer->denormalize($data['paging'], \JoliCode\Slack\Api\Model\ObjsPaging::class, 'json', $context); + } elseif (\array_key_exists('paging', $data)) { + $object->paging = null; } return $object; @@ -82,12 +82,14 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getLogs() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->logs as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['logs'] = $values; - $dataArray['ok'] = $data->getOk(); - $dataArray['paging'] = null === $data->getPaging() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getPaging(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized_1 = null === $data->paging ? null : $this->normalizer->normalize($data->paging, 'json', $context); + $dataArray['paging'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/TeamIntegrationLogsGetResponsedefaultNormalizer.php b/generated/Normalizer/TeamIntegrationLogsGetResponsedefaultNormalizer.php index 7e381f69..68282680 100644 --- a/generated/Normalizer/TeamIntegrationLogsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/TeamIntegrationLogsGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/TeamProfileGetGetResponse200Normalizer.php b/generated/Normalizer/TeamProfileGetGetResponse200Normalizer.php index b5e9e2d9..ddcb09ac 100644 --- a/generated/Normalizer/TeamProfileGetGetResponse200Normalizer.php +++ b/generated/Normalizer/TeamProfileGetGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('profile', $data) && null !== $data['profile']) { - $object->setProfile($this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\TeamProfileGetGetResponse200Profile::class, 'json', $context)); - } elseif (\array_key_exists('profile', $data) && null === $data['profile']) { - $object->setProfile(null); + $object->profile = $this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\TeamProfileGetGetResponse200Profile::class, 'json', $context); + } elseif (\array_key_exists('profile', $data)) { + $object->profile = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['profile'] = null === $data->getProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getProfile(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->profile ? null : $this->normalizer->normalize($data->profile, 'json', $context); + $dataArray['profile'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/TeamProfileGetGetResponse200ProfileNormalizer.php b/generated/Normalizer/TeamProfileGetGetResponse200ProfileNormalizer.php index 23c84fd6..1d587591 100644 --- a/generated/Normalizer/TeamProfileGetGetResponse200ProfileNormalizer.php +++ b/generated/Normalizer/TeamProfileGetGetResponse200ProfileNormalizer.php @@ -57,9 +57,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['fields'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsTeamProfileField::class, 'json', $context); } - $object->setFields($values); - } elseif (\array_key_exists('fields', $data) && null === $data['fields']) { - $object->setFields(null); + $object->fields = $values; + } elseif (\array_key_exists('fields', $data)) { + $object->fields = null; } return $object; @@ -69,8 +69,9 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getFields() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->fields as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['fields'] = $values; diff --git a/generated/Normalizer/TeamProfileGetGetResponsedefaultNormalizer.php b/generated/Normalizer/TeamProfileGetGetResponsedefaultNormalizer.php index 667a9a0b..fc6b27c6 100644 --- a/generated/Normalizer/TeamProfileGetGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/TeamProfileGetGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsCreatePostResponse200Normalizer.php b/generated/Normalizer/UsergroupsCreatePostResponse200Normalizer.php index b8a34c2e..fce5e581 100644 --- a/generated/Normalizer/UsergroupsCreatePostResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsCreatePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('usergroup', $data) && null !== $data['usergroup']) { - $object->setUsergroup($this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context)); - } elseif (\array_key_exists('usergroup', $data) && null === $data['usergroup']) { - $object->setUsergroup(null); + $object->usergroup = $this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context); + } elseif (\array_key_exists('usergroup', $data)) { + $object->usergroup = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['usergroup'] = null === $data->getUsergroup() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUsergroup(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->usergroup ? null : $this->normalizer->normalize($data->usergroup, 'json', $context); + $dataArray['usergroup'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsCreatePostResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsCreatePostResponsedefaultNormalizer.php index 17b89140..87ab3d92 100644 --- a/generated/Normalizer/UsergroupsCreatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsCreatePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsDisablePostResponse200Normalizer.php b/generated/Normalizer/UsergroupsDisablePostResponse200Normalizer.php index 8e159462..c1149c99 100644 --- a/generated/Normalizer/UsergroupsDisablePostResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsDisablePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('usergroup', $data) && null !== $data['usergroup']) { - $object->setUsergroup($this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context)); - } elseif (\array_key_exists('usergroup', $data) && null === $data['usergroup']) { - $object->setUsergroup(null); + $object->usergroup = $this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context); + } elseif (\array_key_exists('usergroup', $data)) { + $object->usergroup = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['usergroup'] = null === $data->getUsergroup() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUsergroup(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->usergroup ? null : $this->normalizer->normalize($data->usergroup, 'json', $context); + $dataArray['usergroup'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsDisablePostResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsDisablePostResponsedefaultNormalizer.php index e00392af..b63eaa3d 100644 --- a/generated/Normalizer/UsergroupsDisablePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsDisablePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsEnablePostResponse200Normalizer.php b/generated/Normalizer/UsergroupsEnablePostResponse200Normalizer.php index f159c08e..74e5e023 100644 --- a/generated/Normalizer/UsergroupsEnablePostResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsEnablePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('usergroup', $data) && null !== $data['usergroup']) { - $object->setUsergroup($this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context)); - } elseif (\array_key_exists('usergroup', $data) && null === $data['usergroup']) { - $object->setUsergroup(null); + $object->usergroup = $this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context); + } elseif (\array_key_exists('usergroup', $data)) { + $object->usergroup = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['usergroup'] = null === $data->getUsergroup() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUsergroup(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->usergroup ? null : $this->normalizer->normalize($data->usergroup, 'json', $context); + $dataArray['usergroup'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsEnablePostResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsEnablePostResponsedefaultNormalizer.php index 372f9fca..a64d0e06 100644 --- a/generated/Normalizer/UsergroupsEnablePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsEnablePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsListGetResponse200Normalizer.php b/generated/Normalizer/UsergroupsListGetResponse200Normalizer.php index 1ccaf0e5..930aa566 100644 --- a/generated/Normalizer/UsergroupsListGetResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsListGetResponse200Normalizer.php @@ -56,18 +56,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('usergroups', $data) && null !== $data['usergroups']) { $values = []; foreach ($data['usergroups'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context); } - $object->setUsergroups($values); - } elseif (\array_key_exists('usergroups', $data) && null === $data['usergroups']) { - $object->setUsergroups(null); + $object->usergroups = $values; + } elseif (\array_key_exists('usergroups', $data)) { + $object->usergroups = null; } return $object; @@ -76,10 +76,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; $values = []; - foreach ($data->getUsergroups() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->usergroups as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['usergroups'] = $values; diff --git a/generated/Normalizer/UsergroupsListGetResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsListGetResponsedefaultNormalizer.php index b7a7bcdf..0f178ebc 100644 --- a/generated/Normalizer/UsergroupsListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsUpdatePostResponse200Normalizer.php b/generated/Normalizer/UsergroupsUpdatePostResponse200Normalizer.php index a0d78492..47a10fd9 100644 --- a/generated/Normalizer/UsergroupsUpdatePostResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsUpdatePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('usergroup', $data) && null !== $data['usergroup']) { - $object->setUsergroup($this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context)); - } elseif (\array_key_exists('usergroup', $data) && null === $data['usergroup']) { - $object->setUsergroup(null); + $object->usergroup = $this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context); + } elseif (\array_key_exists('usergroup', $data)) { + $object->usergroup = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['usergroup'] = null === $data->getUsergroup() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUsergroup(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->usergroup ? null : $this->normalizer->normalize($data->usergroup, 'json', $context); + $dataArray['usergroup'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsUpdatePostResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsUpdatePostResponsedefaultNormalizer.php index b4ae1579..8d1bd6e4 100644 --- a/generated/Normalizer/UsergroupsUpdatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsUpdatePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsUsersListGetResponse200Normalizer.php b/generated/Normalizer/UsergroupsUsersListGetResponse200Normalizer.php index 97f4ea60..eafbf0c9 100644 --- a/generated/Normalizer/UsergroupsUsersListGetResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsUsersListGetResponse200Normalizer.php @@ -56,18 +56,18 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('users', $data) && null !== $data['users']) { $values = []; foreach ($data['users'] as $value) { $values[] = $value; } - $object->setUsers($values); - } elseif (\array_key_exists('users', $data) && null === $data['users']) { - $object->setUsers(null); + $object->users = $values; + } elseif (\array_key_exists('users', $data)) { + $object->users = null; } return $object; @@ -76,9 +76,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; $values = []; - foreach ($data->getUsers() as $value) { + foreach ($data->users as $value) { $values[] = $value; } $dataArray['users'] = $values; diff --git a/generated/Normalizer/UsergroupsUsersListGetResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsUsersListGetResponsedefaultNormalizer.php index 33228815..ec82afbd 100644 --- a/generated/Normalizer/UsergroupsUsersListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsUsersListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsUsersUpdatePostResponse200Normalizer.php b/generated/Normalizer/UsergroupsUsersUpdatePostResponse200Normalizer.php index e35b5d6d..33541e7c 100644 --- a/generated/Normalizer/UsergroupsUsersUpdatePostResponse200Normalizer.php +++ b/generated/Normalizer/UsergroupsUsersUpdatePostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('usergroup', $data) && null !== $data['usergroup']) { - $object->setUsergroup($this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context)); - } elseif (\array_key_exists('usergroup', $data) && null === $data['usergroup']) { - $object->setUsergroup(null); + $object->usergroup = $this->denormalizer->denormalize($data['usergroup'], \JoliCode\Slack\Api\Model\ObjsSubteam::class, 'json', $context); + } elseif (\array_key_exists('usergroup', $data)) { + $object->usergroup = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['usergroup'] = null === $data->getUsergroup() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUsergroup(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->usergroup ? null : $this->normalizer->normalize($data->usergroup, 'json', $context); + $dataArray['usergroup'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsergroupsUsersUpdatePostResponsedefaultNormalizer.php b/generated/Normalizer/UsergroupsUsersUpdatePostResponsedefaultNormalizer.php index 65bbb3e7..1b7391d0 100644 --- a/generated/Normalizer/UsergroupsUsersUpdatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsergroupsUsersUpdatePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersConversationsGetResponse200Normalizer.php b/generated/Normalizer/UsersConversationsGetResponse200Normalizer.php index 8158f4a8..714004dc 100644 --- a/generated/Normalizer/UsersConversationsGetResponse200Normalizer.php +++ b/generated/Normalizer/UsersConversationsGetResponse200Normalizer.php @@ -60,24 +60,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a foreach ($data['channels'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsConversation::class, 'json', $context); } - $object->setChannels($values); + $object->channels = $values; unset($data['channels']); - } elseif (\array_key_exists('channels', $data) && null === $data['channels']) { - $object->setChannels(null); + } elseif (\array_key_exists('channels', $data)) { + $object->channels = null; unset($data['channels']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\UsersConversationsGetResponse200ResponseMetadata::class, 'json', $context)); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\UsersConversationsGetResponse200ResponseMetadata::class, 'json', $context); unset($data['response_metadata']); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; unset($data['response_metadata']); } foreach ($data as $key => $value_1) { @@ -93,13 +93,15 @@ public function normalize(mixed $data, ?string $format = null, array $context = { $dataArray = []; $values = []; - foreach ($data->getChannels() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->channels as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['channels'] = $values; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } foreach ($data->additionalPropertyEntries() as $key => $value_1) { if (preg_match('/.*/', (string) $key)) { diff --git a/generated/Normalizer/UsersConversationsGetResponse200ResponseMetadataNormalizer.php b/generated/Normalizer/UsersConversationsGetResponse200ResponseMetadataNormalizer.php index 7e44d374..3763abbb 100644 --- a/generated/Normalizer/UsersConversationsGetResponse200ResponseMetadataNormalizer.php +++ b/generated/Normalizer/UsersConversationsGetResponse200ResponseMetadataNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('next_cursor', $data) && null !== $data['next_cursor']) { - $object->setNextCursor($data['next_cursor']); - } elseif (\array_key_exists('next_cursor', $data) && null === $data['next_cursor']) { - $object->setNextCursor(null); + $object->nextCursor = $data['next_cursor']; + } elseif (\array_key_exists('next_cursor', $data)) { + $object->nextCursor = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['next_cursor'] = $data->getNextCursor(); + $dataArray['next_cursor'] = $data->nextCursor; return $dataArray; } diff --git a/generated/Normalizer/UsersConversationsGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersConversationsGetResponsedefaultNormalizer.php index 78706a70..05827004 100644 --- a/generated/Normalizer/UsersConversationsGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersConversationsGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersDeletePhotoPostResponse200Normalizer.php b/generated/Normalizer/UsersDeletePhotoPostResponse200Normalizer.php index 214f4fe5..4a5db0a3 100644 --- a/generated/Normalizer/UsersDeletePhotoPostResponse200Normalizer.php +++ b/generated/Normalizer/UsersDeletePhotoPostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersDeletePhotoPostResponsedefaultNormalizer.php b/generated/Normalizer/UsersDeletePhotoPostResponsedefaultNormalizer.php index 65d7303c..de82cb92 100644 --- a/generated/Normalizer/UsersDeletePhotoPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersDeletePhotoPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersGetPresenceGetResponse200Normalizer.php b/generated/Normalizer/UsersGetPresenceGetResponse200Normalizer.php index 5941a086..e12b682f 100644 --- a/generated/Normalizer/UsersGetPresenceGetResponse200Normalizer.php +++ b/generated/Normalizer/UsersGetPresenceGetResponse200Normalizer.php @@ -65,52 +65,52 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['online'] = (bool) $data['online']; } if (\array_key_exists('auto_away', $data) && null !== $data['auto_away']) { - $object->setAutoAway($data['auto_away']); + $object->autoAway = $data['auto_away']; unset($data['auto_away']); - } elseif (\array_key_exists('auto_away', $data) && null === $data['auto_away']) { - $object->setAutoAway(null); + } elseif (\array_key_exists('auto_away', $data)) { + $object->autoAway = null; unset($data['auto_away']); } if (\array_key_exists('connection_count', $data) && null !== $data['connection_count']) { - $object->setConnectionCount($data['connection_count']); + $object->connectionCount = $data['connection_count']; unset($data['connection_count']); - } elseif (\array_key_exists('connection_count', $data) && null === $data['connection_count']) { - $object->setConnectionCount(null); + } elseif (\array_key_exists('connection_count', $data)) { + $object->connectionCount = null; unset($data['connection_count']); } if (\array_key_exists('last_activity', $data) && null !== $data['last_activity']) { - $object->setLastActivity($data['last_activity']); + $object->lastActivity = $data['last_activity']; unset($data['last_activity']); - } elseif (\array_key_exists('last_activity', $data) && null === $data['last_activity']) { - $object->setLastActivity(null); + } elseif (\array_key_exists('last_activity', $data)) { + $object->lastActivity = null; unset($data['last_activity']); } if (\array_key_exists('manual_away', $data) && null !== $data['manual_away']) { - $object->setManualAway($data['manual_away']); + $object->manualAway = $data['manual_away']; unset($data['manual_away']); - } elseif (\array_key_exists('manual_away', $data) && null === $data['manual_away']) { - $object->setManualAway(null); + } elseif (\array_key_exists('manual_away', $data)) { + $object->manualAway = null; unset($data['manual_away']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('online', $data) && null !== $data['online']) { - $object->setOnline($data['online']); + $object->online = $data['online']; unset($data['online']); - } elseif (\array_key_exists('online', $data) && null === $data['online']) { - $object->setOnline(null); + } elseif (\array_key_exists('online', $data)) { + $object->online = null; unset($data['online']); } if (\array_key_exists('presence', $data) && null !== $data['presence']) { - $object->setPresence($data['presence']); + $object->presence = $data['presence']; unset($data['presence']); - } elseif (\array_key_exists('presence', $data) && null === $data['presence']) { - $object->setPresence(null); + } elseif (\array_key_exists('presence', $data)) { + $object->presence = null; unset($data['presence']); } foreach ($data as $key => $value) { @@ -125,23 +125,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('autoAway') && null !== $data->getAutoAway()) { - $dataArray['auto_away'] = $data->getAutoAway(); + if (\array_key_exists('autoAway', get_object_vars($data)) && null !== ($data->autoAway ?? null)) { + $dataArray['auto_away'] = $data->autoAway; } - if ($data->isInitialized('connectionCount') && null !== $data->getConnectionCount()) { - $dataArray['connection_count'] = $data->getConnectionCount(); + if (\array_key_exists('connectionCount', get_object_vars($data)) && null !== ($data->connectionCount ?? null)) { + $dataArray['connection_count'] = $data->connectionCount; } - if ($data->isInitialized('lastActivity') && null !== $data->getLastActivity()) { - $dataArray['last_activity'] = $data->getLastActivity(); + if (\array_key_exists('lastActivity', get_object_vars($data)) && null !== ($data->lastActivity ?? null)) { + $dataArray['last_activity'] = $data->lastActivity; } - if ($data->isInitialized('manualAway') && null !== $data->getManualAway()) { - $dataArray['manual_away'] = $data->getManualAway(); + if (\array_key_exists('manualAway', get_object_vars($data)) && null !== ($data->manualAway ?? null)) { + $dataArray['manual_away'] = $data->manualAway; } - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('online') && null !== $data->getOnline()) { - $dataArray['online'] = $data->getOnline(); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('online', get_object_vars($data)) && null !== ($data->online ?? null)) { + $dataArray['online'] = $data->online; } - $dataArray['presence'] = $data->getPresence(); + $dataArray['presence'] = $data->presence; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/UsersGetPresenceGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersGetPresenceGetResponsedefaultNormalizer.php index 5e762c61..f0f3058c 100644 --- a/generated/Normalizer/UsersGetPresenceGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersGetPresenceGetResponsedefaultNormalizer.php @@ -56,17 +56,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); + $object->error = $data['error']; unset($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + } elseif (\array_key_exists('error', $data)) { + $object->error = null; unset($data['error']); } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -81,8 +81,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item0Normalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item0Normalizer.php index b42d28b0..7e10a4b9 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item0Normalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item0Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item0Team::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item0Team::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item0User::class, 'json', $context)); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item0User::class, 'json', $context); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,9 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); - $dataArray['user'] = null === $data->getUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUser(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->user ? null : $this->normalizer->normalize($data->user, 'json', $context); + $dataArray['user'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item0TeamNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item0TeamNormalizer.php index 33f1de0b..610bfcf7 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item0TeamNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item0TeamNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); + $dataArray['id'] = $data->id; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item0UserNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item0UserNormalizer.php index 948c8e8d..acf868c4 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item0UserNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item0UserNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item1Normalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item1Normalizer.php index 2a9e2130..c6a4ba2f 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item1Normalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item1Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item1Team::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item1Team::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item1User::class, 'json', $context)); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item1User::class, 'json', $context); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,9 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); - $dataArray['user'] = null === $data->getUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUser(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->user ? null : $this->normalizer->normalize($data->user, 'json', $context); + $dataArray['user'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item1TeamNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item1TeamNormalizer.php index da5a8a87..b1e5c079 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item1TeamNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item1TeamNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); + $dataArray['id'] = $data->id; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item1UserNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item1UserNormalizer.php index 78288b4e..a9082607 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item1UserNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item1UserNormalizer.php @@ -53,19 +53,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('email', $data) && null !== $data['email']) { - $object->setEmail($data['email']); - } elseif (\array_key_exists('email', $data) && null === $data['email']) { - $object->setEmail(null); + $object->email = $data['email']; + } elseif (\array_key_exists('email', $data)) { + $object->email = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -74,9 +74,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['email'] = $data->getEmail(); - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); + $dataArray['email'] = $data->email; + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item2Normalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item2Normalizer.php index 771d66fa..1c54483a 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item2Normalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item2Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item2Team::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item2Team::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item2User::class, 'json', $context)); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item2User::class, 'json', $context); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,9 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); - $dataArray['user'] = null === $data->getUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUser(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->user ? null : $this->normalizer->normalize($data->user, 'json', $context); + $dataArray['user'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item2TeamNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item2TeamNormalizer.php index 66c6b19e..82e7f317 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item2TeamNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item2TeamNormalizer.php @@ -53,9 +53,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } return $object; @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); + $dataArray['id'] = $data->id; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item2UserNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item2UserNormalizer.php index 037f7131..002ad9b1 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item2UserNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item2UserNormalizer.php @@ -53,44 +53,44 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('image_192', $data) && null !== $data['image_192']) { - $object->setImage192($data['image_192']); - } elseif (\array_key_exists('image_192', $data) && null === $data['image_192']) { - $object->setImage192(null); + $object->image192 = $data['image_192']; + } elseif (\array_key_exists('image_192', $data)) { + $object->image192 = null; } if (\array_key_exists('image_24', $data) && null !== $data['image_24']) { - $object->setImage24($data['image_24']); - } elseif (\array_key_exists('image_24', $data) && null === $data['image_24']) { - $object->setImage24(null); + $object->image24 = $data['image_24']; + } elseif (\array_key_exists('image_24', $data)) { + $object->image24 = null; } if (\array_key_exists('image_32', $data) && null !== $data['image_32']) { - $object->setImage32($data['image_32']); - } elseif (\array_key_exists('image_32', $data) && null === $data['image_32']) { - $object->setImage32(null); + $object->image32 = $data['image_32']; + } elseif (\array_key_exists('image_32', $data)) { + $object->image32 = null; } if (\array_key_exists('image_48', $data) && null !== $data['image_48']) { - $object->setImage48($data['image_48']); - } elseif (\array_key_exists('image_48', $data) && null === $data['image_48']) { - $object->setImage48(null); + $object->image48 = $data['image_48']; + } elseif (\array_key_exists('image_48', $data)) { + $object->image48 = null; } if (\array_key_exists('image_512', $data) && null !== $data['image_512']) { - $object->setImage512($data['image_512']); - } elseif (\array_key_exists('image_512', $data) && null === $data['image_512']) { - $object->setImage512(null); + $object->image512 = $data['image_512']; + } elseif (\array_key_exists('image_512', $data)) { + $object->image512 = null; } if (\array_key_exists('image_72', $data) && null !== $data['image_72']) { - $object->setImage72($data['image_72']); - } elseif (\array_key_exists('image_72', $data) && null === $data['image_72']) { - $object->setImage72(null); + $object->image72 = $data['image_72']; + } elseif (\array_key_exists('image_72', $data)) { + $object->image72 = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -99,14 +99,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); - $dataArray['image_192'] = $data->getImage192(); - $dataArray['image_24'] = $data->getImage24(); - $dataArray['image_32'] = $data->getImage32(); - $dataArray['image_48'] = $data->getImage48(); - $dataArray['image_512'] = $data->getImage512(); - $dataArray['image_72'] = $data->getImage72(); - $dataArray['name'] = $data->getName(); + $dataArray['id'] = $data->id; + $dataArray['image_192'] = $data->image192; + $dataArray['image_24'] = $data->image24; + $dataArray['image_32'] = $data->image32; + $dataArray['image_48'] = $data->image48; + $dataArray['image_512'] = $data->image512; + $dataArray['image_72'] = $data->image72; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item3Normalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item3Normalizer.php index f60345f6..c8a9ecf4 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item3Normalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item3Normalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('team', $data) && null !== $data['team']) { - $object->setTeam($this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item3Team::class, 'json', $context)); - } elseif (\array_key_exists('team', $data) && null === $data['team']) { - $object->setTeam(null); + $object->team = $this->denormalizer->denormalize($data['team'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item3Team::class, 'json', $context); + } elseif (\array_key_exists('team', $data)) { + $object->team = null; } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item3User::class, 'json', $context)); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + $object->user = $this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\UsersIdentityGetResponse200Item3User::class, 'json', $context); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; } return $object; @@ -77,9 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['team'] = null === $data->getTeam() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getTeam(), 'json', $context)); - $dataArray['user'] = null === $data->getUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUser(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->team ? null : $this->normalizer->normalize($data->team, 'json', $context); + $dataArray['team'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $normalized_1 = null === $data->user ? null : $this->normalizer->normalize($data->user, 'json', $context); + $dataArray['user'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item3TeamNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item3TeamNormalizer.php index ef917e73..13e507d2 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item3TeamNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item3TeamNormalizer.php @@ -56,59 +56,59 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['image_default'] = (bool) $data['image_default']; } if (\array_key_exists('domain', $data) && null !== $data['domain']) { - $object->setDomain($data['domain']); - } elseif (\array_key_exists('domain', $data) && null === $data['domain']) { - $object->setDomain(null); + $object->domain = $data['domain']; + } elseif (\array_key_exists('domain', $data)) { + $object->domain = null; } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('image_102', $data) && null !== $data['image_102']) { - $object->setImage102($data['image_102']); - } elseif (\array_key_exists('image_102', $data) && null === $data['image_102']) { - $object->setImage102(null); + $object->image102 = $data['image_102']; + } elseif (\array_key_exists('image_102', $data)) { + $object->image102 = null; } if (\array_key_exists('image_132', $data) && null !== $data['image_132']) { - $object->setImage132($data['image_132']); - } elseif (\array_key_exists('image_132', $data) && null === $data['image_132']) { - $object->setImage132(null); + $object->image132 = $data['image_132']; + } elseif (\array_key_exists('image_132', $data)) { + $object->image132 = null; } if (\array_key_exists('image_230', $data) && null !== $data['image_230']) { - $object->setImage230($data['image_230']); - } elseif (\array_key_exists('image_230', $data) && null === $data['image_230']) { - $object->setImage230(null); + $object->image230 = $data['image_230']; + } elseif (\array_key_exists('image_230', $data)) { + $object->image230 = null; } if (\array_key_exists('image_34', $data) && null !== $data['image_34']) { - $object->setImage34($data['image_34']); - } elseif (\array_key_exists('image_34', $data) && null === $data['image_34']) { - $object->setImage34(null); + $object->image34 = $data['image_34']; + } elseif (\array_key_exists('image_34', $data)) { + $object->image34 = null; } if (\array_key_exists('image_44', $data) && null !== $data['image_44']) { - $object->setImage44($data['image_44']); - } elseif (\array_key_exists('image_44', $data) && null === $data['image_44']) { - $object->setImage44(null); + $object->image44 = $data['image_44']; + } elseif (\array_key_exists('image_44', $data)) { + $object->image44 = null; } if (\array_key_exists('image_68', $data) && null !== $data['image_68']) { - $object->setImage68($data['image_68']); - } elseif (\array_key_exists('image_68', $data) && null === $data['image_68']) { - $object->setImage68(null); + $object->image68 = $data['image_68']; + } elseif (\array_key_exists('image_68', $data)) { + $object->image68 = null; } if (\array_key_exists('image_88', $data) && null !== $data['image_88']) { - $object->setImage88($data['image_88']); - } elseif (\array_key_exists('image_88', $data) && null === $data['image_88']) { - $object->setImage88(null); + $object->image88 = $data['image_88']; + } elseif (\array_key_exists('image_88', $data)) { + $object->image88 = null; } if (\array_key_exists('image_default', $data) && null !== $data['image_default']) { - $object->setImageDefault($data['image_default']); - } elseif (\array_key_exists('image_default', $data) && null === $data['image_default']) { - $object->setImageDefault(null); + $object->imageDefault = $data['image_default']; + } elseif (\array_key_exists('image_default', $data)) { + $object->imageDefault = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -117,17 +117,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['domain'] = $data->getDomain(); - $dataArray['id'] = $data->getId(); - $dataArray['image_102'] = $data->getImage102(); - $dataArray['image_132'] = $data->getImage132(); - $dataArray['image_230'] = $data->getImage230(); - $dataArray['image_34'] = $data->getImage34(); - $dataArray['image_44'] = $data->getImage44(); - $dataArray['image_68'] = $data->getImage68(); - $dataArray['image_88'] = $data->getImage88(); - $dataArray['image_default'] = $data->getImageDefault(); - $dataArray['name'] = $data->getName(); + $dataArray['domain'] = $data->domain; + $dataArray['id'] = $data->id; + $dataArray['image_102'] = $data->image102; + $dataArray['image_132'] = $data->image132; + $dataArray['image_230'] = $data->image230; + $dataArray['image_34'] = $data->image34; + $dataArray['image_44'] = $data->image44; + $dataArray['image_68'] = $data->image68; + $dataArray['image_88'] = $data->image88; + $dataArray['image_default'] = $data->imageDefault; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponse200Item3UserNormalizer.php b/generated/Normalizer/UsersIdentityGetResponse200Item3UserNormalizer.php index 0f9187eb..a59ddafb 100644 --- a/generated/Normalizer/UsersIdentityGetResponse200Item3UserNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponse200Item3UserNormalizer.php @@ -53,14 +53,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('id', $data) && null !== $data['id']) { - $object->setId($data['id']); - } elseif (\array_key_exists('id', $data) && null === $data['id']) { - $object->setId(null); + $object->id = $data['id']; + } elseif (\array_key_exists('id', $data)) { + $object->id = null; } if (\array_key_exists('name', $data) && null !== $data['name']) { - $object->setName($data['name']); - } elseif (\array_key_exists('name', $data) && null === $data['name']) { - $object->setName(null); + $object->name = $data['name']; + } elseif (\array_key_exists('name', $data)) { + $object->name = null; } return $object; @@ -69,8 +69,8 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['id'] = $data->getId(); - $dataArray['name'] = $data->getName(); + $dataArray['id'] = $data->id; + $dataArray['name'] = $data->name; return $dataArray; } diff --git a/generated/Normalizer/UsersIdentityGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersIdentityGetResponsedefaultNormalizer.php index 225e8165..76a34f51 100644 --- a/generated/Normalizer/UsersIdentityGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersIdentityGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersInfoGetResponse200Normalizer.php b/generated/Normalizer/UsersInfoGetResponse200Normalizer.php index 2d61edb9..bc486a16 100644 --- a/generated/Normalizer/UsersInfoGetResponse200Normalizer.php +++ b/generated/Normalizer/UsersInfoGetResponse200Normalizer.php @@ -56,17 +56,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\ObjsUser::class, 'json', $context)); + $object->user = $this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\ObjsUser::class, 'json', $context); unset($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; unset($data['user']); } foreach ($data as $key => $value) { @@ -81,8 +81,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['user'] = null === $data->getUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUser(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->user ? null : $this->normalizer->normalize($data->user, 'json', $context); + $dataArray['user'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/UsersInfoGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersInfoGetResponsedefaultNormalizer.php index 5fbc937b..387236ee 100644 --- a/generated/Normalizer/UsersInfoGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersInfoGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersListGetResponse200Normalizer.php b/generated/Normalizer/UsersListGetResponse200Normalizer.php index 5e17139d..539fc1b9 100644 --- a/generated/Normalizer/UsersListGetResponse200Normalizer.php +++ b/generated/Normalizer/UsersListGetResponse200Normalizer.php @@ -56,28 +56,28 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('cache_ts', $data) && null !== $data['cache_ts']) { - $object->setCacheTs($data['cache_ts']); - } elseif (\array_key_exists('cache_ts', $data) && null === $data['cache_ts']) { - $object->setCacheTs(null); + $object->cacheTs = $data['cache_ts']; + } elseif (\array_key_exists('cache_ts', $data)) { + $object->cacheTs = null; } if (\array_key_exists('members', $data) && null !== $data['members']) { $values = []; foreach ($data['members'] as $value) { $values[] = $this->denormalizer->denormalize($value, \JoliCode\Slack\Api\Model\ObjsUser::class, 'json', $context); } - $object->setMembers($values); - } elseif (\array_key_exists('members', $data) && null === $data['members']) { - $object->setMembers(null); + $object->members = $values; + } elseif (\array_key_exists('members', $data)) { + $object->members = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('response_metadata', $data) && null !== $data['response_metadata']) { - $object->setResponseMetadata($this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ObjsResponseMetadata::class, 'json', $context)); - } elseif (\array_key_exists('response_metadata', $data) && null === $data['response_metadata']) { - $object->setResponseMetadata(null); + $object->responseMetadata = $this->denormalizer->denormalize($data['response_metadata'], \JoliCode\Slack\Api\Model\ObjsResponseMetadata::class, 'json', $context); + } elseif (\array_key_exists('response_metadata', $data)) { + $object->responseMetadata = null; } return $object; @@ -86,15 +86,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['cache_ts'] = $data->getCacheTs(); + $dataArray['cache_ts'] = $data->cacheTs; $values = []; - foreach ($data->getMembers() as $value) { - $values[] = null === $value ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($value, 'json', $context)); + foreach ($data->members as $value) { + $normalized = null === $value ? null : $this->normalizer->normalize($value, 'json', $context); + $values[] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; } $dataArray['members'] = $values; - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('responseMetadata') && null !== $data->getResponseMetadata()) { - $dataArray['response_metadata'] = null === $data->getResponseMetadata() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getResponseMetadata(), 'json', $context)); + $dataArray['ok'] = $data->ok; + if (\array_key_exists('responseMetadata', get_object_vars($data)) && null !== ($data->responseMetadata ?? null)) { + $normalized_1 = $this->normalizer->normalize($data->responseMetadata, 'json', $context); + $dataArray['response_metadata'] = is_iterable($normalized_1) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized_1) : $normalized_1; } return $dataArray; diff --git a/generated/Normalizer/UsersListGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersListGetResponsedefaultNormalizer.php index faa2624c..05719906 100644 --- a/generated/Normalizer/UsersListGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersListGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersLookupByEmailGetResponse200Normalizer.php b/generated/Normalizer/UsersLookupByEmailGetResponse200Normalizer.php index ac82dd3b..4cb1122e 100644 --- a/generated/Normalizer/UsersLookupByEmailGetResponse200Normalizer.php +++ b/generated/Normalizer/UsersLookupByEmailGetResponse200Normalizer.php @@ -56,17 +56,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } if (\array_key_exists('user', $data) && null !== $data['user']) { - $object->setUser($this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\ObjsUser::class, 'json', $context)); + $object->user = $this->denormalizer->denormalize($data['user'], \JoliCode\Slack\Api\Model\ObjsUser::class, 'json', $context); unset($data['user']); - } elseif (\array_key_exists('user', $data) && null === $data['user']) { - $object->setUser(null); + } elseif (\array_key_exists('user', $data)) { + $object->user = null; unset($data['user']); } foreach ($data as $key => $value) { @@ -81,8 +81,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['user'] = null === $data->getUser() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getUser(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->user ? null : $this->normalizer->normalize($data->user, 'json', $context); + $dataArray['user'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/UsersLookupByEmailGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersLookupByEmailGetResponsedefaultNormalizer.php index 2eb994f8..d3b62c32 100644 --- a/generated/Normalizer/UsersLookupByEmailGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersLookupByEmailGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersProfileGetGetResponse200Normalizer.php b/generated/Normalizer/UsersProfileGetGetResponse200Normalizer.php index 18bde92d..38760a92 100644 --- a/generated/Normalizer/UsersProfileGetGetResponse200Normalizer.php +++ b/generated/Normalizer/UsersProfileGetGetResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('profile', $data) && null !== $data['profile']) { - $object->setProfile($this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\ObjsUserProfile::class, 'json', $context)); - } elseif (\array_key_exists('profile', $data) && null === $data['profile']) { - $object->setProfile(null); + $object->profile = $this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\ObjsUserProfile::class, 'json', $context); + } elseif (\array_key_exists('profile', $data)) { + $object->profile = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['profile'] = null === $data->getProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getProfile(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->profile ? null : $this->normalizer->normalize($data->profile, 'json', $context); + $dataArray['profile'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsersProfileGetGetResponsedefaultNormalizer.php b/generated/Normalizer/UsersProfileGetGetResponsedefaultNormalizer.php index 922a3a45..feff0ad3 100644 --- a/generated/Normalizer/UsersProfileGetGetResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersProfileGetGetResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersProfileSetPostResponse200Normalizer.php b/generated/Normalizer/UsersProfileSetPostResponse200Normalizer.php index 46f73cf9..d17696d9 100644 --- a/generated/Normalizer/UsersProfileSetPostResponse200Normalizer.php +++ b/generated/Normalizer/UsersProfileSetPostResponse200Normalizer.php @@ -56,24 +56,24 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('email_pending', $data) && null !== $data['email_pending']) { - $object->setEmailPending($data['email_pending']); - } elseif (\array_key_exists('email_pending', $data) && null === $data['email_pending']) { - $object->setEmailPending(null); + $object->emailPending = $data['email_pending']; + } elseif (\array_key_exists('email_pending', $data)) { + $object->emailPending = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('profile', $data) && null !== $data['profile']) { - $object->setProfile($this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\ObjsUserProfile::class, 'json', $context)); - } elseif (\array_key_exists('profile', $data) && null === $data['profile']) { - $object->setProfile(null); + $object->profile = $this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\ObjsUserProfile::class, 'json', $context); + } elseif (\array_key_exists('profile', $data)) { + $object->profile = null; } if (\array_key_exists('username', $data) && null !== $data['username']) { - $object->setUsername($data['username']); - } elseif (\array_key_exists('username', $data) && null === $data['username']) { - $object->setUsername(null); + $object->username = $data['username']; + } elseif (\array_key_exists('username', $data)) { + $object->username = null; } return $object; @@ -82,12 +82,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('emailPending') && null !== $data->getEmailPending()) { - $dataArray['email_pending'] = $data->getEmailPending(); + if (\array_key_exists('emailPending', get_object_vars($data)) && null !== ($data->emailPending ?? null)) { + $dataArray['email_pending'] = $data->emailPending; } - $dataArray['ok'] = $data->getOk(); - $dataArray['profile'] = null === $data->getProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getProfile(), 'json', $context)); - $dataArray['username'] = $data->getUsername(); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->profile ? null : $this->normalizer->normalize($data->profile, 'json', $context); + $dataArray['profile'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; + $dataArray['username'] = $data->username; return $dataArray; } diff --git a/generated/Normalizer/UsersProfileSetPostResponsedefaultNormalizer.php b/generated/Normalizer/UsersProfileSetPostResponsedefaultNormalizer.php index 8e4e8557..d9381a16 100644 --- a/generated/Normalizer/UsersProfileSetPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersProfileSetPostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersSetActivePostResponse200Normalizer.php b/generated/Normalizer/UsersSetActivePostResponse200Normalizer.php index 437e4050..2e445be7 100644 --- a/generated/Normalizer/UsersSetActivePostResponse200Normalizer.php +++ b/generated/Normalizer/UsersSetActivePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersSetActivePostResponsedefaultNormalizer.php b/generated/Normalizer/UsersSetActivePostResponsedefaultNormalizer.php index 6eb4738f..46d26cd7 100644 --- a/generated/Normalizer/UsersSetActivePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersSetActivePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersSetPhotoPostResponse200Normalizer.php b/generated/Normalizer/UsersSetPhotoPostResponse200Normalizer.php index c5ffad7f..2218b7df 100644 --- a/generated/Normalizer/UsersSetPhotoPostResponse200Normalizer.php +++ b/generated/Normalizer/UsersSetPhotoPostResponse200Normalizer.php @@ -56,14 +56,14 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('profile', $data) && null !== $data['profile']) { - $object->setProfile($this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\UsersSetPhotoPostResponse200Profile::class, 'json', $context)); - } elseif (\array_key_exists('profile', $data) && null === $data['profile']) { - $object->setProfile(null); + $object->profile = $this->denormalizer->denormalize($data['profile'], \JoliCode\Slack\Api\Model\UsersSetPhotoPostResponse200Profile::class, 'json', $context); + } elseif (\array_key_exists('profile', $data)) { + $object->profile = null; } return $object; @@ -72,8 +72,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); - $dataArray['profile'] = null === $data->getProfile() ? null : new \JoliCode\Slack\Api\Runtime\JsonObject($this->normalizer->normalize($data->getProfile(), 'json', $context)); + $dataArray['ok'] = $data->ok; + $normalized = null === $data->profile ? null : $this->normalizer->normalize($data->profile, 'json', $context); + $dataArray['profile'] = is_iterable($normalized) ? new \JoliCode\Slack\Api\Runtime\JsonObject($normalized) : $normalized; return $dataArray; } diff --git a/generated/Normalizer/UsersSetPhotoPostResponse200ProfileNormalizer.php b/generated/Normalizer/UsersSetPhotoPostResponse200ProfileNormalizer.php index ab478b35..71e336bb 100644 --- a/generated/Normalizer/UsersSetPhotoPostResponse200ProfileNormalizer.php +++ b/generated/Normalizer/UsersSetPhotoPostResponse200ProfileNormalizer.php @@ -53,49 +53,49 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return new Reference($data['$recursiveRef'], $context['document-origin']); } if (\array_key_exists('avatar_hash', $data) && null !== $data['avatar_hash']) { - $object->setAvatarHash($data['avatar_hash']); - } elseif (\array_key_exists('avatar_hash', $data) && null === $data['avatar_hash']) { - $object->setAvatarHash(null); + $object->avatarHash = $data['avatar_hash']; + } elseif (\array_key_exists('avatar_hash', $data)) { + $object->avatarHash = null; } if (\array_key_exists('image_1024', $data) && null !== $data['image_1024']) { - $object->setImage1024($data['image_1024']); - } elseif (\array_key_exists('image_1024', $data) && null === $data['image_1024']) { - $object->setImage1024(null); + $object->image1024 = $data['image_1024']; + } elseif (\array_key_exists('image_1024', $data)) { + $object->image1024 = null; } if (\array_key_exists('image_192', $data) && null !== $data['image_192']) { - $object->setImage192($data['image_192']); - } elseif (\array_key_exists('image_192', $data) && null === $data['image_192']) { - $object->setImage192(null); + $object->image192 = $data['image_192']; + } elseif (\array_key_exists('image_192', $data)) { + $object->image192 = null; } if (\array_key_exists('image_24', $data) && null !== $data['image_24']) { - $object->setImage24($data['image_24']); - } elseif (\array_key_exists('image_24', $data) && null === $data['image_24']) { - $object->setImage24(null); + $object->image24 = $data['image_24']; + } elseif (\array_key_exists('image_24', $data)) { + $object->image24 = null; } if (\array_key_exists('image_32', $data) && null !== $data['image_32']) { - $object->setImage32($data['image_32']); - } elseif (\array_key_exists('image_32', $data) && null === $data['image_32']) { - $object->setImage32(null); + $object->image32 = $data['image_32']; + } elseif (\array_key_exists('image_32', $data)) { + $object->image32 = null; } if (\array_key_exists('image_48', $data) && null !== $data['image_48']) { - $object->setImage48($data['image_48']); - } elseif (\array_key_exists('image_48', $data) && null === $data['image_48']) { - $object->setImage48(null); + $object->image48 = $data['image_48']; + } elseif (\array_key_exists('image_48', $data)) { + $object->image48 = null; } if (\array_key_exists('image_512', $data) && null !== $data['image_512']) { - $object->setImage512($data['image_512']); - } elseif (\array_key_exists('image_512', $data) && null === $data['image_512']) { - $object->setImage512(null); + $object->image512 = $data['image_512']; + } elseif (\array_key_exists('image_512', $data)) { + $object->image512 = null; } if (\array_key_exists('image_72', $data) && null !== $data['image_72']) { - $object->setImage72($data['image_72']); - } elseif (\array_key_exists('image_72', $data) && null === $data['image_72']) { - $object->setImage72(null); + $object->image72 = $data['image_72']; + } elseif (\array_key_exists('image_72', $data)) { + $object->image72 = null; } if (\array_key_exists('image_original', $data) && null !== $data['image_original']) { - $object->setImageOriginal($data['image_original']); - } elseif (\array_key_exists('image_original', $data) && null === $data['image_original']) { - $object->setImageOriginal(null); + $object->imageOriginal = $data['image_original']; + } elseif (\array_key_exists('image_original', $data)) { + $object->imageOriginal = null; } return $object; @@ -104,15 +104,15 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['avatar_hash'] = $data->getAvatarHash(); - $dataArray['image_1024'] = $data->getImage1024(); - $dataArray['image_192'] = $data->getImage192(); - $dataArray['image_24'] = $data->getImage24(); - $dataArray['image_32'] = $data->getImage32(); - $dataArray['image_48'] = $data->getImage48(); - $dataArray['image_512'] = $data->getImage512(); - $dataArray['image_72'] = $data->getImage72(); - $dataArray['image_original'] = $data->getImageOriginal(); + $dataArray['avatar_hash'] = $data->avatarHash; + $dataArray['image_1024'] = $data->image1024; + $dataArray['image_192'] = $data->image192; + $dataArray['image_24'] = $data->image24; + $dataArray['image_32'] = $data->image32; + $dataArray['image_48'] = $data->image48; + $dataArray['image_512'] = $data->image512; + $dataArray['image_72'] = $data->image72; + $dataArray['image_original'] = $data->imageOriginal; return $dataArray; } diff --git a/generated/Normalizer/UsersSetPhotoPostResponsedefaultNormalizer.php b/generated/Normalizer/UsersSetPhotoPostResponsedefaultNormalizer.php index dc7f58ad..8c19502e 100644 --- a/generated/Normalizer/UsersSetPhotoPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersSetPhotoPostResponsedefaultNormalizer.php @@ -56,34 +56,34 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('debug_step', $data) && null !== $data['debug_step']) { - $object->setDebugStep($data['debug_step']); - } elseif (\array_key_exists('debug_step', $data) && null === $data['debug_step']) { - $object->setDebugStep(null); + $object->debugStep = $data['debug_step']; + } elseif (\array_key_exists('debug_step', $data)) { + $object->debugStep = null; } if (\array_key_exists('dims', $data) && null !== $data['dims']) { - $object->setDims($data['dims']); - } elseif (\array_key_exists('dims', $data) && null === $data['dims']) { - $object->setDims(null); + $object->dims = $data['dims']; + } elseif (\array_key_exists('dims', $data)) { + $object->dims = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } if (\array_key_exists('time_ident', $data) && null !== $data['time_ident']) { - $object->setTimeIdent($data['time_ident']); - } elseif (\array_key_exists('time_ident', $data) && null === $data['time_ident']) { - $object->setTimeIdent(null); + $object->timeIdent = $data['time_ident']; + } elseif (\array_key_exists('time_ident', $data)) { + $object->timeIdent = null; } return $object; @@ -92,19 +92,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - if ($data->isInitialized('debugStep') && null !== $data->getDebugStep()) { - $dataArray['debug_step'] = $data->getDebugStep(); + if (\array_key_exists('debugStep', get_object_vars($data)) && null !== ($data->debugStep ?? null)) { + $dataArray['debug_step'] = $data->debugStep; } - if ($data->isInitialized('dims') && null !== $data->getDims()) { - $dataArray['dims'] = $data->getDims(); + if (\array_key_exists('dims', get_object_vars($data)) && null !== ($data->dims ?? null)) { + $dataArray['dims'] = $data->dims; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); - if ($data->isInitialized('timeIdent') && null !== $data->getTimeIdent()) { - $dataArray['time_ident'] = $data->getTimeIdent(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; + if (\array_key_exists('timeIdent', get_object_vars($data)) && null !== ($data->timeIdent ?? null)) { + $dataArray['time_ident'] = $data->timeIdent; } return $dataArray; diff --git a/generated/Normalizer/UsersSetPresencePostResponse200Normalizer.php b/generated/Normalizer/UsersSetPresencePostResponse200Normalizer.php index 84ee85b8..a9270874 100644 --- a/generated/Normalizer/UsersSetPresencePostResponse200Normalizer.php +++ b/generated/Normalizer/UsersSetPresencePostResponse200Normalizer.php @@ -56,9 +56,9 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -67,7 +67,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/UsersSetPresencePostResponsedefaultNormalizer.php b/generated/Normalizer/UsersSetPresencePostResponsedefaultNormalizer.php index edbcda57..3787d4dc 100644 --- a/generated/Normalizer/UsersSetPresencePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/UsersSetPresencePostResponsedefaultNormalizer.php @@ -56,19 +56,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('callstack', $data) && null !== $data['callstack']) { - $object->setCallstack($data['callstack']); - } elseif (\array_key_exists('callstack', $data) && null === $data['callstack']) { - $object->setCallstack(null); + $object->callstack = $data['callstack']; + } elseif (\array_key_exists('callstack', $data)) { + $object->callstack = null; } if (\array_key_exists('error', $data) && null !== $data['error']) { - $object->setError($data['error']); - } elseif (\array_key_exists('error', $data) && null === $data['error']) { - $object->setError(null); + $object->error = $data['error']; + } elseif (\array_key_exists('error', $data)) { + $object->error = null; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + $object->ok = $data['ok']; + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; } return $object; @@ -77,11 +77,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - if ($data->isInitialized('callstack') && null !== $data->getCallstack()) { - $dataArray['callstack'] = $data->getCallstack(); + if (\array_key_exists('callstack', get_object_vars($data)) && null !== ($data->callstack ?? null)) { + $dataArray['callstack'] = $data->callstack; } - $dataArray['error'] = $data->getError(); - $dataArray['ok'] = $data->getOk(); + $dataArray['error'] = $data->error; + $dataArray['ok'] = $data->ok; return $dataArray; } diff --git a/generated/Normalizer/ViewsOpenPostResponse200Normalizer.php b/generated/Normalizer/ViewsOpenPostResponse200Normalizer.php index 30341631..4ffae1d1 100644 --- a/generated/Normalizer/ViewsOpenPostResponse200Normalizer.php +++ b/generated/Normalizer/ViewsOpenPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsOpenPostResponsedefaultNormalizer.php b/generated/Normalizer/ViewsOpenPostResponsedefaultNormalizer.php index 692256c9..7e4f6e9f 100644 --- a/generated/Normalizer/ViewsOpenPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ViewsOpenPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsPublishPostResponse200Normalizer.php b/generated/Normalizer/ViewsPublishPostResponse200Normalizer.php index 591238af..e36707d9 100644 --- a/generated/Normalizer/ViewsPublishPostResponse200Normalizer.php +++ b/generated/Normalizer/ViewsPublishPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsPublishPostResponsedefaultNormalizer.php b/generated/Normalizer/ViewsPublishPostResponsedefaultNormalizer.php index db987be3..807b7a4a 100644 --- a/generated/Normalizer/ViewsPublishPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ViewsPublishPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsPushPostResponse200Normalizer.php b/generated/Normalizer/ViewsPushPostResponse200Normalizer.php index 0708f6c8..e6ee5af1 100644 --- a/generated/Normalizer/ViewsPushPostResponse200Normalizer.php +++ b/generated/Normalizer/ViewsPushPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsPushPostResponsedefaultNormalizer.php b/generated/Normalizer/ViewsPushPostResponsedefaultNormalizer.php index 1517830b..f28812ef 100644 --- a/generated/Normalizer/ViewsPushPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ViewsPushPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsUpdatePostResponse200Normalizer.php b/generated/Normalizer/ViewsUpdatePostResponse200Normalizer.php index 3a7cb77f..d30665c8 100644 --- a/generated/Normalizer/ViewsUpdatePostResponse200Normalizer.php +++ b/generated/Normalizer/ViewsUpdatePostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/ViewsUpdatePostResponsedefaultNormalizer.php b/generated/Normalizer/ViewsUpdatePostResponsedefaultNormalizer.php index 372b4c79..3838a026 100644 --- a/generated/Normalizer/ViewsUpdatePostResponsedefaultNormalizer.php +++ b/generated/Normalizer/ViewsUpdatePostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/WorkflowsStepCompletedPostResponse200Normalizer.php b/generated/Normalizer/WorkflowsStepCompletedPostResponse200Normalizer.php index eea0d729..c8afad6e 100644 --- a/generated/Normalizer/WorkflowsStepCompletedPostResponse200Normalizer.php +++ b/generated/Normalizer/WorkflowsStepCompletedPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/WorkflowsStepCompletedPostResponsedefaultNormalizer.php b/generated/Normalizer/WorkflowsStepCompletedPostResponsedefaultNormalizer.php index 16bc3830..739b83e9 100644 --- a/generated/Normalizer/WorkflowsStepCompletedPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/WorkflowsStepCompletedPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/WorkflowsStepFailedPostResponse200Normalizer.php b/generated/Normalizer/WorkflowsStepFailedPostResponse200Normalizer.php index 670ebc0d..2eeae0b9 100644 --- a/generated/Normalizer/WorkflowsStepFailedPostResponse200Normalizer.php +++ b/generated/Normalizer/WorkflowsStepFailedPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/WorkflowsStepFailedPostResponsedefaultNormalizer.php b/generated/Normalizer/WorkflowsStepFailedPostResponsedefaultNormalizer.php index 811582cb..930aa5fd 100644 --- a/generated/Normalizer/WorkflowsStepFailedPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/WorkflowsStepFailedPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/WorkflowsUpdateStepPostResponse200Normalizer.php b/generated/Normalizer/WorkflowsUpdateStepPostResponse200Normalizer.php index e9912d2f..07f5dfd9 100644 --- a/generated/Normalizer/WorkflowsUpdateStepPostResponse200Normalizer.php +++ b/generated/Normalizer/WorkflowsUpdateStepPostResponse200Normalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Normalizer/WorkflowsUpdateStepPostResponsedefaultNormalizer.php b/generated/Normalizer/WorkflowsUpdateStepPostResponsedefaultNormalizer.php index c8c9c943..2ab301c1 100644 --- a/generated/Normalizer/WorkflowsUpdateStepPostResponsedefaultNormalizer.php +++ b/generated/Normalizer/WorkflowsUpdateStepPostResponsedefaultNormalizer.php @@ -56,10 +56,10 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $data['ok'] = (bool) $data['ok']; } if (\array_key_exists('ok', $data) && null !== $data['ok']) { - $object->setOk($data['ok']); + $object->ok = $data['ok']; unset($data['ok']); - } elseif (\array_key_exists('ok', $data) && null === $data['ok']) { - $object->setOk(null); + } elseif (\array_key_exists('ok', $data)) { + $object->ok = null; unset($data['ok']); } foreach ($data as $key => $value) { @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a public function normalize(mixed $data, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null { $dataArray = []; - $dataArray['ok'] = $data->getOk(); + $dataArray['ok'] = $data->ok; foreach ($data->additionalPropertyEntries() as $key => $value) { if (preg_match('/.*/', (string) $key)) { $dataArray[$key] = $value; diff --git a/generated/Runtime/AdditionalAndPatternProperties.php b/generated/Runtime/AdditionalAndPatternProperties.php index d4cc5229..195ee410 100644 --- a/generated/Runtime/AdditionalAndPatternProperties.php +++ b/generated/Runtime/AdditionalAndPatternProperties.php @@ -18,7 +18,7 @@ trait AdditionalAndPatternProperties private array $extraProperties = []; /** - * @return array + * @return array PHP property name => serialized (wire) name */ public function definedProperties(): array { @@ -27,9 +27,9 @@ public function definedProperties(): array public function offsetExists(mixed $offset): bool { - foreach ($this->definedProperties() as $phpName => $definition) { - if ($definition[0] === $offset) { - return $this->isInitialized($phpName) || null !== $this->{$phpName}; + foreach ($this->definedProperties() as $phpName => $wireName) { + if ($wireName === $offset) { + return \array_key_exists($phpName, get_object_vars($this)) || null !== ($this->{$phpName} ?? null); } } @@ -38,9 +38,9 @@ public function offsetExists(mixed $offset): bool public function offsetGet(mixed $offset): mixed { - foreach ($this->definedProperties() as $definition) { - if ($definition[0] === $offset) { - return $this->{$definition[1]}(); + foreach ($this->definedProperties() as $phpName => $wireName) { + if ($wireName === $offset) { + return $this->{$phpName} ?? null; } } @@ -49,9 +49,9 @@ public function offsetGet(mixed $offset): mixed public function offsetSet(mixed $offset, mixed $value): void { - foreach ($this->definedProperties() as $definition) { - if ($definition[0] === $offset) { - $this->{$definition[2]}($value); + foreach ($this->definedProperties() as $phpName => $wireName) { + if ($wireName === $offset) { + $this->{$phpName} = $value; return; } @@ -61,9 +61,9 @@ public function offsetSet(mixed $offset, mixed $value): void public function offsetUnset(mixed $offset): void { - foreach ($this->definedProperties() as $definition) { - if ($definition[0] === $offset) { - $this->{$definition[2]}(null); + foreach ($this->definedProperties() as $phpName => $wireName) { + if ($wireName === $offset) { + $this->{$phpName} = null; return; } @@ -86,15 +86,19 @@ public function getIterator(): \ArrayIterator */ public function toArray(): array { + $publicProperties = get_object_vars($this); $values = []; - foreach ($this->definedProperties() as $phpName => $definition) { - $value = $this->{$phpName}; - if ($this->isInitialized($phpName) || null !== $value) { - $values[$definition[0]] = $value; + foreach ($this->definedProperties() as $phpName => $wireName) { + if ('extraProperties' === $phpName) { + continue; + } + $value = $this->{$phpName} ?? null; + if (\array_key_exists($phpName, $publicProperties) || null !== $value) { + $values[$wireName] = $value; } } - return array_merge($values, $this->extraProperties); + return $values + $this->extraProperties; } public function getArrayCopy(): array @@ -110,8 +114,6 @@ public function additionalPropertyEntries(): \Iterator public function jsonSerialize(): mixed { $values = $this->toArray(); - // An empty PHP array would encode as [], so hand out an empty object instead, - // keeping json_encode consistent with every other JSON object payload. if ([] === $values) { return new \stdClass(); } diff --git a/generated/Runtime/Client/BaseEndpoint.php b/generated/Runtime/Client/BaseEndpoint.php index afbe9999..7f4f0c57 100644 --- a/generated/Runtime/Client/BaseEndpoint.php +++ b/generated/Runtime/Client/BaseEndpoint.php @@ -13,10 +13,10 @@ namespace JoliCode\Slack\Api\Runtime\Client; -use Http\Message\MultipartStream\MultipartStreamBuilder; -use Psr\Http\Message\ResponseInterface; +use Jane\Component\OpenApiRuntime\Client\MultipartStreamBuilder; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Serializer\SerializerInterface; +use Symfony\Contracts\HttpClient\ResponseInterface; abstract class BaseEndpoint implements Endpoint { @@ -27,7 +27,7 @@ abstract class BaseEndpoint implements Endpoint abstract public function getMethod(): string; - abstract public function getBody(SerializerInterface $serializer, $streamFactory = null): array; + abstract public function getBody(SerializerInterface $serializer): array; abstract public function getUri(): string; @@ -50,6 +50,11 @@ public function getQueryString(): string continue; } + // Unset optional parameters resolve to null, which is sent as an + // empty value ("?foo=") rather than being dropped: this keeps the + // emitted query string stable regardless of whether an optional + // parameter was provided. Parameters declaring an OpenAPI query + // style skip this mapping (see the $styles branch above). $value ??= ''; $allowReservedKey = \in_array($key, $allowReserved, true); $queryParameters[] = $this->encodeValue($key, $value, $allowReservedKey); @@ -77,6 +82,9 @@ public function getHeaders(array $baseHeaders = []): array return array_merge($this->getExtraHeaders(), $baseHeaders, $headersResolver->resolve($headerParameters)); } + /** + * Transform the response body into a value. + */ abstract protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null); protected function getExtraHeaders(): array @@ -121,15 +129,15 @@ protected function getFormBody(): array return [['Content-Type' => ['application/x-www-form-urlencoded']], http_build_query($this->getFormOptionsResolver()->resolve($this->formParameters))]; } - protected function getMultipartBody($streamFactory = null): array + protected function getMultipartBody(): array { - $bodyBuilder = new MultipartStreamBuilder($streamFactory); + $bodyBuilder = new MultipartStreamBuilder(); $formParameters = $this->getFormOptionsResolver()->resolve($this->formParameters); foreach ($formParameters as $key => $value) { $bodyBuilder->addResource($key, $value); } - return [['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '"')]], $bodyBuilder->build()]; + return [['Content-Type' => ['multipart/form-data; boundary="' . $bodyBuilder->getBoundary() . '"']], $bodyBuilder->build()]; } protected function getFormOptionsResolver(): OptionsResolver @@ -137,6 +145,41 @@ protected function getFormOptionsResolver(): OptionsResolver return new OptionsResolver(); } + /** + * Deserialize a list-typed response body. + * + * Generated endpoints deserialize list responses through a class-string + * with an array suffix (e.g. 'Acme\Item[]'): no static analyser maps + * that string back to the documented array shape, and + * the serializer interfaces promise returned values beyond `mixed` at + * best. The deserialization is delegated here so the generated return + * statement carries a statically verifiable array type; the helper + * requires the serializer to yield an iterable or array for list types + * (iterator_to_array throws a TypeError otherwise, failing loudly on a + * misconfigured serializer instead of leaking an unexpected shape). + */ + protected function deserializeListResponse(SerializerInterface $serializer, string $body, string $type, string $format = 'json'): array + { + return iterator_to_array($serializer->deserialize($body, $type, $format)); + } + + /** + * Normalize a form or multipart body. + * + * Generated form/multipart bodies normalize their payload through the + * serializer, whose normalize() method lives on NormalizerInterface + * (SerializerInterface does not promise it): delegating here lets the + * runtime check the capability once and statically narrow the call. + */ + protected function normalizeBody(SerializerInterface $serializer, mixed $body) + { + if (!$serializer instanceof \Symfony\Component\Serializer\Normalizer\NormalizerInterface) { + throw new \RuntimeException('The serializer used by this endpoint must support normalization.'); + } + + return $serializer->normalize($body, 'json'); + } + protected function getSerializedBody(SerializerInterface $serializer): array { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; diff --git a/generated/Runtime/Client/Client.php b/generated/Runtime/Client/Client.php index ffd8104b..6e12f23a 100644 --- a/generated/Runtime/Client/Client.php +++ b/generated/Runtime/Client/Client.php @@ -13,77 +13,115 @@ namespace JoliCode\Slack\Api\Runtime\Client; +use Jane\Component\OpenApiRuntime\Client\FetchMode; +use Jane\Component\OpenApiRuntime\Client\GhostFactory; use Jane\Component\OpenApiRuntime\Client\Plugin\AuthenticationRegistry; -use Psr\Http\Client\ClientInterface; -use Psr\Http\Message\RequestFactoryInterface; -use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\StreamFactoryInterface; -use Psr\Http\Message\StreamInterface; use Symfony\Component\Serializer\SerializerInterface; +use Symfony\Contracts\HttpClient\HttpClientInterface; +use Symfony\Contracts\HttpClient\ResponseInterface; +use Symfony\Contracts\HttpClient\ResponseStreamInterface; abstract class Client { - public const FETCH_RESPONSE = 'response'; - public const FETCH_OBJECT = 'object'; - protected ClientInterface $httpClient; - protected RequestFactoryInterface $requestFactory; - protected SerializerInterface $serializer; - protected StreamFactoryInterface $streamFactory; + /** + * Final: the generated Client::create() instantiates `new static(...)` + * with exactly these two arguments, which is only safe when no subclass + * can change the signature. + */ + final public function __construct(protected readonly HttpClientInterface $httpClient, protected readonly SerializerInterface $serializer) + { + } - public function __construct(ClientInterface $httpClient, RequestFactoryInterface $requestFactory, SerializerInterface $serializer, StreamFactoryInterface $streamFactory) + /** + * Execute the endpoint according to its fetch mode: + * + * - eager: blocking request + parse, returns the parsed value (historical + * behavior, also used by every mutating verb); + * - preload: the request is registered immediately and travels via the + * first access of the returned proxy; + * - lazy: nothing is sent until the proxy is first accessed, where the + * request is sent and parsed through the endpoint's own status-code + * mapping. + * + * The returned value is a lazy ghost proxy of the endpoint's target model + * class: reading any property triggers the request + parse and copies the + * parsed model's properties onto the proxy. Endpoints whose success + * response is not a single generated model (JSON arrays and maps, scalar + * bodies, multi-content-type responses...) are not ghostable: their mode + * degrades to the eager behavior. + */ + public function executeEndpoint(Endpoint $endpoint): mixed { - $this->httpClient = $httpClient; - $this->requestFactory = $requestFactory; - $this->serializer = $serializer; - $this->streamFactory = $streamFactory; + return match ($endpoint->getFetchMode()) { + FetchMode::Eager->value => $endpoint->parseResponse($this->processEndpoint($endpoint), $this->serializer), + FetchMode::Preload->value, FetchMode::Lazy->value => $this->executeDeferredEndpoint($endpoint), + default => $endpoint->parseResponse($this->processEndpoint($endpoint), $this->serializer), + }; } - public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_OBJECT) + public function executeRawEndpoint(Endpoint $endpoint): ResponseInterface { - if (self::FETCH_RESPONSE === $fetch) { - trigger_deprecation('jane-php/open-api-common', '7.3', 'Using %s::%s method with $fetch parameter equals to response is deprecated, use %s::%s instead.', __CLASS__, __METHOD__, __CLASS__, 'executeRawEndpoint'); + return $this->processEndpoint($endpoint); + } - return $this->executeRawEndpoint($endpoint); + /** + * Drive a batch of in-flight responses concurrently: every request of the + * client progresses on each tick of the returned stream. + * + * Ghost proxies are not streamable: build responses with + * executeRawEndpoint() to batch them. + * + * @param iterable|ResponseInterface $responses + */ + public function stream(iterable|ResponseInterface $responses, ?float $timeout = null): ResponseStreamInterface + { + if ($responses instanceof ResponseInterface) { + $responses = [$responses]; } - return $endpoint->parseResponse($this->processEndpoint($endpoint), $this->serializer, $fetch); + return $this->httpClient->stream($responses, $timeout); } - public function executeRawEndpoint(Endpoint $endpoint): ResponseInterface + private function executeDeferredEndpoint(Endpoint $endpoint): mixed { - return $this->processEndpoint($endpoint); + $targetClass = GhostFactory::canCreate() ? $endpoint->getTargetClass() : null; + if (null === $targetClass) { + return $endpoint->parseResponse($this->processEndpoint($endpoint), $this->serializer); + } + // preload registers the request immediately (the transfer still + // progresses at the first tick); for lazy this closure runs on first + // access of the proxy only. + $response = FetchMode::Preload->value === $endpoint->getFetchMode() ? $this->processEndpoint($endpoint) : null; + + return GhostFactory::create($targetClass, fn (): mixed => $endpoint->parseResponse($response ?? $this->processEndpoint($endpoint), $this->serializer)); } private function processEndpoint(Endpoint $endpoint): ResponseInterface { - [$bodyHeaders, $body] = $endpoint->getBody($this->serializer, $this->streamFactory); + [$bodyHeaders, $body] = $endpoint->getBody($this->serializer); $queryString = $endpoint->getQueryString(); $uriGlue = !str_contains($endpoint->getUri(), '?') ? '?' : '&'; $uri = '' !== $queryString ? $endpoint->getUri() . $uriGlue . $queryString : $endpoint->getUri(); - $request = $this->requestFactory->createRequest($endpoint->getMethod(), $uri); + $headers = []; + foreach ($endpoint->getHeaders($bodyHeaders) as $name => $value) { + $headers[$name] = !\is_bool($value) ? $value : ($value ? 'true' : 'false'); + } + $options = ['headers' => $headers]; if ($body) { - if ($body instanceof StreamInterface) { - $request = $request->withBody($body); - } elseif (\is_resource($body)) { - $request = $request->withBody($this->streamFactory->createStreamFromResource($body)); - } elseif (\strlen($body) <= 4000 && @file_exists($body)) { + if (\is_resource($body)) { + $options['body'] = $body; + } elseif (\is_string($body) && \strlen($body) <= 4000 && @file_exists($body)) { // more than 4096 chars will trigger an error - $request = $request->withBody($this->streamFactory->createStreamFromFile($body)); + $options['body'] = fopen($body, 'r'); } else { - $request = $request->withBody($this->streamFactory->createStream($body)); + $options['body'] = $body; } } - foreach ($endpoint->getHeaders($bodyHeaders) as $name => $value) { - $request = $request->withHeader($name, !\is_bool($value) ? $value : ($value ? 'true' : 'false')); - } - if (\count($endpoint->getAuthenticationScopes()) > 0) { - $scopes = []; - foreach ($endpoint->getAuthenticationScopes() as $scope) { - $scopes[] = $scope; - } - $request = $request->withHeader(AuthenticationRegistry::SCOPES_HEADER, $scopes); + $authenticationScopes = $endpoint->getAuthenticationScopes(); + if ([] !== $authenticationScopes) { + $options['extra'][AuthenticationRegistry::SCOPES_OPTION] = $authenticationScopes; } - return $this->httpClient->sendRequest($request); + return $this->httpClient->request($endpoint->getMethod(), $uri, $options); } } diff --git a/generated/Runtime/Client/Endpoint.php b/generated/Runtime/Client/Endpoint.php index 7600dc7e..26b10265 100644 --- a/generated/Runtime/Client/Endpoint.php +++ b/generated/Runtime/Client/Endpoint.php @@ -13,8 +13,8 @@ namespace JoliCode\Slack\Api\Runtime\Client; -use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; +use Symfony\Contracts\HttpClient\ResponseInterface; interface Endpoint { @@ -24,7 +24,7 @@ interface Endpoint * Return value consist of an array where the first item will be a list of headers to add on the request (like the Content Type) * And the second value consist of the body object. */ - public function getBody(SerializerInterface $serializer, $streamFactory = null): array; + public function getBody(SerializerInterface $serializer): array; /** * Get the query string of an endpoint without the starting ? (like foo=foo&bar=bar). @@ -41,6 +41,20 @@ public function getUri(): string; */ public function getMethod(): string; + /** + * Get the fetch mode of the endpoint: a FetchMode value ('lazy' by default + * on GET/HEAD operations, 'eager' on every other verb). + */ + public function getFetchMode(): string; + + /** + * The generated model class faked by the lazy ghost proxy for the endpoint's + * success response, or null when the response is not a single generated + * model (JSON arrays and maps, scalar bodies, multi-content-type + * responses...): deferred fetch modes degrade to the eager behavior then. + */ + public function getTargetClass(): ?string; + /** * Get the headers of an endpoint. */ @@ -52,9 +66,9 @@ public function getHeaders(array $baseHeaders = []): array; public function getAuthenticationScopes(): array; /** - * Parse and transform a PSR7 Response into a different object. + * Parse and transform an HTTP response into a different object. * - * Implementations may vary depending the status code of the response and the fetch mode used. + * Implementations may vary depending on the status code of the response. */ - public function parseResponse(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT); + public function parseResponse(ResponseInterface $response, SerializerInterface $serializer); } diff --git a/generated/Runtime/Client/EndpointTrait.php b/generated/Runtime/Client/EndpointTrait.php index a8020661..8ec99334 100644 --- a/generated/Runtime/Client/EndpointTrait.php +++ b/generated/Runtime/Client/EndpointTrait.php @@ -13,17 +13,20 @@ namespace JoliCode\Slack\Api\Runtime\Client; -use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; +use Symfony\Contracts\HttpClient\ResponseInterface; trait EndpointTrait { - public function parseResponse(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) + public function parseResponse(ResponseInterface $response, SerializerInterface $serializer) { - $contentType = $response->hasHeader('Content-Type') ? current($response->getHeader('Content-Type')) : null; + $contentType = $response->getHeaders(false)['content-type'][0] ?? null; return $this->transformResponseBody($response, $serializer, $contentType); } + /** + * Transform the response body into a value. + */ abstract protected function transformResponseBody(ResponseInterface $response, SerializerInterface $serializer, ?string $contentType = null); } diff --git a/generated/Runtime/Client/FormEncoder.php b/generated/Runtime/Client/FormEncoder.php index 792e73c4..a3d50f64 100644 --- a/generated/Runtime/Client/FormEncoder.php +++ b/generated/Runtime/Client/FormEncoder.php @@ -36,6 +36,7 @@ public function encode(mixed $data, string $format, array $context = []): string public function decode(string $data, string $format, array $context = []): mixed { + $result = []; parse_str($data, $result); return $result; diff --git a/generated/Runtime/Normalizer/CheckArray.php b/generated/Runtime/Normalizer/CheckArray.php index 76f2be82..cb81e0c3 100644 --- a/generated/Runtime/Normalizer/CheckArray.php +++ b/generated/Runtime/Normalizer/CheckArray.php @@ -17,8 +17,6 @@ trait CheckArray { public function isOnlyNumericKeys(array $array): bool { - return \count(array_filter($array, static function ($key) { - return is_numeric($key); - }, \ARRAY_FILTER_USE_KEY)) === \count($array); + return \count(array_filter($array, static fn ($key): bool => is_numeric($key), \ARRAY_FILTER_USE_KEY)) === \count($array); } } diff --git a/src/Checker/SchemaChecker.php b/src/Checker/SchemaChecker.php index 02319a6b..9f2182e3 100644 --- a/src/Checker/SchemaChecker.php +++ b/src/Checker/SchemaChecker.php @@ -82,7 +82,7 @@ public function check(string $schemaPath): array if ('error' === $property && 'enum' === $error->keyword() && isset($error->keywordArgs()['expected'])) { // We know some endpoint miss description at the moment and does not even define the error field. - // But because error are handled by JoliCode\Slack\HttpPlugin\SlackErrorPlugin, we don't care too much here + // But because error are handled by JoliCode\Slack\Http\SlackErrorHttpClient, we don't care too much here continue; } diff --git a/src/Client.php b/src/Client.php index 630dbad1..5a277357 100644 --- a/src/Client.php +++ b/src/Client.php @@ -13,7 +13,6 @@ namespace JoliCode\Slack; -use Http\Discovery\Psr17FactoryDiscovery; use JoliCode\Slack\Api\Client as ApiClient; use JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponse200; use JoliCode\Slack\Api\Model\FilesCompleteUploadExternalPostResponsedefault; @@ -21,8 +20,7 @@ use JoliCode\Slack\Api\Model\ObjsMessage; use JoliCode\Slack\Api\Model\ObjsSubteam; use JoliCode\Slack\Api\Model\ObjsUser; -use Nyholm\Psr7\Stream; -use Psr\Http\Client\ClientExceptionInterface; +use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; /** * @method iterable iterateConversationsHistory(array $arguments = []) @@ -62,7 +60,7 @@ public function __call(string $name, $arguments) public function iterate(string $method, array $arguments): iterable { - $getter = 'get' . self::CURSOR_PAGINATION[$method]; + $property = self::CURSOR_PAGINATION[$method]; $arguments[0] ??= []; $arguments[0]['limit'] ??= 1000; @@ -74,11 +72,11 @@ public function iterate(string $method, array $arguments): iterable $response = $this->{$method}(...$arguments); - foreach ($response->{$getter}() as $item) { + foreach ($response->{$property} ?? [] as $item) { yield $item; } - $cursor = $response->getResponseMetadata() ? $response->getResponseMetadata()->getNextCursor() : ''; + $cursor = ($response->responseMetadata ?? null)?->nextCursor ?? ''; } while (!empty($cursor)); } @@ -101,9 +99,9 @@ public function iterate(string $method, array $arguments): iterable * @param string|null $initialComment optional comment to add with the upload * @param string|null $threadTs optional thread_ts (Slack thread timestamp) to attach the upload to a thread * - * @throws \RuntimeException if upload or Slack API interaction fails + * @throws \RuntimeException if upload or Slack API interaction fails * @throws \JsonException - * @throws ClientExceptionInterface + * @throws TransportExceptionInterface * * @example * $this->filesUploadV2([ @@ -116,7 +114,7 @@ public function filesUploadV2( string $channelId, ?string $initialComment = null, ?string $threadTs = null, - ): FilesCompleteUploadExternalPostResponsedefault|FilesCompleteUploadExternalPostResponse200|null { + ): FilesCompleteUploadExternalPostResponsedefault|FilesCompleteUploadExternalPostResponse200 { $filesPayload = []; foreach ($files as $file) { @@ -126,8 +124,11 @@ public function filesUploadV2( $altText = $file['alt_text'] ?? null; $snippetType = $file['snippet_type'] ?? null; - $fileStream = Stream::create(fopen($filePath, 'r')); - $fileSize = $fileStream->getSize(); + $fileSize = filesize($filePath); + + if (false === $fileSize) { + throw new \RuntimeException("Could not read the file {$filePath}"); + } // Step 1: Get upload URL from Slack $queryParams = array_filter( @@ -140,14 +141,14 @@ public function filesUploadV2( ); $uploadInfo = $this->filesGetUploadUrlExternal($queryParams); - $uploadUrl = $uploadInfo?->getUploadUrl(); - $fileId = $uploadInfo?->getFileId(); + $uploadUrl = $uploadInfo?->uploadUrl; + $fileId = $uploadInfo?->fileId; if (null === $uploadUrl || null === $fileId) { throw new \RuntimeException("Slack did not return upload URL or file ID for {$fileName}"); } - // Step 2: Upload file data using cURL + // Step 2: Upload file data $this->uploadToSlackUrl($uploadUrl, $filePath); // Step 3: Build file metadata @@ -170,27 +171,28 @@ public function filesUploadV2( ); } - public function filesUpload(array $formParameters = [], string $fetch = ApiClient::FETCH_OBJECT): void + public function filesUpload(array $formParameters = []): void { throw new \RuntimeException("Method 'filesUpload' is not supported by Slack anymore. Use 'filesUploadV2' instead."); } /** - * @throws ClientExceptionInterface + * @throws TransportExceptionInterface */ private function uploadToSlackUrl(string $uploadUrl, string $filePath): void { - $uriFactory = Psr17FactoryDiscovery::findUriFactory(); - $uri = $uriFactory->createUri($uploadUrl); + $resource = fopen($filePath, 'r'); + + if (false === $resource) { + throw new \RuntimeException("Could not read the file {$filePath}"); + } - $stream = $this->streamFactory->createStreamFromFile($filePath); - $request = $this->requestFactory->createRequest('POST', $uri); - $request = $request->withBody($stream); + $response = $this->httpClient->request('POST', $uploadUrl, [ + 'body' => $resource, + ]); - $response = $this->httpClient->sendRequest($request); - $responseStatusCode = $response->getStatusCode(); - if ($responseStatusCode >= 400) { - throw new \RuntimeException(\sprintf('Upload failed: %s - %s', $response->getStatusCode(), $response->getBody())); + if ($response->getStatusCode() >= 400) { + throw new \RuntimeException(\sprintf('Upload failed: %s - %s', $response->getStatusCode(), $response->getContent(false))); } } } diff --git a/src/ClientFactory.php b/src/ClientFactory.php index 16ced8aa..49ebcd3b 100644 --- a/src/ClientFactory.php +++ b/src/ClientFactory.php @@ -13,40 +13,28 @@ namespace JoliCode\Slack; -use Http\Client\Common\Plugin\ErrorPlugin; -use Http\Client\Common\Plugin\HeaderAppendPlugin; -use Http\Client\Common\PluginClient; -use Http\Discovery\Psr17FactoryDiscovery; -use Http\Discovery\Psr18ClientDiscovery; -use JoliCode\Slack\HttpPlugin\AddSlackPathAndHostPlugin; -use JoliCode\Slack\HttpPlugin\SlackErrorPlugin; -use Psr\Http\Client\ClientInterface; +use Jane\Component\OpenApiRuntime\Client\Plugin\AuthenticationRegistry; +use JoliCode\Slack\Http\SlackAuthentication; +use JoliCode\Slack\Http\SlackErrorHttpClient; +use Symfony\Component\HttpClient\HttpClient; +use Symfony\Contracts\HttpClient\HttpClientInterface; class ClientFactory { - public static function create(string $token, ?ClientInterface $httpClient = null): Client + public static function create(string $token, ?HttpClientInterface $httpClient = null): Client { - // Find a default HTTP client if none provided if (null === $httpClient) { - $httpClient = Psr18ClientDiscovery::find(); + $httpClient = HttpClient::create(); } - // Decorates the HTTP client with some plugins - $uri = Psr17FactoryDiscovery::findUriFactory()->createUri('https://slack.com/api'); - $pluginClient = new PluginClient($httpClient, [ - new ErrorPlugin(), - new SlackErrorPlugin(), - new AddSlackPathAndHostPlugin($uri), - new HeaderAppendPlugin([ - 'Authorization' => 'Bearer ' . $token, - ]), + // The server URL (host + "/api" base path) is applied by the generated + // Client itself through Jane's ServerUrlHttpClient decorator, so any + // relative endpoint URI like "/api.test" is resolved to + // "https://slack.com/api/api.test". Absolute URLs (e.g. file uploads on + // "https://files.slack.com") are forwarded untouched. + return Client::create($httpClient, [ + new AuthenticationRegistry([new SlackAuthentication($token)]), + new SlackErrorHttpClient(), ]); - - // Instantiate our client extending the one generated by Jane. - // Host and path are handled by AddSlackPathAndHostPlugin above, so the - // server plugins generated by Jane must not be applied on top: their - // AddPathPlugin skips the `/api` prefix for the `api.test` endpoint - // because its path already starts with `/api`. - return Client::create($pluginClient, applyServerPlugins: false); } } diff --git a/src/Http/SlackAuthentication.php b/src/Http/SlackAuthentication.php new file mode 100644 index 00000000..55f98b63 --- /dev/null +++ b/src/Http/SlackAuthentication.php @@ -0,0 +1,40 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Http; + +use Jane\Component\OpenApiRuntime\Client\AuthenticationPlugin; + +/** + * Adds the "Authorization: Bearer " header expected by the Slack Web + * API. The Slack OpenAPI specification declares the "slackAuth" security + * scheme on every operation, so the generated endpoints hand this plugin + * their scopes through Jane's AuthenticationRegistry. + */ +final class SlackAuthentication implements AuthenticationPlugin +{ + public function __construct( + private readonly string $token, + ) { + } + + public function decorate(string $method, string $url, array &$options): void + { + $options['headers']['Authorization'] = 'Bearer ' . $this->token; + } + + public function getScope(): string + { + return 'slackAuth'; + } +} diff --git a/src/Http/SlackErrorAwareResponse.php b/src/Http/SlackErrorAwareResponse.php new file mode 100644 index 00000000..02349ed3 --- /dev/null +++ b/src/Http/SlackErrorAwareResponse.php @@ -0,0 +1,95 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Http; + +use JoliCode\Slack\Exception\SlackErrorResponse; +use Symfony\Contracts\HttpClient\ResponseInterface; + +/** + * Response decorator checking the Slack "ok" payload on first content read. + * + * @see SlackErrorHttpClient for the rationale: Slack reports most of its + * errors with a 2xx status and a JSON body such as {"ok": false, "error": ...}. + */ +final class SlackErrorAwareResponse implements ResponseInterface +{ + public function __construct( + private readonly ResponseInterface $response, + ) { + } + + public function getStatusCode(): int + { + return $this->response->getStatusCode(); + } + + public function getHeaders(bool $throw = true): array + { + return $this->response->getHeaders($throw); + } + + public function getContent(bool $throw = true): string + { + return $this->assertNoSlackError($this->response->getContent($throw)); + } + + public function toArray(bool $throw = true): array + { + $data = $this->response->toArray($throw); + + $this->throwOnSlackPayload($data); + + return $data; + } + + public function cancel(): void + { + $this->response->cancel(); + } + + public function getInfo(?string $type = null): mixed + { + return $this->response->getInfo($type); + } + + private function assertNoSlackError(string $content): string + { + $data = json_decode($content, true); + + if (\is_array($data) && [] !== $data) { + $this->throwOnSlackPayload($data); + } + + return $content; + } + + /** + * Reproduces the check of the historical HTTPlug SlackErrorPlugin: a + * non-empty payload is an error unless "ok" is true without any "error" + * key. Otherwise the response content is forwarded untouched. + * + * @param array $data + */ + private function throwOnSlackPayload(array $data): void + { + if (isset($data['ok']) && $data['ok'] && empty($data['error'])) { + return; + } + + $responseMetadata = $data['response_metadata'] ?? null; + $error = $data['error'] ?? ''; + + throw new SlackErrorResponse(\is_string($error) ? $error : '', \is_array($responseMetadata) ? $responseMetadata : null); + } +} diff --git a/src/Http/SlackErrorHttpClient.php b/src/Http/SlackErrorHttpClient.php new file mode 100644 index 00000000..617609be --- /dev/null +++ b/src/Http/SlackErrorHttpClient.php @@ -0,0 +1,62 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace JoliCode\Slack\Http; + +use Symfony\Contracts\HttpClient\HttpClientInterface; +use Symfony\Contracts\HttpClient\ResponseInterface; +use Symfony\Contracts\HttpClient\ResponseStreamInterface; + +/** + * Decorator turning the "ok" payload errors returned by the Slack Web API + * (a 2xx response with a body like {"ok": false, "error": "..."}) into a + * {@see SlackErrorResponse} exception. + * + * The body is inspected lazily, when the response is first read: this + * keeps the deferred fetch modes (lazy / preload) working. + */ +final class SlackErrorHttpClient implements HttpClientInterface +{ + public function __construct( + private readonly ?HttpClientInterface $httpClient = null, + ) { + } + + /** + * Decorator factory: apply this decorator on top of an HttpClientInterface. + */ + public function __invoke(HttpClientInterface $httpClient): self + { + return new self($httpClient); + } + + public function request(string $method, string $url, array $options = []): ResponseInterface + { + return new SlackErrorAwareResponse($this->inner()->request($method, $url, $options)); + } + + public function stream(ResponseInterface|iterable $responses, ?float $timeout = null): ResponseStreamInterface + { + return $this->inner()->stream($responses, $timeout); + } + + public function withOptions(array $options): static + { + return new self($this->inner()->withOptions($options)); + } + + private function inner(): HttpClientInterface + { + return $this->httpClient ?? throw new \LogicException(\sprintf('The "%s" decorator must be applied to a "%s" (via its __invoke method) before use.', self::class, HttpClientInterface::class)); + } +} diff --git a/src/HttpPlugin/AddSlackPathAndHostPlugin.php b/src/HttpPlugin/AddSlackPathAndHostPlugin.php deleted file mode 100644 index f0d405dc..00000000 --- a/src/HttpPlugin/AddSlackPathAndHostPlugin.php +++ /dev/null @@ -1,61 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace JoliCode\Slack\HttpPlugin; - -use Http\Client\Common\Plugin; -use Http\Promise\Promise; -use Psr\Http\Message\RequestInterface; -use Psr\Http\Message\UriInterface; - -class AddSlackPathAndHostPlugin implements Plugin -{ - /** - * @var UriInterface - */ - private $uri; - - public function __construct(UriInterface $uri) - { - if ('' === $uri->getHost()) { - throw new \LogicException('Host can not be empty'); - } - - if ('' === $uri->getPath()) { - throw new \LogicException('URI path cannot be empty'); - } - - if ('/' === substr($uri->getPath(), -1)) { - $uri = $uri->withPath(rtrim($uri->getPath(), '/')); - } - - $this->uri = $uri; - } - - public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise - { - if ($this->uri->getHost() !== $request->getUri()->getHost() - && 'files.slack.com' !== $request->getUri()->getHost()) { - $uri = $request->getUri() - ->withHost($this->uri->getHost()) - ->withScheme($this->uri->getScheme()) - ->withPort($this->uri->getPort()) - ->withPath($this->uri->getPath() . $request->getUri()->getPath()) - ; - - $request = $request->withUri($uri); - } - - return $next($request); - } -} diff --git a/src/HttpPlugin/SlackErrorPlugin.php b/src/HttpPlugin/SlackErrorPlugin.php deleted file mode 100644 index 26da3287..00000000 --- a/src/HttpPlugin/SlackErrorPlugin.php +++ /dev/null @@ -1,44 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace JoliCode\Slack\HttpPlugin; - -use Http\Client\Common\Plugin; -use Http\Promise\Promise; -use JoliCode\Slack\Exception\SlackErrorResponse; -use Psr\Http\Message\RequestInterface; -use Psr\Http\Message\ResponseInterface; - -class SlackErrorPlugin implements Plugin -{ - public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise - { - $promise = $next($request); - - return $promise->then(static function (ResponseInterface $response) { - $body = $response->getBody()->getContents(); - $data = json_decode($body, true); - - if (empty($data) || (isset($data['ok']) && $data['ok'] && empty($data['error']))) { - return $response; - } - - $responseMetadata = null; - if (isset($data['response_metadata'])) { - $responseMetadata = $data['response_metadata']; - } - - throw new SlackErrorResponse($data['error'], $responseMetadata); - }); - } -} diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 27894204..a764ce5e 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -26,7 +26,7 @@ public function testItWorksOnTestSuccess(): void $response = $client->apiTest(); self::assertInstanceOf(ApiTestGetResponse200::class, $response); - self::assertTrue($response->getOk()); + self::assertTrue($response->ok); } public function testItThrowsExceptionOnTestError(): void diff --git a/tests/ClientTest.php b/tests/ClientTest.php index ca1f8896..b8cf43b1 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -58,8 +58,7 @@ public function testAllCursorPaginationMethodExists(): void { $client = $this->createClient(); - foreach (Client::CURSOR_PAGINATION as $methodName => $getterMethod) { - $getterMethod = 'get' . $getterMethod; + foreach (Client::CURSOR_PAGINATION as $methodName => $propertyName) { $method = lcfirst(str_replace('iterate', '', $methodName)); if ($_SERVER['CI'] ?? false) { @@ -69,8 +68,8 @@ public function testAllCursorPaginationMethodExists(): void $responseFromMethod = $client->{$method}($this->argumentsForCursorPaginationRequest($method, $client)); self::assertTrue( - method_exists($responseFromMethod, $getterMethod), - \sprintf('Expected that response from %s would contain method %s', $method, $getterMethod) + property_exists($responseFromMethod, $propertyName), + \sprintf('Expected that response from %s would contain property %s', $method, $propertyName) ); } } @@ -100,11 +99,13 @@ private function findLastThreadTsInChannel(Client $client): string $messages = $client->conversationsHistory([ 'channel' => $_SERVER['SLACK_TEST_CHANNEL'], 'limit' => 100, - ])->getMessages(); + ])->messages ?? []; foreach ($messages as $message) { - if (\is_string($message->getThreadTs()) && $message->getThreadTs() === $message->getTs()) { - return $message->getThreadTs(); + $threadTs = $message->threadTs ?? null; + + if (\is_string($threadTs) && $threadTs === $message->ts) { + return $threadTs; } } @@ -113,9 +114,8 @@ private function findLastThreadTsInChannel(Client $client): string private function findLastFileIdInChannel(Client $client): string { - return $client->filesList(['channel' => $_SERVER['SLACK_TEST_CHANNEL']]) - ->getFiles()[0] - ?->getId() ?? throw new \RuntimeException('Unable to find file in your test channel') + return ($client->filesList(['channel' => $_SERVER['SLACK_TEST_CHANNEL']])->files ?? [])[0] + ?->id ?? throw new \RuntimeException('Unable to find file in your test channel') ; } } diff --git a/tests/ReadingTest.php b/tests/ReadingTest.php index 15909017..9b717741 100644 --- a/tests/ReadingTest.php +++ b/tests/ReadingTest.php @@ -30,9 +30,9 @@ public function testItWorksOnUserListWithCorrectToken(): void $response = $client->usersList(); self::assertInstanceOf(UsersListGetResponse200::class, $response); - self::assertTrue($response->getOk()); + self::assertTrue($response->ok); - self::assertGreaterThan(2, \count($response->getMembers())); + self::assertGreaterThan(2, \count($response->members)); } public function testItThrowsExceptionOnUserListWithoutToken(): void @@ -57,15 +57,15 @@ public function testItCanReadAConversationHistory(): void self::assertInstanceOf(ConversationsHistoryGetResponse200::class, $results); $hadAFileMessage = false; - foreach ($results->getMessages() as $message) { - if ($message->getFiles()) { + foreach ($results->messages ?? [] as $message) { + if ($message->files ?? null) { $hadAFileMessage = true; - self::assertInstanceOf(ObjsFile::class, $message->getFiles()[0]); + self::assertInstanceOf(ObjsFile::class, $message->files[0]); if (method_exists($this, 'assertIsString')) { - self::assertIsString($message->getTs()); + self::assertIsString($message->ts); } else { - self::assertInternalType('string', $message->getTs()); + self::assertInternalType('string', $message->ts); } } } @@ -80,7 +80,7 @@ public function testItCanGetTheImList(): void $results = $client->conversationsList(['types' => 'im']); self::assertInstanceOf(ConversationsListGetResponse200::class, $results); - self::assertNotEmpty($results->getChannels()); + self::assertNotEmpty($results->channels); } public function testItCanReadConversationsAndHydrateThem(): void @@ -92,11 +92,11 @@ public function testItCanReadConversationsAndHydrateThem(): void 'limit' => 2, ]); - $this->assertTrue($response->getOk()); + $this->assertTrue($response->ok); $this->assertInstanceOf(ConversationsListGetResponse200::class, $response); - $this->assertNotEmpty($response->getChannels()); + $this->assertNotEmpty($response->channels); - foreach ($response->getChannels() as $channel) { + foreach ($response->channels as $channel) { $this->assertInstanceOf(ObjsConversation::class, $channel); } } @@ -110,12 +110,12 @@ public function testItCanGetConversationLocale(): void 'include_locale' => true, ]); - $this->assertTrue($response->getOk()); + $this->assertTrue($response->ok); - $channel = $response->getChannel(); + $channel = $response->channel; $this->assertInstanceOf(ObjsConversation::class, $channel); - $this->assertNotNull($channel->getLocale()); + $this->assertNotNull($channel->locale); } public function testItCanSearchMessages(): void @@ -129,6 +129,6 @@ public function testItCanSearchMessages(): void ]); self::assertInstanceOf(SearchMessagesGetResponse200::class, $results); - self::assertTrue($results->getOk()); + self::assertTrue($results->ok); } } diff --git a/tests/UserInfoTest.php b/tests/UserInfoTest.php index 0774f207..7308f5bf 100644 --- a/tests/UserInfoTest.php +++ b/tests/UserInfoTest.php @@ -25,10 +25,10 @@ public function testItCanFetchUserInfo(): void $response = $client->usersList(['limit' => 2]); $this->assertInstanceOf(UsersListGetResponse200::class, $response); - $this->assertTrue($response->getOk()); - $this->assertNotEmpty($response->getMembers()); + $this->assertTrue($response->ok); + $this->assertNotEmpty($response->members); - foreach ($response->getMembers() as $member) { + foreach ($response->members ?? [] as $member) { $this->assertNotInstanceOf(\stdClass::class, $member); } } diff --git a/tests/WritingTest.php b/tests/WritingTest.php index 1ad0cad8..be5014df 100644 --- a/tests/WritingTest.php +++ b/tests/WritingTest.php @@ -16,7 +16,6 @@ use JoliCode\Slack\Api\Model\ChatPostMessagePostResponse200; use JoliCode\Slack\Api\Model\FilesGetUploadURLExternalPostResponse200; use JoliCode\Slack\Api\Model\FilesUploadPostResponse200; -use Nyholm\Psr7\Stream; class WritingTest extends SlackTokenDependentTest { @@ -37,9 +36,9 @@ public function testItCanPostAttachment(): void self::assertInstanceOf(ChatPostMessagePostResponse200::class, $response); if (method_exists($this, 'assertStringContainsString')) { - self::assertStringContainsString($response->getMessage()->getAttachments()[0]->getImageUrl(), 'https://jolicode.com/images/valeurs_huma.png'); + self::assertStringContainsString($response->message->attachments[0]->imageUrl, 'https://jolicode.com/images/valeurs_huma.png'); } else { - self::assertContains($response->getMessage()->getAttachments()[0]->getImageUrl(), 'https://jolicode.com/images/valeurs_huma.png'); + self::assertContains($response->message->attachments[0]->imageUrl, 'https://jolicode.com/images/valeurs_huma.png'); } } @@ -75,7 +74,7 @@ public function testItCanPostMessageWithBlock(): void ]); self::assertInstanceOf(ChatPostMessagePostResponse200::class, $response); - self::assertNotEmpty($response->getMessage()->getBlocks()); + self::assertNotEmpty($response->message->blocks); } public function testItCanPostAMessageAndThenAThreadResponse(): void @@ -97,10 +96,10 @@ public function testItCanPostAMessageAndThenAThreadResponse(): void 'username' => 'User B', 'channel' => $_SERVER['SLACK_TEST_CHANNEL'], 'text' => 'First response in a Thread', - 'thread_ts' => $response->getMessage()->getTs(), + 'thread_ts' => $response->message->ts, ]); - $this->assertTrue($response2->getOk()); + $this->assertTrue($response2->ok); } public function testItCanUploadFile(): void @@ -116,7 +115,7 @@ public function testItCanUploadFile(): void 'filename' => 'test-image.png', 'initial_comment' => 'This is a initial_comment in a filesUpload', 'filetype' => 'png', - 'file' => Stream::create(fopen(__DIR__ . '/resources/test-image.png', 'r')), + 'file' => fopen(__DIR__ . '/resources/test-image.png', 'r'), ]); } @@ -131,7 +130,7 @@ public function testScheduleMessage(): void 'post_at' => $futureTs, ]); - $this->assertTrue($response->getOk()); + $this->assertTrue($response->ok); } public function testItCanMarkConversation(): void @@ -146,7 +145,7 @@ public function testItCanMarkConversation(): void self::assertInstanceOf(ChatPostMessagePostResponse200::class, $response); - $ts = $response->getTs(); + $ts = $response->ts; if ($_SERVER['CI'] ?? false) { sleep(10); // @see https://github.com/jolicode/slack-php-api/issues/163 @@ -157,7 +156,7 @@ public function testItCanMarkConversation(): void 'ts' => $ts, ]); - self::assertTrue($markResponse->getOk()); + self::assertTrue($markResponse->ok); } public function testItCanFileGetUploadUrlExternal(): void @@ -165,8 +164,7 @@ public function testItCanFileGetUploadUrlExternal(): void $client = $this->createClient(); $fileName = 'test-image.png'; $filePath = __DIR__ . '/resources/' . $fileName; - $fileStream = Stream::create(fopen($filePath, 'r')); - $fileSize = $fileStream->getSize(); + $fileSize = filesize($filePath); $threadTs = $_SERVER['SLACK_TEST_THREAD_TS'] ?? null; $response = $client->filesGetUploadUrlExternal( @@ -177,17 +175,17 @@ public function testItCanFileGetUploadUrlExternal(): void ); self::assertInstanceOf(FilesGetUploadURLExternalPostResponse200::class, $response); - self::assertTrue($response->getOk()); - self::assertNotEmpty($response->getUploadUrl()); - self::assertIsString($response->getUploadUrl()); - self::assertNotEmpty($response->getFileId()); - self::assertIsString($response->getFileId()); + self::assertTrue($response->ok); + self::assertNotEmpty($response->uploadUrl); + self::assertIsString($response->uploadUrl); + self::assertNotEmpty($response->fileId); + self::assertIsString($response->fileId); $uploadResponse = $client->filesUploadV2([ ['path' => $filePath, 'title' => 'Test image', 'alt_text' => 'Test image'], ], $_SERVER['SLACK_TEST_CHANNEL'], 'Uploaded with the 2025 API.', $threadTs); - self::assertTrue($uploadResponse->getOk()); + self::assertTrue($uploadResponse->ok); } public function testItCanFileCompleteUploadExternal(): void @@ -195,8 +193,7 @@ public function testItCanFileCompleteUploadExternal(): void $client = $this->createClient(); $fileName = 'test-image.png'; $filePath = __DIR__ . '/resources/' . $fileName; - $fileStream = Stream::create(fopen($filePath, 'r')); - $fileSize = $fileStream->getSize(); + $fileSize = filesize($filePath); $response = $client->filesGetUploadUrlExternal( [ @@ -206,19 +203,19 @@ public function testItCanFileCompleteUploadExternal(): void ); self::assertInstanceOf(FilesGetUploadURLExternalPostResponse200::class, $response); - self::assertTrue($response->getOk()); - self::assertNotEmpty($response->getUploadUrl()); - self::assertIsString($response->getUploadUrl()); - self::assertNotEmpty($response->getFileId()); - self::assertIsString($response->getFileId()); + self::assertTrue($response->ok); + self::assertNotEmpty($response->uploadUrl); + self::assertIsString($response->uploadUrl); + self::assertNotEmpty($response->fileId); + self::assertIsString($response->fileId); - $uploadUrl = $response->getUploadUrl(); - $fileId = $response->getFileId(); + $uploadUrl = $response->uploadUrl; + $fileId = $response->fileId; // Step 2: Upload file data to the URL $ch = curl_init($uploadUrl); curl_setopt($ch, \CURLOPT_POST, true); - curl_setopt($ch, \CURLOPT_POSTFIELDS, $fileStream); + curl_setopt($ch, \CURLOPT_POSTFIELDS, file_get_contents($filePath)); curl_setopt($ch, \CURLOPT_RETURNTRANSFER, true); curl_exec($ch); @@ -236,8 +233,8 @@ public function testItCanFileCompleteUploadExternal(): void ] ); - self::assertTrue($completeResponse->getOk()); - self::assertNotEmpty($completeResponse->getFiles()); + self::assertTrue($completeResponse->ok); + self::assertNotEmpty($completeResponse->files); } public function testItCanUploadFilesViaFilesUploadV2(): void @@ -263,8 +260,8 @@ public function testItCanUploadFilesViaFilesUploadV2(): void 'test initial comment' ); - self::assertTrue($response->getOk()); - self::assertNotEmpty($response->getFiles()); - self::assertCount(2, $response->getFiles()); + self::assertTrue($response->ok); + self::assertNotEmpty($response->files); + self::assertCount(2, $response->files); } } From 6396f701c6f65b1e31117456cc060714e2d8f3b9 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Mon, 5 Oct 2026 12:42:35 +0000 Subject: [PATCH 2/3] docs: Update the README quick start to public property access JanePHP 8 generates models with public natively typed properties instead of getters, like the rest of the documentation already shows. Co-authored-by: damienalexandre --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01ef09ff..7f372223 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ composer require jolicode/slack-php-api // $client contains all the methods to interact with the API $client = JoliCode\Slack\ClientFactory::create($yourSlackToken); -$user = $client->usersInfo(['user' => 'U123AZER'])->getUser(); +$user = $client->usersInfo(['user' => 'U123AZER'])->user; ``` ## Documentation From 7386d268b3506f4312be576eba7fbc0cfdf00400 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Mon, 5 Oct 2026 15:26:46 +0000 Subject: [PATCH 3/3] docs: Take a fresh screenshot of a model dump The model-sample image showed a User dump from 2021 with the old protected property access. Take a new dump of ObjsUser matching the JanePHP 8 API, in which properties are public and natively typed. --- docs/images/model-sample.png | Bin 122555 -> 226995 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/docs/images/model-sample.png b/docs/images/model-sample.png index c8b686589b6a240fe976546e91a3a8493b7a795a..82ba83ac2550d9623f3148f76256c999232ad78e 100644 GIT binary patch literal 226995 zcmV*6Ky$x|P)G677Z(-^7Yhd$7$gb|6(boX86qYZBo`$j8VL#rB_t*a7$p}O zGZ-Z`2O2a8BPS*(G$s`XHYFDXCq^_G6($P<1tm9DW^hY$ja!eO4>3$BGdV^{R!>)F zC^klShL1KmMsRqCX;)2&cy3NH5ie702n-}MZ;uN!WHd)kIYw41GffgSFPmvrZcHvV z76W&7cSlA?H#Rp{R#%UXkEf=mhlhs;8b%LBR1i*XCr2gGHhcMB?v|r0j+gQZZZ!q6)Q3_EKgEVP)IaqXJ?p~mp_`hGK#J;c)%45Gb)Cm z9cGk9CIrfPNoFVlZIfL1ev9;rJSX%rJ0U~cd(9Zo?jtG2>_CrreIPWRu=%b zx3@()H*armuWv9lDJGI>GIK}|wTVv!CIkdF0=UM|`}_Ot<=6=|6cjcGb*N};sZmUj zF?P6TG*T}&BL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